View Full Version : [ubuntu] Ubuntu doesn't boot unless USB with installation file plugged in
Ljuslykta
July 30th, 2011, 08:18 PM
Hi.
I recently installed Ubuntu 10.04 on my laptop with an USB-drive. The problem is, like the title says, that it doesn't boot unless the USB is plugged in. I've searched on internet and found one solution
sudo fdisk -l
# identify your hard drive e.g. /dev/sda
sudo grub-install /dev/sda
But it doesn't work.
Thanks
jerrrys
July 30th, 2011, 08:46 PM
sudo grub-install /dev/sda
must be followed by
sudo update-grub
Ljuslykta
July 30th, 2011, 08:55 PM
sudo grub-install /dev/sda
must be followed by
sudo update-grub
It doesn't even find /dev/sda without the USB plugged in. Only
/dev/sdb1 1 37714 302936064 83 Linux
/dev/sdb2 37715 38914 9632769 5 Utökad
/dev/sdb5 37715 38914 9632768 82 Linux växling / Solaris
jerrrys
July 30th, 2011, 09:21 PM
with your usb drive plugged in, open a terminal and enter df -h and please post the results.
oldfred
July 30th, 2011, 09:23 PM
If the drive is sdb then the correct place to install the grub2 boot loader is the MBR of the sdb drive.
When you did the listing from fdisk it said sdb not sda so you are supposed to change to that drive.
sudo grub-install /dev/sdb
sudo update-grub
MetalMusicAddict
July 30th, 2011, 09:40 PM
You know, slightly off-topic but this could be a neat security feature for some. While not a total show-stopper it would slow folks down who didn't know you needed the thumb drive in. :P
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.