[issue971] grml-rescueboot does not support lvm and md/raid devices

Faheem Mitha bts at bts.grml.org
Mon Mar 28 23:35:57 CEST 2011


Faheem Mitha <faheem at email.unc.edu> added the comment:

On Mon, 28 Mar 2011, Ulrich Dangel wrote:

>
> Ulrich Dangel <mru at grml.org> added the comment:
>
> Did you update your grml.iso? That features requires a current iso image.
>
> If you have a current iso, did the install process regenerate the grub config?
> If not can you please run update-grub and test again? If you updated the grub
> config and it did not work either can you please paste the generated grub config
> for your iso images?

Nope, still doesn't work. Tried with 3/28 grml-small_squeeze_latest.iso. 
Drops to initramfs shell as before. How can I get some debugging output?

The iso is here

orwell:/home/faheem# ls -la /boot/grml/grml-small_squeeze_latest.iso
-rw-r--r-- 1 faheem faheem 123731968 Mar 28 05:10 /boot/grml/grml-small_squeeze_latest.iso

Entire grub.cfg follows.

                                                                  Faheem

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
   load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
   set saved_entry="${prev_saved_entry}"
   save_env saved_entry
   set prev_saved_entry=
   save_env prev_saved_entry
   set boot_once=true
fi

function savedefault {
   if [ -z "${boot_once}" ]; then
     saved_entry="${chosen}"
     save_env saved_entry
   fi
}

function load_video {
   insmod vbe
   insmod vga
   insmod video_bochs
   insmod video_cirrus
}

insmod raid
insmod mdraid1x
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(debian-root)'
search --no-floppy --fs-uuid --set=root 82ade8eb-1533-4129-aa44-ffe590e3be69
if loadfont /usr/share/grub/unicode.pf2 ; then
   set gfxmode=640x480
   load_video
   insmod gfxterm
fi
terminal_output gfxterm
insmod raid
insmod mdraid1x
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(debian-boot)'
search --no-floppy --fs-uuid --set=root 93ea47bb-16a1-4b52-a7eb-f17ea430d6cf
set locale_dir=($root)/grub/locale
set lang=en_US
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod raid
insmod mdraid1x
insmod lvm
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(debian-root)'
search --no-floppy --fs-uuid --set=root 82ade8eb-1533-4129-aa44-ffe590e3be69
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
   set color_normal=light-gray/black
   set color_highlight=white/black
else
   set menu_color_normal=cyan/blue
   set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-vserver-686-bigmem' --class debian --class gnu-linux --class gnu --class os {
 	insmod raid
 	insmod mdraid1x
 	insmod lvm
 	insmod part_msdos
 	insmod part_msdos
 	insmod ext2
 	set root='(debian-boot)'
 	search --no-floppy --fs-uuid --set=root 93ea47bb-16a1-4b52-a7eb-f17ea430d6cf
 	echo	'Loading Linux 2.6.32-5-vserver-686-bigmem ...'
 	linux	/vmlinuz-2.6.32-5-vserver-686-bigmem root=/dev/mapper/debian-root ro  quiet
 	echo	'Loading initial ramdisk ...'
 	initrd	/initrd.img-2.6.32-5-vserver-686-bigmem
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-vserver-686-bigmem (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
 	insmod raid
 	insmod mdraid1x
 	insmod lvm
 	insmod part_msdos
 	insmod part_msdos
 	insmod ext2
 	set root='(debian-boot)'
 	search --no-floppy --fs-uuid --set=root 93ea47bb-16a1-4b52-a7eb-f17ea430d6cf
 	echo	'Loading Linux 2.6.32-5-vserver-686-bigmem ...'
 	linux	/vmlinuz-2.6.32-5-vserver-686-bigmem root=/dev/mapper/debian-root ro single
 	echo	'Loading initial ramdisk ...'
 	initrd	/initrd.img-2.6.32-5-vserver-686-bigmem
}
menuentry 'Debian GNU/Linux, with Linux 2.6.26-2-vserver-686-bigmem' --class debian --class gnu-linux --class gnu --class os {
 	insmod raid
 	insmod mdraid1x
 	insmod lvm
 	insmod part_msdos
 	insmod part_msdos
 	insmod ext2
 	set root='(debian-boot)'
 	search --no-floppy --fs-uuid --set=root 93ea47bb-16a1-4b52-a7eb-f17ea430d6cf
 	echo	'Loading Linux 2.6.26-2-vserver-686-bigmem ...'
 	linux	/vmlinuz-2.6.26-2-vserver-686-bigmem root=/dev/mapper/debian-root ro  quiet
 	echo	'Loading initial ramdisk ...'
 	initrd	/initrd.img-2.6.26-2-vserver-686-bigmem
}
menuentry 'Debian GNU/Linux, with Linux 2.6.26-2-vserver-686-bigmem (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
 	insmod raid
 	insmod mdraid1x
 	insmod lvm
 	insmod part_msdos
 	insmod part_msdos
 	insmod ext2
 	set root='(debian-boot)'
 	search --no-floppy --fs-uuid --set=root 93ea47bb-16a1-4b52-a7eb-f17ea430d6cf
 	echo	'Loading Linux 2.6.26-2-vserver-686-bigmem ...'
 	linux	/vmlinuz-2.6.26-2-vserver-686-bigmem root=/dev/mapper/debian-root ro single
 	echo	'Loading initial ramdisk ...'
 	initrd	/initrd.img-2.6.26-2-vserver-686-bigmem
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
 	insmod raid
 	insmod mdraid1x
 	insmod lvm
 	insmod part_msdos
 	insmod part_msdos
 	insmod ext2
 	set root='(debian-boot)'
 	search --no-floppy --fs-uuid --set=root 93ea47bb-16a1-4b52-a7eb-f17ea430d6cf
 	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
 	insmod raid
 	insmod mdraid1x
 	insmod lvm
 	insmod part_msdos
 	insmod part_msdos
 	insmod ext2
 	set root='(debian-boot)'
 	search --no-floppy --fs-uuid --set=root 93ea47bb-16a1-4b52-a7eb-f17ea430d6cf
 	linux16	/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
 	insmod raid
 	insmod mdraid1x
 	insmod lvm
 	insmod part_msdos
 	insmod part_msdos
 	insmod ext2
 	set root='(debian-boot)'
 	search --no-floppy --fs-uuid --set=root 93ea47bb-16a1-4b52-a7eb-f17ea430d6cf
 	multiboot	/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
 	insmod raid
 	insmod mdraid1x
 	insmod lvm
 	insmod part_msdos
 	insmod part_msdos
 	insmod ext2
 	set root='(debian-boot)'
 	search --no-floppy --fs-uuid --set=root 93ea47bb-16a1-4b52-a7eb-f17ea430d6cf
 	multiboot	/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
   source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/42_grml ###
menuentry "Grml Rescue System (grml-small_squeeze_latest.iso)" {
         insmod raid
         insmod mdraid1x
         insmod lvm
         insmod part_msdos
         insmod part_msdos
         insmod ext2
         set root='(debian-boot)'
         search --no-floppy --fs-uuid --set=root 93ea47bb-16a1-4b52-a7eb-f17ea430d6cf
         iso_path="/grml/grml-small_squeeze_latest.iso"
         export iso_path
         kernelopts=" ssh=foobarbaz live-media=/dev/mapper/debian-boot "
         export kernelopts
         loopback loop "/grml/grml-small_squeeze_latest.iso"
         set root=(loop)
         configfile /boot/grub/loopback.cfg
}
### END /etc/grub.d/42_grml ###

### BEGIN /etc/grub.d/43_plop ###
menuentry 'Plop Boot Manager' {
 	  insmod raid
           insmod mdraid1x
           insmod lvm
           insmod part_msdos
           insmod part_msdos
 	  insmod ext2
           set root='(debian-boot)'
           search --no-floppy --fs-uuid --set=root 93ea47bb-16a1-4b52-a7eb-f17ea430d6cf
           linux16 /plpbt.bin
}
### END /etc/grub.d/43_plop ###

----------
messages: 3695, 3718, 3719, 3720, 3721, 3722, 3723, 3724
nosy: faheem
priority: bug
status: chatting
title: grml-rescueboot does not support lvm and md/raid devices

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue971>
_____________________________________


More information about the Bugs-changes mailing list