Public bug reported:
Binary package hint: grub
I've had this problem for quite a while in Ubuntu but hadn't gotten
around to filing a bug report until now. I've got a RAID-1 setup through
mdadm, and every time I upgrade my kernel, update-grub renders my system
unbootable. Here's some output to illustrate a little better.
[EMAIL PROTECTED]:~$ sudo blkid /dev/sdc1
/dev/sdc1: UUID="f218a5dc-17bf-f955-3c6b-183d348f9553" TYPE="mdraid"
[EMAIL PROTECTED]:~$ sudo blkid /dev/sde1
/dev/sde1: UUID="f218a5dc-17bf-f955-3c6b-183d348f9553" TYPE="mdraid"
[EMAIL PROTECTED]:~$ sudo blkid /dev/md0
/dev/md0: UUID="a0d72a95-f804-4881-96de-8de3ceafe674" TYPE="ext3" [/CODE]
So /dev/sdc1 and /dev/sde1 are the two partitions that make up the RAID1
/dev/md0. The problem is that every time I upgrade my kernel, update-grub will
change the lines in /boot/grub/menu.lst that look like: "kernel
/boot/vmlinuz-2.6.24-21-generic root=UUID=a0d72a95-f804-4881-96de-8de3ceafe674
ro quiet splash" to lines that look like: "kernel
/boot/vmlinuz-2.6.24-21-generic root=UUID=f480cccf-8a38-426b-be9f-6af3a5912443
ro quiet splash" This renders my system unbootable as that is not the correct
UUID of /dev/md0, and so the boot fails and I am dumped to a busybox prompt.
Other information that may be useful:
[EMAIL PROTECTED]:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.1
Release: 8.04
Codename: hardy
[EMAIL PROTECTED]:~$ apt-cache policy grub
grub:
Installed: 0.97-29ubuntu21
Candidate: 0.97-29ubuntu21
Version table:
*** 0.97-29ubuntu21 0
500 http://us.archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status[/CODE]
** Affects: grub (Ubuntu)
Importance: Undecided
Status: New
--
update-grub does not function properly with mdadm
https://bugs.launchpad.net/bugs/292871
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs