Re: Bootloader Problems

Samuel Thibault <[email protected]>
Newsgroups gmane.os.hurd.general
Message-ID <[email protected]>
[email protected], le Fri 31 Dec 2010 21:28:46 -0500, a écrit :
> title Debian Hurd Direct
> root (hd1,0)
> kernel /boot/gnumach.gz root=device:hd1s1 -s
> module	/hurd/ext2fs.static ext2fs \
> 	--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 exec /hurd/exec '$(exec-task=task-create)'
> 
> The kernel is apparently loading and providing messages, but I get no
> shell or other interaction ability.
> So two questions:
> What are the right commands to boot Debian Hurd from Legacy Grub?

You need to drop ext2fs and exec from the module command. They are
glitches due to incompatibility between grub1 and grub2, blame them for
that.
The correct way is thus

root (hd1,0)
kernel /boot/gnumach.gz root=device:hd1s1 -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)'

Could somebody put both grub1 and grub2 syntax clearly on the wiki?

> Or is there a way to chroot to it and install Grub2 again?

You need to run a Hurd system to be able to chroot into a Hurd system.

> (Or do I have to run installation again?)

You can chroot from the Hurd installer itself (without reinstalling,
that is), but for that you need to mount it, e.g.

# mkdir /target
# settrans /target /hurd/ext2fs /dev/hd1s1
# chroot /target

Samuel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.