Re: GRUB install question for HURD
On 7/10/07, Teague MacRoot <hdflhtp@bellatlantic.net> wrote:
Well you have two options that will work.
1) You could edit your existing menu.lst file (I see that you are dual
booting) with the correct information to boot GNU, or
b. You could copy an existing ~/grub directory into your GNU /boot
directory (as you suggested) and then boot via the chainloader +1
command in your existing grub (your existing menu.lst file would need to
have an entry for GNU added as well you will need to activate grub on
your GNU install).
If you do not know how to utilize the chainloader +1 command or how to
activate grub on your GNU partition, post a query. Let us know how you
make out.
thanks Teague. i just booted HURD through the GRUB installed on Arch :-)
to provide some help to some other newbie in future, i am posting my
"/boot/grub/menu.lst" file from Arch LiGnux (well, that is my
invention -> LiGnux ;-)
[arnuld@arch ~] $ cat /boot/grub/menu.lst
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/hda (hd0)
# /dev/hdb2 (hd1,1)
# /dev/hda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# general configuration:
timeout 25
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
title Arch GNU
root (hd0,0)
kernel /vmlinuz26 root=/dev/sda5 ro vga=773
initrd /kernel26.img
# (1) Arch Linux
title Arch Fallback
root (hd0,0)
kernel /vmlinuz26 root=/dev/sda5 ro
initrd /kernel26-fallback.img
# (2) GNU HURD
title HURD
root (hd0,3)
kernel /boot/gnumach.gz root=device:hd0s4
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)
#(3) HURD
#title GNU HURD
#rootnoverify (hd0,0)
#makeactive
#chainloader +1
[arnuld@arch ~] $
--
http://arnuld.blogspot.com/
Reply to: