how to reinstall grub

nepal nepal.roade at googlemail.com
Sat Nov 22 09:31:33 UTC 2008


On Saturday 22 Nov 2008, Hakan Koseoglu wrote:
> You can always install grub on any drive as long as you
> can tell the BIOS to boot from that one. I know it's not
> the usual way its done but it used to be possible unless
> Grub had changed since last time I tried this.

I thought that too and my bios does allow me to choose 
the boot order of the drives and I tried to install grub on 
the second drive using

sudo grub-install --recheck hd1

but it didn't work. When I tried to boot from that drive 
I got an error "File not found."

I checked the grub entry with [e]dit and checked the references 
per the stanza below;

title		Ubuntu 7.10, kernel 2.6.22-15-generic
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.22-15-generic root=UUID=11bcbca2-da73-439c-b9e2-3c09a50b6675 ro quiet splash vga=794
initrd		/boot/initrd.img-2.6.22-15-generic
quiet

and AFAICT they are all correct, the UUID is correct for hd1.

So I ran grub-install again using hd0 and it works ok.

nepal.




More information about the kubuntu-users mailing list