Results 1 to 8 of 8

Thread: Can't boot from USB after install?

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    Australia
    Beans
    732
    Distro
    Ubuntu 12.04 Precise Pangolin

    Can't boot from USB after install?

    Hi,

    I installed LVM to USB,
    200MB /boot
    15GB /
    15gb /home
    1gb swap

    During install I selected "dont install grub" since I'll be using the USB somewhere else.

    In my laptop I hold F12 and select the USB and get a black screen with a cursor.

    If I install from dash "Startup Disk Creator" the USB boots.

    What do I need to do to boot correctly?

    Thanks

  2. #2
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't boot from USB after install?

    You need to install grub2 to the usb. By telling it not to install a bootloader, how did you expect to boot from it?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  3. #3
    Join Date
    Sep 2007
    Location
    Australia
    Beans
    732
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't boot from USB after install?

    I thought grub was computer specific, so i didnt install it.
    cheers i'll look up how to install grub2 on a usb

  4. #4
    Join Date
    Sep 2007
    Location
    Australia
    Beans
    732
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't boot from USB after install?

    OK did
    Code:
    grub-install --force --no-floppy --root-directory=/media/f7ad4fed-622f-4ac9-b361-c1636714204a /dev/sdi
    went ok

    Boots into:
    GRUB>

    how do i get it to boot? cant see what to edit in the grub.cfg

  5. #5
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't boot from USB after install?

    If that was the correct root partition and the usb is /dev/sdi, it should have worked.

    You can also work with /dev/sdiX, it might be easier. Mount it at some temporary point like /mnt first:
    sudo mount /dev/sdiX /mnt
    sudo grub-install --root-directory=/mnt /dev/sdi

    Also, you need to do that from ubuntu of the same version, either a hdd installation of the same version or the same cd you used to install onto the usb.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  6. #6
    Join Date
    Sep 2007
    Location
    Australia
    Beans
    732
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't boot from USB after install?

    Hey thanks for the great info.

    So next time when installing from alternate cd, when grub detects other operating systems, select no to install to first hdd, then when it asks where to install grub select the /dev/sdi.

    Is that right for future ref?

    Thanks

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
  •