Bug#592834: grub-pc: File descriptor leaked on lvs invocation

Wolfram Quester wolfi at sigxcpu.org
Fri Aug 13 19:27:17 UTC 2010


Hi Colin,

I tried to answer your questions in the text below by pasting in the requested
output. Additionally, I attach the output of "reportbug --template grub-pc", I
threw away in the original report since I thought it's probably unimportant.

And yes, I know I should clean up the mess of old kernels ;-) 

Thanks for your work and have a nice weekend,

Wolfi


On Fri, Aug 13, 2010 at 03:41:05PM +0100, Colin Watson wrote:
> On Fri, Aug 13, 2010 at 08:45:24AM +0200, Wolfram Quester wrote:
> > I justed noted during an update the following message:
> > > File descriptor 32 (/dev/tty) leaked on lvs invocation. Parent PID 11821: /bin/sh
> > >   No volume groups found
> > 
> > Installation goes well and it doesn't seem to be a big issue, but nonetheless
> > the message sounds scary.
> 
> Could I have the full output from this update, for more context?
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 363201 files and directories currently installed.)
Preparing to replace linux-image-2.6.32-5-amd64 2.6.32-19 (using .../linux-image-2.6.32-5-amd64_2.6.32-20_amd64.deb) ...
Unpacking replacement linux-image-2.6.32-5-amd64 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
Preparing to replace firmware-linux-free 2.6.32-19 (using .../firmware-linux-free_2.6.32-20_all.deb) ...
Unpacking replacement firmware-linux-free ...
Preparing to replace libscim8c2a 1.4.9-4 (using .../libscim8c2a_1.4.9-5_amd64.deb) ...
Unpacking replacement libscim8c2a ...
Preparing to replace linux-libc-dev 2.6.32-19 (using .../linux-libc-dev_2.6.32-20_amd64.deb) ...
Unpacking replacement linux-libc-dev ...
Preparing to replace mobile-broadband-provider-info 20100716-1 (using .../mobile-broadband-provider-info_20100804-1_all.deb) ...
Unpacking replacement mobile-broadband-provider-info ...
Preparing to replace synaptic 0.63.2 (using .../synaptic_0.70~pre1_amd64.deb) ...
Unpacking replacement synaptic ...
Preparing to replace xul-ext-adblock-plus 1.2.1-2 (using .../xul-ext-adblock-plus_1.2.1-3_all.deb) ...
Unpacking replacement xul-ext-adblock-plus ...
Preparing to replace mplayer 2:1.0~rc3++final.dfsg1-1 (using .../mplayer_2%3a1.0~rc3++svn20100804-0.0_amd64.deb) ...
Unpacking replacement mplayer ...
dpkg: error processing /var/cache/apt/archives/mplayer_2%3a1.0~rc3++svn20100804-0.0_amd64.deb (--unpack):
 trying to overwrite '/usr/share/pixmaps/mplayer.xpm', which is also in package mplayer-gui 2:1.0~rc3++final.dfsg1-1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for hicolor-icon-theme ...
Processing triggers for menu ...
Processing triggers for man-db ...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Errors were encountered while processing:
 /var/cache/apt/archives/mplayer_2%3a1.0~rc3++svn20100804-0.0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up linux-image-2.6.32-5-amd64 (2.6.32-20) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.35-trunk-amd64
Found initrd image: /boot/initrd.img-2.6.35-trunk-amd64
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
Found linux image: /boot/vmlinuz-2.6.32-3-amd64
Found initrd image: /boot/initrd.img-2.6.32-3-amd64
Found linux image: /boot/vmlinuz-2.6.32-2-amd64
Found initrd image: /boot/initrd.img-2.6.32-2-amd64
Found linux image: /boot/vmlinuz-2.6.31-1-amd64
Found initrd image: /boot/initrd.img-2.6.31-1-amd64
Found linux image: /boot/vmlinuz-2.6.30-2-amd64
Found initrd image: /boot/initrd.img-2.6.30-2-amd64
Found linux image: /boot/vmlinuz-2.6.30-1-amd64
Found initrd image: /boot/initrd.img-2.6.30-1-amd64
Found linux image: /boot/vmlinuz-2.6.29-1-amd64
Found initrd image: /boot/initrd.img-2.6.29-1-amd64
Found linux image: /boot/vmlinuz-2.6.28-1-amd64
Found initrd image: /boot/initrd.img-2.6.28-1-amd64
Found linux image: /boot/vmlinuz-2.6.26-1-amd64
Found initrd image: /boot/initrd.img-2.6.26-1-amd64
Found linux image: /boot/vmlinuz-2.6.25-2-amd64
Found initrd image: /boot/initrd.img-2.6.25-2-amd64
Found linux image: /boot/vmlinuz-2.6.24-1-amd64
Found initrd image: /boot/initrd.img-2.6.24-1-amd64
File descriptor 32 (/dev/tty) leaked on lvs invocation. Parent PID 11821: /bin/sh
  No volume groups found
Found Mac OS X on /dev/sda2
done
Setting up linux-libc-dev (2.6.32-20) ...
Setting up synaptic (0.70~pre1) ...
Setting up libscim8c2a (1.4.9-5) ...
Setting up firmware-linux-free (2.6.32-20) ...
Setting up xul-ext-adblock-plus (1.2.1-3) ...
Setting up mobile-broadband-provider-info (20100804-1) ...
Processing triggers for menu ...
Press return to continue.


> 
> What version of os-prober was installed at the point when this message
> was produced?

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version                           Description
+++-=================================-=================================-==================================================================================
ii  os-prober                         1.39                              utility to detect other OSes on a set of drives

> 
> (I'm asking these questions because grub-pc doesn't call lvs directly.)
> 
> -- 
> Colin Watson                                       [cjwatson at debian.org]
> 
-------------- next part --------------
Package: grub-pc
Version: 1.98+20100804-2
Severity: wishlist



-- Package-specific info:

*********************** WARNING grub-setup left core.img in filesystem

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/f6f20b67-a6cf-4647-b98a-f79409c16aba / ext3 rw,relatime,errors=remount-ro,barrier=0,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-TOSHIBA_MK2035GSS_77FYT08QT
*********************** 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_gpt
insmod ext2
set root='(hd0,gpt3)'
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='(hd0,gpt3)'
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='(hd0,gpt3)'
search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
  set color_normal=black/black
  set color_highlight=magenta/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.35-trunk-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.35-trunk-amd64 ...'
	linux	/boot/vmlinuz-2.6.35-trunk-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-trunk-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35-trunk-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.35-trunk-amd64 ...'
	linux	/boot/vmlinuz-2.6.35-trunk-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-trunk-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.32-5-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.32-5-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-3-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.32-3-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-3-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet 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 part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.32-3-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-3-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
	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 part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.32-2-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-2-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet 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 part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.32-2-amd64 ...'
	linux	/boot/vmlinuz-2.6.32-2-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.32-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.31-1-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.31-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet 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 part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.31-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.30-2-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.30-2-amd64 ...'
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet 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 part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.30-2-amd64 ...'
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
	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 part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.30-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet 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 part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.30-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.29-1-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.29-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.29-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.29-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.29-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.29-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.29-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.29-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.28-1-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.28-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.28-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.28-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.28-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.28-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.28-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.28-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.26-1-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.26-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.26-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.26-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.26-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.26-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.26-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.26-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.25-2-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.25-2-amd64 ...'
	linux	/boot/vmlinuz-2.6.25-2-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.25-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.25-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.25-2-amd64 ...'
	linux	/boot/vmlinuz-2.6.25-2-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.25-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.24-1-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.24-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.24-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro quiet quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.24-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.24-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_gpt
	insmod ext2
	set root='(hd0,gpt3)'
	search --no-floppy --fs-uuid --set f6f20b67-a6cf-4647-b98a-f79409c16aba
	echo	'Loading Linux 2.6.24-1-amd64 ...'
	linux	/boot/vmlinuz-2.6.24-1-amd64 root=UUID=f6f20b67-a6cf-4647-b98a-f79409c16aba ro single quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.24-1-amd64
}
### 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 "Mac OS X (32-bit) (on /dev/sda2)" {
	insmod part_gpt
	insmod hfsplus
	set root='(hd0,gpt2)'
	search --no-floppy --fs-uuid --set 7d52494ab88b2816
        load_video
        set do_resume=0
        if [ /var/vm/sleepimage -nt10 / ]; then
           if xnu_resume /var/vm/sleepimage; then
             set do_resume=1
           fi
        fi
        if [ $do_resume = 0 ]; then
           xnu_uuid 7d52494ab88b2816 uuid
           if [ -f /Extra/DSDT.aml ]; then
              acpi -e /Extra/DSDT.aml
           fi
           xnu_kernel /mach_kernel boot-uuid=${uuid} rd=*uuid
           if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
              xnu_mkext /System/Library/Extensions.mkext
           else
              xnu_kextdir /System/Library/Extensions
           fi
           if [ -f /Extra/Extensions.mkext ]; then
              xnu_mkext /Extra/Extensions.mkext
           fi
           if [ -d /Extra/Extensions ]; then
              xnu_kextdir /Extra/Extensions
           fi
           if [ -f /Extra/devprop.bin ]; then
              xnu_devprop_load /Extra/devprop.bin
           fi
           if [ -f /Extra/splash.jpg ]; then
              insmod jpeg
              xnu_splash /Extra/splash.jpg
           fi
           if [ -f /Extra/splash.png ]; then
              insmod png
              xnu_splash /Extra/splash.png
           fi
           if [ -f /Extra/splash.tga ]; then
              insmod tga
              xnu_splash /Extra/splash.tga
           fi
        fi
}
menuentry "Mac OS X (64-bit) (on /dev/sda2)" {
	insmod part_gpt
	insmod hfsplus
	set root='(hd0,gpt2)'
	search --no-floppy --fs-uuid --set 7d52494ab88b2816
        load_video
        set do_resume=0
        if [ /var/vm/sleepimage -nt10 / ]; then
           if xnu_resume /var/vm/sleepimage; then
             set do_resume=1
           fi
        fi
        if [ $do_resume = 0 ]; then
           xnu_uuid 7d52494ab88b2816 uuid
           if [ -f /Extra/DSDT.aml ]; then
              acpi -e /Extra/DSDT.aml
           fi
           xnu_kernel64 /mach_kernel boot-uuid=${uuid} rd=*uuid
           if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
              xnu_mkext /System/Library/Extensions.mkext
           else
              xnu_kextdir /System/Library/Extensions
           fi
           if [ -f /Extra/Extensions.mkext ]; then
              xnu_mkext /Extra/Extensions.mkext
           fi
           if [ -d /Extra/Extensions ]; then
              xnu_kextdir /Extra/Extensions
           fi
           if [ -f /Extra/devprop.bin ]; then
              xnu_devprop_load /Extra/devprop.bin
           fi
           if [ -f /Extra/splash.jpg ]; then
              insmod jpeg
              xnu_splash /Extra/splash.jpg
           fi
           if [ -f /Extra/splash.png ]; then
              insmod png
              xnu_splash /Extra/splash.png
           fi
           if [ -f /Extra/splash.tga ]; then
              insmod tga
              xnu_splash /Extra/splash.tga
           fi
        fi
}
### 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

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.35          Debian configuration management sy
ii  grub-common              1.98+20100804-2 GRand Unified Bootloader, version 
ii  libc6                    2.11.2-2        Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1       2:1.02.48-2     The Linux Kernel Device Mapper use
ii  ucf                      3.0025          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.6      common files for the Debian Deskto

-- Configuration Files:
/etc/default/grub changed:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="quiet"


-- debconf information:
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
  grub-pc/linux_cmdline: fillme
* grub2/linux_cmdline: quiet
* 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: quiet
  grub-pc/install_devices_empty: false
* grub-pc/install_devices: /dev/disk/by-id/ata-TOSHIBA_MK2035GSS_77FYT08QT
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/partition_description:
  grub-pc/install_devices_disks_changed:
  grub-pc/mixed_legacy_and_grub2: true
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100813/1a9cecd0/attachment-0001.pgp>


More information about the Pkg-grub-devel mailing list