Bug#517369: installation-report: Wrong 30_otheros configuration file for grub2

Andrea Brenci andrea.brenci at libero.it
Mon Mar 9 09:07:28 UTC 2009


On Sun, Mar 08, 2009 at 01:15:49PM +0100, Felix Zielcke wrote:
> Uhm is this maybe the same problem as in #473401 and all of the merged bugs, i.e. a windows entry with wrong device?
> How does your 30_otheros look like?

Yes it is, but the problem is not limited to windows entries.
Here is my 30_otheros file (after manually fixing it):


#!/bin/sh
exec tail -n +3 $0

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
menuentry "Windows 95" {
	set root=(hd0,1)
	chainloader +1
}

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda2
menuentry "Windows NT (loader)" {
	set root=(hd0,2)
	chainloader +1
}

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda7.
menuentry "SuSE Linux 7.1 (i386) (on /dev/hda7)" {
	set root=(hd0,5)
	linux /vmlinuz root=/dev/hda7 
	initrd /initrd
}

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdb10.
menuentry "Debian GNU/Linux (Sarge DVD) (on /dev/hdb10)" {
	set root=(hd1,9)
	linux /vmlinuz root=/dev/hdb10 
	initrd /initrd.img
}


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdb11.
menuentry "Debian GNU/Linux (testing) (on /dev/hdb11)" {
	set root=(hd1,11)
	linux /vmlinuz root=/dev/hdb11 
	initrd /initrd.img
}


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdb6.
menuentry "Debian GNU/Linux (Sarge) (on /dev/hdb6)" {
	set root=(hd1,6)
	linux /vmlinuz root=/dev/hdb6 
	initrd /initrd.img
}


# This entry automatically added by the Debian installer for an existing
# hurd installation on /dev/hdb8.
menuentry "GNU/Hurd (on /dev/hdb8)" {
	set root=(hd1,8)
	multiboot /boot/gnumach.gz root=device:hd1s8
	module /hurd/ext2fs.static --readonly \
			--multiboot-command-line='${kernel-command-line}' \
			--host-priv-port='${host-port}' \
			--device-master-port='${device-port}' \
			--exec-server-task='${exec-task} -T typed ${root} \
			$(task-create) $(task-resume)'
	module /lib/ld.so.1 /hurd/exec '$(exec-task=task-create)'
}


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdb9.
menuentry "Debian GNU/Linux, (unstable) linux 2.6.21-2-k7 (on /dev/hdb9)" {
	set root=(hd1,9)
	linux /vmlinuz root=/dev/hdb9 selinux=1 
	initrd /initrd.img
}

#Minix
menuentry "Minix" {
	set root=(hd1,2)
	chainloader +1
}


Cheers,
Andrea





More information about the Pkg-grub-devel mailing list