[ale] Grub

Chris Fowler ChrisF at computone.com
Wed Dec 27 15:43:57 EST 2000







Is the the incorrect config file for Grub?


I'm using it like this: grub < /boot/grub/menu


--- /boot/grub/menu ---------------
title= Linux HD Install
install= (fd0)+1 (fd0) (fd0)/boot/grub/stage2 0x8000 p 
root= (hd0,6)
kernel= /boot/kernel root=/dev/hda6
-----------------------------------


Basically I want to create a floppy disk that does the following


1. Loads Stage 1
2. Loads Stage 2
3. Executes the kernel
4. The kernel mounts /dev/hda6 and runs init


I do not want the floppy disk to laod anything from the hard drive.  I only wan the kernel the mount the hard drive and continue from there.

Below are my error messages


------- Output of grub < menu ------
GRUB  version 0.5.96.1  (640K lower / 3072K upper memory)


 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]


grub> title= Linux HD Install


Error 27: Unrecognized command


grub> install= (fd0)+1 (fd0) (fd0)/boot/grub/stage2 0x8000 p 


Error 6: Mismatched or corrupt version of stage1/stage2


grub> root= (hd0,6)


Error 22: No such partition


grub> kernel= /boot/kernel root=/dev/hda6


Error 12: Invalid device requested


grub> 
-----------------------------------------------


This program is very complicated and any help would be appreciated.  A link to a GOOD howto will help too.


Thanks,
Chris









More information about the Ale mailing list