PDA

View Full Version : [ubuntu] GRUB error, No such partition!



stormforce133
June 17th, 2011, 02:56 PM
Hi!
This is my scenario:
Internal HDD removed, broken.
External 500GB (USB) HDD:
/sda1 ntfs (only data, no OS)
/sda2 extended
-sda5 /boot 100mb
-sda6 / 12gb
-sda7 swap 2gb

I get GRUB error while booting, i've tryed grub-update, but i get the same error always. Also tryed with otrer distros (Fedora, Mint)
Any advice?

PD: I've installed Ubunut AFTER removing the internal HDD.

Thanks!

mister_playboy
June 17th, 2011, 10:57 PM
Could you tell us exactly what error GRUB gives?

oldfred
June 18th, 2011, 07:37 PM
The update-grub only works to rewrite menu on a working system. You may need to reinstall grub2's boot loader to the MBR.

But you have a separate /boot. Many instructions leave off the extra mount you have to do with /boot or just have it as a foot note.

to reinstall grub2 with the livecd:
$sudo mount /dev/sda6 /mnt
$sudo mount /dev/sda5 /mnt/boot
sudo grub-install --root-directory=/mnt/ /dev/sda

If grub 1.99 with Natty uses boot not root
sudo grub-install --boot-directory=/mnt/ /dev/sda