[Newlug] grub
Timothy Bolz
bolzt at efn.org
Wed Jun 30 22:16:28 CDT 2004
GaveUp
Ok, you have linux on one of your hard drive partions. Grub should find it.
Ther first thing you'll need is to make a grub boot floppy.
according to the grub manual
cd /usr/share/grub/i386-pc
dd if=stage1 of=/dev/fd0 bs=512 count=1
dd if=stage2 of=/dev/fd0 bs=512 seek=1
boot your computer with this floppy.
At the grub prompt type
find /boot/grub/stage1
This will print where grub is on the hard drives. You will then take the
output of that and put it in the next command. Where x is the numbers from
that output.
root(hdx,x)
setup(hd0)
The find command should find any /boot/grub/stage1 files even if you have
more than one which I have. So I used the one I use the most. The
root(hdx,x) tells grub to boot this partition. Setup will install grub on
the MBR of the primary hard drive.
I finally wrote those three commands down and put it in some notes I have for
things I want tor remember how to do. Since it's not every day I'm
installing grub.
If it boots let me know. I hope it does.
Tim
More information about the Newlug
mailing list