[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GRUB 2 for booting a Hurd system (was: Real partition under QEMU)
From: |
Thomas Schwinge |
Subject: |
GRUB 2 for booting a Hurd system (was: Real partition under QEMU) |
Date: |
Wed, 4 Oct 2006 10:35:00 +0200 |
User-agent: |
Mutt/1.5.6+20040907i |
[Cced to bug-hurd as it might also be of interest there.]
Hello!
On Tue, Oct 03, 2006 at 07:10:29PM +0200, Luca Capello wrote:
> On Sun, 01 Oct 2006 14:46:22 +0200, Samuel Thibault wrote:
> > Luca Capello, le Sun 01 Oct 2006 11:48:58 +0200, a ??crit :
> >> Well, here what appears on the grub console (grub-0.95 or
> >> grub-0.97):
> >>
> >> grub> root (hd0)
> >> Filesystem type unknown, using whole disk
> >
> > Ok. So you need a partition table indeed (and give (hd0,0) as root
> > to grub). Please also give root=device:hd0s1 as parameter to
> > gnumach...
>
> For the record, grub2 supports the solution Samuel posted before,
> i.e. it recognizes the partition /dev/hda10 as a real partition, even
> if there's no partition table on it.
GRUB 2 supports reading files from a ``whole disk partition'', you mean?
One more reason to switch to GRUB 2...
> Thus, my grub2 entry for qemu is the following:
>
> 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)'
> }
>
> Note the single quotes used to escape $, { and }.
As far as I know you're the first one to have tried and succeed with
booting GNU Mach and the Hurd using GRUB 2. Congratulations!
Regards,
Thomas
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- GRUB 2 for booting a Hurd system (was: Real partition under QEMU),
Thomas Schwinge <=