[pocket-linux] Beta testers wanted for GRUB boot disk instructions

dkis dkis at pacific.net.sg
Mon Mar 8 15:59:47 CST 2004


Hi Dave

i have tested the following just a moment ago in mandrake 9.2 pentium 
machine. i manage to follow the steps to get grub floppy disk up (bootable) 
but not yet with the kernel.

Some points that might be useful
- get the grub-0.94.tar.gz (not the grub-0.94.-i386.tar.gz)
- log in as super user or root user
- verify the directory /mnt/boot/grub before copying.

Deric


At 07:46 PM 3/8/2004 -0600, you wrote:
>Hi Everyone,
>
>I am working on rewriting the Pocket Linux Guide to use GRUB instead of 
>LILO.  One nice thing about using GRUB is that it's relatively easy to 
>build from source and I have written up some instructions to do just 
>that.  I would appreciate some help verifying the instructions.  If you 
>have a few free minutes please try out the procedure below and let me know 
>how it goes.
>
>(Note: I left out the part about building and installing a kernel to save 
>on time, but if you want to copy an existing kernel from the LILO boot 
>disk it should work.  You will have to load the kernel manually or create 
>a menu.lst file.  See Rick Stocker's instructions for help.)
>
>Dave
>
>
>
>Download the grub-0.94 source from ftp://alpha.gnu.org/gnu/grub
>
>
>Prepare a boot floppy
>
>bash# mke2fs -m0 /dev/fd0
>bash# mount /dev/fd0 /mnt
>
>
>Build GRUB
>
>bash# cd /usr/src/grub-0.94
>bash# export CC="gcc -mcpu=i386"
>bash# ./configure --host=i386-pc-linux-gnu --without-curses
>bash# make
>
>
>Copy the GRUB bootloader files to the floppy
>
>bash# mkdir -p /mnt/boot/grub
>bash# cp stage1/stage1 /mnt/boot/grub
>bash# cp stage2/stage2 /mnt/boot/grub
>bash# cp stage2/e2fs_stage1_5 /mnt/boot/grub
>
>
>Run the GRUB shell
>
>bash# umount /dev/fd0
>bash# grub/grub
>
>
>Install GRUB onto the boot floppy
>
>grub> root (fd0)
>grub> setup (fd0)
>grub> quit
>
>
>Boot from the GRUB floppy and explore the GRUB shell
>
>grub> help
>grub> help kernel
>grub> help boot
>grub> help halt
>grub> help reboot
>
>
>Remove the boot floppy and reboot the PC
>
>grub> reboot
>
>
>_______________________________________________
>Pocket-Linux mailing list
>Pocket-Linux at ufo.chicago.il.us
>http://ufo.chicago.il.us/cgi-bin/mailman/listinfo/pocket-linux




More information about the Pocket-Linux mailing list