[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Grub2 menu entry



Hello!

Please don't Cc: me, I read the list ;-)

On Mon, 09 Oct 2006 21:55:13 +0200, Javier-Elias Vasquez-Vivas wrote:
> I tried the menu entry included in the bug, and it didn't work for
> me.  Then I tried several combinations for embedding chars inside
> single quotes, and nothing worked for me.

Does hurd boots or not?  It should do it just with the following, but
then automatically reboot:
=====
menuentry "Debian GNU/Hurd" {
	set root=(hd0)
	multiboot /boot/gnumach.gz root=device:hd0
}
=====

> Can you confirm the menu entry?

Yes, the following is the grub.cfg I use for /dev/hda10 on qemu:
=====
set default=0
set timeout=5

menuentry "Debian GNU/Hurd" {
	set root=(hd0)
	multiboot /boot/gnumach.gz root=device:hd0
	module /hurd/ext2fs.static \
	       --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)'
}

menuentry "Debian GNU/Hurd (single-user mode)" {
	set root=(hd0)
	multiboot /boot/gnumach.gz root=device:hd0 -s
	module /hurd/ext2fs.static \
	       --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)'
}
=====

> Good to know you got it working though, :).

Don't give up, I spent a whole Sunday to get it working ;-)

Thx, bye,
Gismo / Luca

Attachment: pgpciBlSorjqe.pgp
Description: PGP signature


Reply to: