I just reinstalled Ubuntu 12.04 using a LiveCD mounted on a USB drive. When the USB drive isn't plugged in... things won't boot. I'm new to Ubuntu, so please bear with me. After a bit of reading I see that GRUB needs to be fixed/ updated along with the MBR. Unfortunately, I'm not sure how to go about this. When booting with the USB stick plugged in, I get a menu that displays the different boot options and I can boot in to either Ubuntu or Windows 7 like I should be able to. I also have the LiveCD USB stick listed as the first device accessed during the boot sequence. This thread seems to have a good walkthrough but I'm stuck on the first step.
When running ls
, I see:
(hd0), (hd0,msdos6), (hd0,msdos5), (hd0,msdos3), (hd0,msdos2)
, I think. This is from memory.
Starting the first step with ls (hd0,msdos6)
returns Bad filename
and
ls (hd0,msdos5)
etc returns error: unknown filesystem
.
It would seem that msdos6 is the Ubuntu partition. But I can't access it. Any suggestions would be appreciated.
sudo fdisk -l
to list all available drives (lines beggining with "Disk *****:"). In most common installations, there's only one :) – John WH Smith Jul 14 '13 at 21:17-l
option means "list". You'll just get some output :) – John WH Smith Jul 14 '13 at 21:36whoami
: are you root ? – John WH Smith Jul 14 '13 at 22:29