← Back to team overview

ubuntu-eee-coders team mailing list archive

Re: [Question #47754]: GRUB error 21 - how to get rid of this?

 

Question #47754 on Ubuntu Eee changed:
https://answers.launchpad.net/ubuntu-eee/+question/47754

    Status: Answered => Open

iain_m is still having a problem:
Hello,

Thanks for the fast reply.

I've been Googling this error and it seems a few people have been
affected but there is no definitive way of fixing the issue.

Booting from the USB stick only (by setting this as the only boot device
in BIOS) doesn't work at all; it says there is no bootable disk.

So GRUB is definitely always loading from the internal system drive.

In /boot/grub on the internal system drive, the menu.lst file contains:

[code]
title Normal Boot
	root (0x80,0)
	kernel /boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=785 irqpoll root=/dev/sda1
	initrd /boot/initramfs-eeepc.img

title Perform Disk Scan
	root (0x80,0)
	kernel /boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=785 irqpoll root=/dev/sda1 XANDROSSCAN=y
	initrd /boot/initramfs-eeepc.img

title Restore Factory Settings
	root (0x80,0)
	kernel /boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=normal nosplash=y irqpoll root=/dev/sda1 XANDROSRESTORE=y
	initrd /boot/initramfs-eeepc.img[/code]

Meanwhile the menu.lst file in the corresponding directory on the USB stick contains:
[code]
title		Ubuntu 8.04.1, kernel 2.6.24-21-eeepc
root		(hd2,0)
kernel		/boot/vmlinuz-2.6.24-21-eeepc root=UUID=fc45b4ba-6234-4449-b569-beb1cc12550d ro quiet splash
initrd		/boot/initrd.img-2.6.24-21-eeepc
quiet

title		Ubuntu 8.04.1, kernel 2.6.24-21-eeepc (recovery mode)
root		(hd2,0)
kernel		/boot/vmlinuz-2.6.24-21-eeepc root=UUID=fc45b4ba-6234-4449-b569-beb1cc12550d ro single
initrd		/boot/initrd.img-2.6.24-21-eeepc

title		Ubuntu 8.04.1, memtest86+
root		(hd2,0)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Normal Boot (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=785 irqpoll root=/dev/sda1 
initrd		/boot/initramfs-eeepc.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Perform Disk Scan (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=785 irqpoll root=/dev/sda1 XANDROSSCAN=y 
initrd		/boot/initramfs-eeepc.img
savedefault
boot[/code]

So what I don't understand is how/why the GRUB installation on the
system drive is pointing to the menu.lst file on the USB stick. I would
have hoped the two installations of GRUB could coexist, and I could just
boot into whichever I wanted by choosing the boot device in the BIOS.

I'd appreciate any help and advice. :-)


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Restore Factory Settings (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.21.4-eeepc quiet rw vga=normal nosplash=y irqpoll root=/dev/sda1 XANDROSRESTORE=y 
initrd		/boot/initramfs-eeepc.img
savedefault
boot
----

-- 
You received this question notification because you are a member of
Ubuntu Eee Coders, which is an answer contact for Ubuntu Eee.