The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Booting Linux without the dual boot?

    Discussion in 'Linux Compatibility and Software' started by Tailic, Mar 26, 2008.

  1. Tailic

    Tailic Notebook Deity

    Reputations:
    78
    Messages:
    775
    Likes Received:
    0
    Trophy Points:
    30
    One thing that really been bugging me is being forced to select either windows or linux every time I wanted to use my laptop. Up to the point that I would prefer to just run Linux as a VM appliance in Vista business. But lately I was thinking about booting Linux off a usb drive.... yet I would want to keep everything else on a partition within my T61's and only insert the usb drive when I want my machine to boot linux.

    Damn Small seems like a good choice but it seems like its made to run off the usb drive itself rather then installing to the hd. I would like it to just load the boot files from the usb drive and let the rest of the system come from the hard drive.

    I just don't want to see grub or any boot loader for longer then a 5 seconds at the most.

    Nuking Vista all together did come to my mind but I need the Cisco software at my school to use the wireless connection next semester.
     
  2. nizzy1115

    nizzy1115 Notebook Prophet

    Reputations:
    2,557
    Messages:
    6,682
    Likes Received:
    1
    Trophy Points:
    205
    You can set the time grub stays open. Default of mine (Fedora 8 is 3 seconds).
     
  3. vallaird

    vallaird Notebook Consultant

    Reputations:
    1
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    30
    Open the Grub conf file (/boot/grub/grub.conf) and look for the timeout=10 line and you can change the number (ex : timeout=2) so it waits for 2 seconds before loading the default OS. You can also choose which OS it boots by default in this file.
     
  4. Fittersman

    Fittersman Wanna trade?

    Reputations:
    225
    Messages:
    1,306
    Likes Received:
    0
    Trophy Points:
    55
    just so you know, ubuntu is different, it uses /boot/grub/menu.lst NOT /boot/grub/grub.conf (i noticed you have ubuntu on your machine. I think ubuntu is the only one that uses menu.lst instead of grub.conf however)

    not sure how good you are with linux so ill elaborate a bit:
    1) open terminal
    2) type in 'sudo nano /boot/grub/menu.lst' (this is assuming you have ubuntu, otherwise try grub.conf instead of menu.lst)
    3) locate this line:
    Code:
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout         5
    
    and change the 5 to however long you would like the grub menu to stay up before choosing the OS to boot.


    Another option would be to install grub boot loader onto the usb stick and then set the boot sequence in your BIOS to boot off of removable drives first. This might involve some configuration, so post if you run into problems.
     
  5. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Or, just go to Synaptic and download Startup Manager, and graphically set the boot to whatever and however you want.
     
  6. v1k1ng1001

    v1k1ng1001 Notebook Deity

    Reputations:
    239
    Messages:
    738
    Likes Received:
    0
    Trophy Points:
    30
    In ubuntu you can just install QGRUBEditor via synaptic.

    It appears under applications-->System Tools-->QGRUBEditor

    You can use it to set how long Grub will wait for user input.
     
  7. Tailic

    Tailic Notebook Deity

    Reputations:
    78
    Messages:
    775
    Likes Received:
    0
    Trophy Points:
    30
    Ok, I'll try that, I just need to reinstall it on my laptop since I wasn't sure what I was going to do.

    I think I'm going to try out Mint on my laptop, I really liked the way the gui was set up when I took it on a test drive on my spare desktop. Since it uses the same packages as Ubuntu it should also be the same?

    Also, will QGRUBeditor take care of old entries from kernel updates? That was one annoyance I had with grub.
     
  8. Fittersman

    Fittersman Wanna trade?

    Reputations:
    225
    Messages:
    1,306
    Likes Received:
    0
    Trophy Points:
    55
    that way isnt as fun though :)
     
  9. Tailic

    Tailic Notebook Deity

    Reputations:
    78
    Messages:
    775
    Likes Received:
    0
    Trophy Points:
    30
    Maybe I'll do it by nano after all... I'm getting better at linux now that I've been reading about the shell commands :)

    I assume the same file would let me modify any older kernel entries? The thing I always hated about grub was it would show 4 or 5 different kernels after awhile. But I'll see how to set windows as default so it wouldn't accidentally boot into Linux while I'm in the middle of class :rolleyes: Maybe that'll fix the multiple entry annoyance.
     
  10. Fittersman

    Fittersman Wanna trade?

    Reputations:
    225
    Messages:
    1,306
    Likes Received:
    0
    Trophy Points:
    55
    yeah, grub is highly customizable. I wouldnt recommend deleting hte entries for the other kernels, just comment them out using a # at the start of the line. Also, DONT get rid of recovery mode, that comes in handy alot (if you like to play with things like i do :p). And, yes you can set windows to boot by default. Remember that it starts counting at 0, so if your grub menu looks like this:

    linux (0)
    recovery (1)
    memtest (2)
    xp (3)

    it is actually entry 3, not 4 as you might think. :)
     
  11. Tailic

    Tailic Notebook Deity

    Reputations:
    78
    Messages:
    775
    Likes Received:
    0
    Trophy Points:
    30
    Gotta love stuff that starts at zero :)

    Anyways, wifi didn't work off the bat like I thought it would, so I have to make that my first priority. Gotta love how even the user friendliest versions of Linux can still throw you a curve ball :p I kinda thought it would work right away because I thought Ubuntu did it before. Gonna go on Thinkwiki and mess with it.

    After wifi I'll get back to grub and see if I can get it to the way I would like it. I also noticed that Mint has a customized grub screen that has a green leaf where Ubuntu just has a plain text screen.
     
  12. swarmer

    swarmer beep beep

    Reputations:
    2,071
    Messages:
    5,234
    Likes Received:
    0
    Trophy Points:
    205
    Once you edit menu.lst (in Ubuntu), do you have to do anything to make the new boot configuration active? Like, do you have to run some command to update the boot sector or whatever it's called?
     
  13. Fittersman

    Fittersman Wanna trade?

    Reputations:
    225
    Messages:
    1,306
    Likes Received:
    0
    Trophy Points:
    55
    no, grub is stored directly on the linux partition. So once you save the file, the changes you made will take place immediately.
     
  14. swarmer

    swarmer beep beep

    Reputations:
    2,071
    Messages:
    5,234
    Likes Received:
    0
    Trophy Points:
    205
    ok... thanks!

    Wait...
    You mean grub is stored directly on the boot partition... right?

    Or maybe you mean my computer knows somehow to boot from the Linux partition... ok that's it, right? I get it.

    At least I don't have to run anything. :)
     
  15. Fittersman

    Fittersman Wanna trade?

    Reputations:
    225
    Messages:
    1,306
    Likes Received:
    0
    Trophy Points:
    55
    well, since under linux there is a separate /boot directory where the grub files are stored im guessing there is just a pointer in the MBR that points to the /boot directory on your linux partition.

    thats why if you delete your linux partitions without first fixing the MBR you wont be able to boot anything :)

    if that helps? ;)
     
  16. Tailic

    Tailic Notebook Deity

    Reputations:
    78
    Messages:
    775
    Likes Received:
    0
    Trophy Points:
    30
    I think I have everything set up the way I like it. I just need to change some boot/splash screens and I'll be ready to go!

    Has anyone used or heard anything about the GFXgrub bootloader? I was eying it on my synaptic package manager but I decided to hold off on it until I hear what you guys have to say about it.

    I used a combo of editing with nano and the startupmanager in synaptic. I was going to edit both by nano until I realized I didn't know what part of the text to change in the file. So I just used the manager but later I found a how-to on editing grub after looking up the graphic version of grub GFXgrub. :p

    GFXgrub looks mighty fine I might say.

    Thanks for the info guys.