[Bug 46223] Re: update-grub doesn't work correctly with raid partitions
Thomas Hotz
thomas.hotz at gmail.com
Tue Nov 6 17:51:26 UTC 2012
** Summary changed:
- [DAPPER] update-grub doesn't work correctly with raid partitions
+ update-grub doesn't work correctly with raid partitions
** Changed in: grub (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub in Ubuntu.
https://bugs.launchpad.net/bugs/46223
Title:
update-grub doesn't work correctly with raid partitions
Status in “grub” package in Ubuntu:
Incomplete
Bug description:
Hi,
this is my /etc/fstab
/dev/md0 / ext3 defaults,errors=remount-ro 0 1
/dev/md2 /home reiserfs defaults 0 2
and this is fdisk -l
Disk /dev/sda: 163.9 GB, 163927522816 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 1 4863 39062016 7 HPFS/NTFS
/dev/sda2 4864 19929 121017645 5 Esteso
/dev/sda5 * 4864 7295 19535008+ fd Autorilevamento raid di Linux
/dev/sda6 7296 7441 1172713+ fd Autorilevamento raid di Linux
/dev/sda7 7442 19929 100309828+ fd Autorilevamento raid di Linux
Disk /dev/sdb: 163.9 GB, 163927522816 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Dispositivo Boot Start End Blocks Id System
/dev/sdb1 * 1 4863 39062016 7 HPFS/NTFS
/dev/sdb2 4864 19929 121017645 5 Esteso
/dev/sdb5 * 4864 7295 19535008+ fd Autorilevamento raid di Linux
/dev/sdb6 7296 7441 1172713+ fd Autorilevamento raid di Linux
/dev/sdb7 7442 19929 100309828+ fd Autorilevamento raid di Linux
This is my cat /proc/mdstat
Personalities : [raid0] [raid1]
md2 : active raid1 sda7[0] sdb7[1]
100309760 blocks [2/2] [UU]
md1 : active raid0 sda6[0] sdb6[1]
2345216 blocks 64k chunks
md0 : active raid1 sda5[0] sdb5[1]
19534912 blocks [2/2] [UU]
On sda1 I' ve windows, so the Ubuntu root / is md0, raid1 with sda5 and sdb5.
When I do an update-grub. I have in /boot/grub/menu.lst:
title Ubuntu, kernel 2.6.15-23-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-23-686 root=/dev/md0 ro quiet splash
initrd /boot/initrd.img-2.6.15-23-686
So update-grub writes root (hd0,0), but the correct value should be (hd0,4), because sda1 is a NTFS partition with windows... Why does it write (hd0,0) ?
Regards
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/46223/+subscriptions
More information about the foundations-bugs
mailing list