Bug#627630: grub-pc: core.img too large after recent update, raid1+lvm+xfs

Eamonn Hamilton eamonn.hamilton at saic.com
Sun May 22 20:51:46 UTC 2011


Package: grub-pc
Version: 1.99-4
Severity: important



Hi,

After a recent update a couple of days ago on grub, the generated core.img no longer fits in my boot block. The system is setup as raid1+lvm with xfs filesystems.

Any suggestions  as to how to shrink the core.img, as expanding the install area isn't an option short-term.

regards,
Eamonn


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/vg-root / xfs rw,noatime,attr2,noquota 0 0
/dev/mapper/vg-home /home xfs rw,noatime,noquota 0 0
/dev/mapper/vg-usr /usr xfs rw,noatime,attr2,noquota 0 0
/dev/mapper/vg-pictures /pictures xfs rw,noatime,noquota 0 0
/dev/mapper/vg_new-shared /shared xfs rw,noatime,attr2,noquota 0 0
/dev/mapper/vg_new-content /content xfs rw,noatime,attr2,noquota 0 0
/dev/mapper/vg-myth /content/media/mythtv ext3 rw,relatime,errors=continue,commit=5,barrier=0,data=writeback 0 0
/dev/sdd1 /backup xfs rw,relatime,attr2,noquota 0 0
/dev/mapper/vg_new-vm /vm ext3 rw,relatime,errors=continue,barrier=0,data=writeback 0 0
/dev/mapper/vg_new-archive /archive xfs rw,relatime,attr2,noquota 0 0
/dev/mapper/vg-root /run xfs rw,noatime,attr2,noquota 0 0
/dev/mapper/vg-root /run/lock xfs rw,noatime,attr2,noquota 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1KLB32543
(hd1)	/dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1KLB32546
(hd2)	/dev/disk/by-id/ata-MAXTOR_STM31000333AS_9TE1GGYP
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# 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
}

terminal_input console
terminal_output console
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.38.4' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.38.4 ...'
	linux	/boot/vmlinuz-2.6.38.4 root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.38.4
}
menuentry 'Debian GNU/Linux, with Linux 2.6.38.4 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.38.4 ...'
	linux	/boot/vmlinuz-2.6.38.4 root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.38.4
}
menuentry 'Debian GNU/Linux, with Linux 2.6.38-rc7+' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.38-rc7+ ...'
	linux	/boot/vmlinuz-2.6.38-rc7+ root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.38-rc7+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.38-rc7+ (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.38-rc7+ ...'
	linux	/boot/vmlinuz-2.6.38-rc7+ root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.38-rc7+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.36 ...'
	linux	/boot/vmlinuz-2.6.36 root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.36
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.36 ...'
	linux	/boot/vmlinuz-2.6.36 root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.36
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35+' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.35+ ...'
	linux	/boot/vmlinuz-2.6.35+ root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35+ (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.35+ ...'
	linux	/boot/vmlinuz-2.6.35+ root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35-rc3+' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.35-rc3+ ...'
	linux	/boot/vmlinuz-2.6.35-rc3+ root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-rc3+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35-rc3+ (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.35-rc3+ ...'
	linux	/boot/vmlinuz-2.6.35-rc3+ root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-rc3+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35-rc2+' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.35-rc2+ ...'
	linux	/boot/vmlinuz-2.6.35-rc2+ root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-rc2+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35-rc2+ (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.35-rc2+ ...'
	linux	/boot/vmlinuz-2.6.35-rc2+ root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-rc2+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.34' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.34 ...'
	linux	/boot/vmlinuz-2.6.34 root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.34
}
menuentry 'Debian GNU/Linux, with Linux 2.6.34 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.34 ...'
	linux	/boot/vmlinuz-2.6.34 root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.34
}
menuentry 'Debian GNU/Linux, with Linux 2.6.33' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.33 ...'
	linux	/boot/vmlinuz-2.6.33 root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.33
}
menuentry 'Debian GNU/Linux, with Linux 2.6.33 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.33 ...'
	linux	/boot/vmlinuz-2.6.33 root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.33
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-3-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.32-3-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-3-amd64 root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-3-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-3-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.32-3-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-3-amd64 root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-3-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-2-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.32-2-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-2-amd64 root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.32-2-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-2-amd64 root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.32 ...'
	linux	/boot/vmlinuz-2.6.32 root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.32 ...'
	linux	/boot/vmlinuz-2.6.32 root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32
}
menuentry 'Debian GNU/Linux, with Linux 2.6.31-1-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.31-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.31-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.31' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.31 ...'
	linux	/boot/vmlinuz-2.6.31 root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.31
}
menuentry 'Debian GNU/Linux, with Linux 2.6.31 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.31 ...'
	linux	/boot/vmlinuz-2.6.31 root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.31
}
menuentry 'Debian GNU/Linux, with Linux 2.6.30-2-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.30-2-amd64 ...'
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.30-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.30-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.30-2-amd64 ...'
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.30-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.30-1-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.30-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.30-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.30-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.30' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.30 ...'
	linux	/boot/vmlinuz-2.6.30 root=/dev/mapper/vg-root ro  hpet=force quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.30
}
menuentry 'Debian GNU/Linux, with Linux 2.6.30 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	echo	'Loading Linux 2.6.30 ...'
	linux	/boot/vmlinuz-2.6.30 root=/dev/mapper/vg-root ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.30
}
### 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 mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	multiboot	/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod raid
	insmod mdraid09
	insmod lvm
	insmod part_msdos
	insmod part_msdos
	insmod xfs
	set root='(vg-root)'
	search --no-floppy --fs-uuid --set=root d784bc62-c5a2-4d85-b778-feac2748a0de
	multiboot	/boot/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 ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty] 
md0 : active raid1 sdb1[0] sda1[1]
      488383936 blocks [2/2] [UU]
      
unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN LVM

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (310, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.4 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]        1.5.39      Debian configuration management sy
ii  grub-common                  1.99-4      GRand Unified Bootloader (common f
ii  grub-pc-bin                  1.99-4      GRand Unified Bootloader, version 
ii  grub2-common                 1.99-4      GRand Unified Bootloader (common f
ii  ucf                          3.0025+nmu2 Update Configuration File: preserv

grub-pc recommends no packages.

grub-pc suggests no packages.

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/device_map_regenerated:
* grub2/linux_cmdline:
* grub-pc/install_devices_failed: true
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/disk_description:
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: hpet=force quiet
  grub-pc/install_devices_empty: false
* grub-pc/install_devices: /dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1KLB32543, /dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1KLB32546
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/partition_description:
* grub-pc/install_devices_disks_changed: /dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1KLB32543, /dev/disk/by-id/ata-SAMSUNG_HD501LJ_S0MUJ1KLB32546
* grub-pc/mixed_legacy_and_grub2: true





More information about the Pkg-grub-devel mailing list