Hello again, Sorry if I ommited too much and for top-replying. -----Original Message----- From: Vladimir 'φ-coder/phcoder' Serbinenko [mailto:phco...@gmail.com] Sent: Friday, April 09, 2010 7:15 PM To: Ramunas Vabolis; 575...@bugs.debian.org Subject: Re: Bug#575076: grub-update stopped working after upgrade to grub-pc_1.98-1_amd64.deb (md device)
Ramunas Vabolis wrote: > Package: grub-pc > Version: 1.98-1 > Severity: grave > Justification: renders package unusable > > After debian squeeze dist-upgrade one of the updated packages was grub: > Preparing to replace grub-pc 1.98~20100115-1 (using > .../grub-pc_1.98-1_amd64.deb) ... > Unpacking replacement grub-pc ... > Are you sure you don't have an old version of grub-common or something from grub in /usr/local? This problem was noticed before and fixed in 1.98 ---------------------------- The problem is/was with incorrect info on /boot/grub/device.map (automatically included in bug report). The real /boot/grub/device.map was not > *********************** BEGIN /boot/grub/device.map > (hd0) /dev/sda > *********************** END /boot/grub/device.map But (hd0) /dev/sda (hd1) /dev/sdb And the disks themselves are: fdisk -l Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x339be235 Device Boot Start End Blocks Id System /dev/sda1 1 122 979933+ 82 Linux swap / Solaris /dev/sda2 * 123 1338 9767520 83 Linux Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00028d88 Device Boot Start End Blocks Id System /dev/sdb1 * 1 1216 9767488+ fd Linux raid autodetect /dev/sdb2 1217 2432 9767520 fd Linux raid autodetect /dev/sdb3 2433 2918 3903795 fd Linux raid autodetect I was playing with boot device priority (two disks with different configurations, disk sda was a backup settings, sdb was a testing configuration for software raid. After everyting ironed out I was gonna make those disks as software mirrors. Now before this upgrade everything worked. After this it stopped. And update-grub only finished when I removed "(hd0) /dev/sda" line from device.map.