Bug#567582: me too

A Mennucc debdev at mennucci.sns.it
Tue Mar 23 19:52:13 UTC 2010


hi,

I was biten by this bug

here are some info, hoping they help

I have two hard disks /dev/sda /dev/sdb,
each 500GB , each with 4  primary partitions 
(I created an identical layout in them two),
the first partition /dev/sda1 is a standard ext3 containing /boot ;
the last one is a RAID1 partition, so that 
 /dev/sda4 /dev/sdb4 -> /dev/md0
and inside /dev/md0 I have LVM2, and
inside LVM2 I have all other partitions,
including /

After I update
 grub-pc 1.98~20100115-1 -> 1.98-1
the bug appeared

debconf info
# debconf-show grub-pc
  grub2/kfreebsd_cmdline:
  grub-pc/linux_cmdline: fillme
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: false
  grub-pc/kopt_extracted: true
* grub-pc/install_devices: /dev/sda
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet


----------------------------

Let me also report how I solved the problem, so as to help
people who may be Googling around 

I booted with an Ubuntu-live CD 9.10, I
opened a terminal, I became root using
$ sudo bash -l
then 
$ apt-get install mdadm
then
$ mdadm --assemble --scan
at this point Ubuntu finds out about the new device and automatically scans it using LVM
(all new devices LVM magically appear in the "My Computer" window)

then I mounted my root and boot in right order under /mnt 
$ mount /dev/myraidlvm/root /mnt/
$ mount /dev/sda1 /mnt/boot/
 then
$ grub-install --root-directory=/mnt /dev/sda
then shutdown,

and now it is booting again.

a.

-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Tonino Carotone)





More information about the Pkg-grub-devel mailing list