help-hurd
[Top][All Lists]
Advanced

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

Re: Bootloader Problems


From: Samuel Thibault
Subject: Re: Bootloader Problems
Date: Sun, 2 Jan 2011 16:12:28 +0100
User-agent: Mutt/1.5.12-2006-07-14

htm@lavabit.com, 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]