Bug#568084: grub-common: Use of LABEL for 'root='
Torquil Macdonald Sørensen
torquil at gmail.com
Mon Aug 13 15:04:03 UTC 2012
Package: grub-pc
Version: 1.99-22.1
Followup-For: Bug #568084
Thanks for the patch, it worked beautifully! Let's hope it gets included in the package.
Best regards
Torquil Sørensen
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/disk/by-label/asus-root / ext3 rw,noatime,errors=remount-ro,barrier=1,data=writeback 0 0
/dev/sda3 /home ext3 rw,noatime,errors=continue,barrier=1,data=writeback 0 0
/dev/sda4 /mnt/data ext3 rw,noatime,errors=continue,barrier=1,data=writeback 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-ST9500325AS_5VE7VYSS
*********************** 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
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 8868ef43-6e5a-4220-85d0-d1a46ef41948
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 8868ef43-6e5a-4220-85d0-d1a46ef41948
set locale_dir=($root)/boot/grub/locale
set lang=en_GB
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 8868ef43-6e5a-4220-85d0-d1a46ef41948
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 ###
menuentry 'Debian GNU/Linux, with Linux 3.4.8' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 8868ef43-6e5a-4220-85d0-d1a46ef41948
echo 'Loading Linux 3.4.8 ...'
linux /boot/vmlinuz-3.4.8 root=LABEL=asus-root ro quiet nohdparm
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.4.8
}
menuentry 'Debian GNU/Linux, with Linux 3.4.8 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 8868ef43-6e5a-4220-85d0-d1a46ef41948
echo 'Loading Linux 3.4.8 ...'
linux /boot/vmlinuz-3.4.8 root=LABEL=asus-root ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.4.8
}
menuentry 'Debian GNU/Linux, with Linux 3.4.7' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 8868ef43-6e5a-4220-85d0-d1a46ef41948
echo 'Loading Linux 3.4.7 ...'
linux /boot/vmlinuz-3.4.7 root=LABEL=asus-root ro quiet nohdparm
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.4.7
}
menuentry 'Debian GNU/Linux, with Linux 3.4.7 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 8868ef43-6e5a-4220-85d0-d1a46ef41948
echo 'Loading Linux 3.4.7 ...'
linux /boot/vmlinuz-3.4.7 root=LABEL=asus-root ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.4.7
}
### 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 ###
### 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
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat
*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 Aug 13 16:57 ata-ST9500325AS_5VE7VYSS -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 13 16:50 ata-ST9500325AS_5VE7VYSS-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 13 16:50 ata-ST9500325AS_5VE7VYSS-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 13 16:50 ata-ST9500325AS_5VE7VYSS-part4 -> ../../sda4
lrwxrwxrwx 1 root root 9 Aug 13 16:50 ata-TSSTcorp_CDDVDW_TS-L633C_h1J3456789KLMNOP -> ../../sr0
lrwxrwxrwx 1 root root 9 Aug 13 16:57 scsi-SATA_ST9500325AS_5VE7VYSS -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 13 16:50 scsi-SATA_ST9500325AS_5VE7VYSS-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 13 16:50 scsi-SATA_ST9500325AS_5VE7VYSS-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 13 16:50 scsi-SATA_ST9500325AS_5VE7VYSS-part4 -> ../../sda4
lrwxrwxrwx 1 root root 9 Aug 13 16:57 wwn-0x5000c5001ea9257b -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 13 16:50 wwn-0x5000c5001ea9257b-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 13 16:50 wwn-0x5000c5001ea9257b-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 13 16:50 wwn-0x5000c5001ea9257b-part4 -> ../../sda4
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Aug 13 16:50 49751543-6be0-4420-a926-29947132258f -> ../../sda4
lrwxrwxrwx 1 root root 10 Aug 13 16:50 8868ef43-6e5a-4220-85d0-d1a46ef41948 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 13 16:50 cf99751a-9f36-470c-a2b2-e6a6b6c7db9b -> ../../sda3
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (700, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.4.8 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.45
ii grub-common 1.99-22.1
ii grub-pc-bin 1.99-22.1
ii grub2-common 1.99-22.1
ii ucf 3.0025+nmu3
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_empty: false
grub-pc/install_devices_failed: false
grub-pc/chainload_from_menu.lst: true
grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/disk/by-id/ata-ST9500325AS_5VE7VYSS
grub-pc/postrm_purge_boot_grub: false
grub-pc/install_devices_failed_upgrade: true
grub-pc/disk_description:
grub2/kfreebsd_cmdline_default: quiet
grub-pc/partition_description:
grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet nohdparm
grub-pc/mixed_legacy_and_grub2: true
More information about the Pkg-grub-devel
mailing list