Bug#768902: grub-pc: update-grub (50mounted-tests) attempts to mount extended partition as ext4 and hangs
Joel Roth
joelz at pobox.com
Mon Nov 10 00:14:51 UTC 2014
Package: grub-pc
Version: 2.02~beta2-15
Severity: important
Dear Maintainer,
I've been upgrading my sid system. When update-grub goes
to regenerate /boot/grub/grub.cfg, mount uses 100% CPU
and causes these processes to hang. /dev/sda4 is an extended
partition, so attempting to mount it as ext4 may be a bug.
I made sure to refresh the MBR with the latest version of
grub using grub-install.
(Note that while the PID below doesn't exactly match the
dmesg output that follows, the messages are congruent--
just cut-and-pasted at different times.)
ps ax | grep mount
10064 pts/1 S 0:00 /bin/sh /usr/lib/os-probes/50mounted-tests /dev/sda4
10075 pts/1 R 7:33 mount -o ro -t ext4 /dev/sda4 /var/lib/os-prober/mount
fdisk -l /dev/sda returns:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x27b11b56
Device Boot Start End Blocks Id System
/dev/sda1 2048 2459647 1228800 7 HPFS/NTFS/exFAT
/dev/sda2 * 2459648 76180224 36860288+ 7 HPFS/NTFS/exFAT
/dev/sda3 76180225 84357314 4088545 82 Linux swap / Solaris
/dev/sda4 84357315 625139711 270391198+ f W95 Ext'd (LBA)
/dev/sda5 84357378 115073593 15358108 83 Linux
/dev/sda6 115073658 534504057 209715200 83 Linux
/dev/sda7 534504059 604654465 35075203+ 83 Linux
/dev/sda8 604659712 625139711 10240000 7 HPFS/NTFS/exFAT
Here are some diagnostics from dmesg:
[ 1317.697620] INFO: task mount:19672 blocked for more than 120 seconds.
[ 1317.697623] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1317.697625] mount D ffff880137d13740 0 19672 19662 0x00000000
[ 1317.697629] ffff88012fe818d0 0000000000000086 ffff880100000000 ffff880133369610
[ 1317.697632] 0000000000013740 ffff8800af8a5fd8 ffff8800af8a5fd8 ffff88012fe818d0
[ 1317.697635] ffff880133747cc0 0000000100000000 ffff88012fe28400 ffff880130d1f868
[ 1317.697638] Call Trace:
[ 1317.697646] [<ffffffff8134ab67>] ? rwsem_down_failed_common+0xe0/0x114
[ 1317.697672] [<ffffffff810fa97b>] ? set_bdev_super+0x2a/0x2a
[ 1317.697674] [<ffffffff810fa951>] ? ns_test_super+0xd/0xd
[ 1317.697678] [<ffffffff811b26d3>] ? call_rwsem_down_write_failed+0x13/0x20
[ 1317.697681] [<ffffffff8134a4d4>] ? down_write+0x25/0x27
[ 1317.697685] [<ffffffff810fb11f>] ? sget+0xb5/0x3d1
[ 1317.697691] [<ffffffff81036457>] ? should_resched+0x5/0x23
[ 1317.697708] [<ffffffffa02405c4>] ? ext4_remount+0x547/0x547 [ext4]
[ 1317.697711] [<ffffffff810fb54e>] ? mount_bdev+0x9b/0x1ac
[ 1317.697715] [<ffffffff810eb57b>] ? __kmalloc_track_caller+0xfe/0x110
[ 1317.697720] [<ffffffff810fbe63>] ? mount_fs+0x61/0x146
[ 1317.697727] [<ffffffff8110ef0a>] ? vfs_kern_mount+0x5f/0x99
[ 1317.697731] [<ffffffff8110f2f4>] ? do_kern_mount+0x49/0xd8
[ 1317.697733] [<ffffffff8111096f>] ? do_mount+0x660/0x6c6
[ 1317.697738] [<ffffffff810c8a3e>] ? memdup_user+0x36/0x5b
[ 1317.697740] [<ffffffff81110c7d>] ? sys_mount+0x88/0xc3
[ 1317.697743] [<ffffffff8134fb92>] ? system_call_fastpath+0x16/0x1b
Thank you.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/454c1644-1755-4e38-8153-68e0f9a7f0bb / ext4 rw,noatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/sda6 /home ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0
/dev/sda5 /mnt/media ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-HITACHI_HTS725032A9A364_100907PCK304GKGJ1ENJ
(hd1) /dev/disk/by-id/usb-Seagate_Portable_2GH1PP8Y-0:0
*********************** 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
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
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 {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
set color_normal=white/black
set color_highlight=black/white
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 ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 3.2.0-3-amd64 ...'
linux /boot/vmlinuz-3.2.0-3-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-3-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-3-amd64-advanced-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 3.2.0-3-amd64 ...'
linux /boot/vmlinuz-3.2.0-3-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-3-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-3-amd64-recovery-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 3.2.0-3-amd64 ...'
linux /boot/vmlinuz-3.2.0-3-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-3-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.1.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.1.0-1-amd64-advanced-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 3.1.0-1-amd64 ...'
linux /boot/vmlinuz-3.1.0-1-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.1.0-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.1.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.1.0-1-amd64-recovery-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 3.1.0-1-amd64 ...'
linux /boot/vmlinuz-3.1.0-1-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.1.0-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.38-2-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.38-2-amd64-advanced-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.38-2-amd64 ...'
linux /boot/vmlinuz-2.6.38-2-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.38-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.38-2-amd64-recovery-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.38-2-amd64 ...'
linux /boot/vmlinuz-2.6.38-2-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.37-1-amd64-advanced-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.37-1-amd64 ...'
linux /boot/vmlinuz-2.6.37-1-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.37-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.37-1-amd64-recovery-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.37-1-amd64 ...'
linux /boot/vmlinuz-2.6.37-1-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.37-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36.20101128' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.36.20101128-advanced-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.36.20101128 ...'
linux /boot/vmlinuz-2.6.36.20101128 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.36.20101128
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36.20101128 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.36.20101128-recovery-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.36.20101128 ...'
linux /boot/vmlinuz-2.6.36.20101128 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.36.20101128
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36.2010.11.27' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.36.2010.11.27-advanced-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.36.2010.11.27 ...'
linux /boot/vmlinuz-2.6.36.2010.11.27 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.36.2010.11.27
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36.2010.11.27 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.36.2010.11.27-recovery-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.36.2010.11.27 ...'
linux /boot/vmlinuz-2.6.36.2010.11.27 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.36.2010.11.27
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36-trunk-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.36-trunk-amd64-advanced-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.36-trunk-amd64 ...'
linux /boot/vmlinuz-2.6.36-trunk-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.36-trunk-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.36-trunk-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.36-trunk-amd64-recovery-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.36-trunk-amd64 ...'
linux /boot/vmlinuz-2.6.36-trunk-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.36-trunk-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.33.2' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.33.2-advanced-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.33.2 ...'
linux /boot/vmlinuz-2.6.33.2 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.33.2
}
menuentry 'Debian GNU/Linux, with Linux 2.6.33.2 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.33.2-recovery-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.33.2 ...'
linux /boot/vmlinuz-2.6.33.2 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.33.2
}
menuentry 'Debian GNU/Linux, with Linux 2.6.31-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.31-1-amd64-advanced-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.31-1-amd64 ...'
linux /boot/vmlinuz-2.6.31-1-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro 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 $menuentry_id_option 'gnulinux-2.6.31-1-amd64-recovery-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.31-1-amd64 ...'
linux /boot/vmlinuz-2.6.31-1-amd64 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.31-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.30.1' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.30.1-advanced-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.30.1 ...'
linux /boot/vmlinuz-2.6.30.1 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.30.1
}
menuentry 'Debian GNU/Linux, with Linux 2.6.30.1 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-2.6.30.1-recovery-454c1644-1755-4e38-8153-68e0f9a7f0bb' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 --hint='hd0,msdos7' 454c1644-1755-4e38-8153-68e0f9a7f0bb
else
search --no-floppy --fs-uuid --set=root 454c1644-1755-4e38-8153-68e0f9a7f0bb
fi
echo 'Loading Linux 2.6.30.1 ...'
linux /boot/vmlinuz-2.6.30.1 root=UUID=454c1644-1755-4e38-8153-68e0f9a7f0bb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.30.1
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-F2F6573DF65700F1' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' F2F6573DF65700F1
else
search --no-floppy --fs-uuid --set=root F2F6573DF65700F1
fi
parttool ${root} hidden-
chainloader +1
}
menuentry 'Windows 7 (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-01CB8E2FE6624C80' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 01CB8E2FE6624C80
else
search --no-floppy --fs-uuid --set=root 01CB8E2FE6624C80
fi
parttool ${root} hidden-
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### 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 ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg
*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat
*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 Nov 9 14:00 ata-HITACHI_HTS725032A9A364_100907PCK304GKGJ1ENJ -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 9 14:00 ata-HITACHI_HTS725032A9A364_100907PCK304GKGJ1ENJ-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 9 14:00 ata-HITACHI_HTS725032A9A364_100907PCK304GKGJ1ENJ-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 9 14:00 ata-HITACHI_HTS725032A9A364_100907PCK304GKGJ1ENJ-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 9 14:00 ata-HITACHI_HTS725032A9A364_100907PCK304GKGJ1ENJ-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Nov 9 14:00 ata-HITACHI_HTS725032A9A364_100907PCK304GKGJ1ENJ-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 9 14:00 ata-HITACHI_HTS725032A9A364_100907PCK304GKGJ1ENJ-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Nov 9 14:00 ata-HITACHI_HTS725032A9A364_100907PCK304GKGJ1ENJ-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Nov 9 14:00 ata-HITACHI_HTS725032A9A364_100907PCK304GKGJ1ENJ-part8 -> ../../sda8
lrwxrwxrwx 1 root root 9 Nov 9 13:53 ata-MATSHITADVD-RAM_UJ892_HG97_619546 -> ../../sr0
lrwxrwxrwx 1 root root 9 Nov 9 14:00 wwn-0x5000cca645c74b58 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 9 14:00 wwn-0x5000cca645c74b58-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 9 14:00 wwn-0x5000cca645c74b58-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 9 14:00 wwn-0x5000cca645c74b58-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 9 14:00 wwn-0x5000cca645c74b58-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Nov 9 14:00 wwn-0x5000cca645c74b58-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 9 14:00 wwn-0x5000cca645c74b58-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Nov 9 14:00 wwn-0x5000cca645c74b58-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Nov 9 14:00 wwn-0x5000cca645c74b58-part8 -> ../../sda8
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Nov 9 14:00 006f30ad-651c-9703-c01b-4c6b19c7e500 -> ../../sda6
lrwxrwxrwx 1 root root 10 Nov 9 14:00 01CB8E2FE6624C80 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 9 14:00 04477e1d-3ef0-4de0-ad09-c5247b080f54 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 9 14:00 454c1644-1755-4e38-8153-68e0f9a7f0bb -> ../../sda7
lrwxrwxrwx 1 root root 10 Nov 9 14:00 B8D45C3BD45BFA58 -> ../../sda8
lrwxrwxrwx 1 root root 10 Nov 9 14:00 F2F6573DF65700F1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 9 14:00 d19c8027-d50f-4efc-a184-d47aebf3f400 -> ../../sda5
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.53
ii grub-common 2.02~beta2-15
ii grub-pc-bin 2.02~beta2-15
ii grub2-common 2.02~beta2-15
ii ucf 3.0030
grub-pc recommends no packages.
grub-pc suggests no packages.
-- debconf information:
* grub-pc/install_devices: /dev/disk/by-id/ata-HITACHI_HTS725032A9A364_100907PCK304GKGJ1ENJ
grub-pc/kopt_extracted: true
grub2/linux_cmdline_default: quiet
grub-pc/install_devices_empty: false
grub-pc/timeout: 5
grub-pc/install_devices_failed_upgrade: true
grub-pc/hidden_timeout: false
* grub-pc/mixed_legacy_and_grub2: true
grub2/kfreebsd_cmdline:
grub2/kfreebsd_cmdline_default: quiet
grub-pc/install_devices_failed: false
* grub-pc/chainload_from_menu.lst: false
grub-pc/partition_description:
grub2/device_map_regenerated:
grub-pc/disk_description:
* grub2/linux_cmdline:
grub-pc/install_devices_disks_changed:
grub-pc/postrm_purge_boot_grub: false
More information about the Pkg-grub-devel
mailing list