Results 1 to 4 of 4

Thread: Can't Boot Without USB Stick Plugged In

  1. #1
    Join Date
    Jul 2006
    Beans
    92
    Distro
    Ubuntu 10.04 Lucid Lynx

    Can't Boot Without USB Stick Plugged In

    I installed Intrepid using unetbootin from a USB stick.

    For some reason it installed the boot loader onto the USB stick so I can't boot without having the USB stick plugged in because there is no boot loader on my hard drive.

    How do I put the boot loader onto my hard drive so I don't have to have the USB stick plugged in to boot?
    --
    Ubuntu 10.10 |
    AMD Phenom II X2 555 Black Edition Callisto 3.2GHz C3 | http://foxcub.net/

  2. #2
    Join Date
    Feb 2007
    Location
    Maryland, USA
    Beans
    3,396
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Can't Boot Without USB Stick Plugged In

    What you probably did is install the grub stage1 to the hard disk MBR, but with the configuration that it gets its stage2 and menu from the USB stick.

    Do you want to boot grub from the hard disk, or from the USB stick only?

  3. #3
    Join Date
    Jul 2006
    Beans
    92
    Distro
    Ubuntu 10.04 Lucid Lynx

    Unhappy Re: Can't Boot Without USB Stick Plugged In

    Quote Originally Posted by dstew View Post
    What you probably did is install the grub stage1 to the hard disk MBR, but with the configuration that it gets its stage2 and menu from the USB stick.

    Do you want to boot grub from the hard disk, or from the USB stick only?
    I want to boot from the hard drive.

    I tried using Grub to setup the disk but it does not work.

    Disk 2 partition 1 is where Ubuntu is installed:

    Code:
    grub> root (hd2,1)
    root (hd2,1)
    
    Error 21: Selected disk does not exist
    I can't get a list of disks as Grub sees them because in order to list devices in Grub you're supposed to press the TAB key after typing:

    Code:
    root (
    ...However, pressing tab on Ubuntu X64 systems just makes the cursor move right rather than suggestion completions for the command as it's supposed to.
    --
    Ubuntu 10.10 |
    AMD Phenom II X2 555 Black Edition Callisto 3.2GHz C3 | http://foxcub.net/

  4. #4
    Join Date
    Jul 2006
    Beans
    92
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Can't Boot Without USB Stick Plugged In

    I fixed it myself.

    First I discovered that hd2 that was being referred to at boot was the USB stick, since drives are numbered starting with 0.

    Then I setup Grub to use hd1,0 as the boot device because that is the hard drive where I have Ubuntu installed.

    Finally, I used fdisk to set the bootable flag on the partition.
    --
    Ubuntu 10.10 |
    AMD Phenom II X2 555 Black Edition Callisto 3.2GHz C3 | http://foxcub.net/

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •