LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   making a grub boot floppy PLS HELP!! (https://www.linuxquestions.org/questions/linux-software-2/making-a-grub-boot-floppy-pls-help-367094/)

mlu 09-26-2005 04:16 AM

making a grub boot floppy PLS HELP!!
 
i've installes RHEL4 WS in my workstation, during installation i chose do not install a bootloader , now after installing it only comes to grub> , so what i want to know is how to make a boot floppy to access my os.

THANKS.

dudeman41465 09-26-2005 04:27 AM

If your OS doesn't even start then just re-install and tell it to make a bootloader, but I don't use grub, people tend to have problems with it, so I use Lilo and have never had a problem.

SkyEye 09-26-2005 05:40 AM

I'm sorry I can't agree with you dudeman41465. People tend to have problems with whatever bootloader they use, regardless wheather it's GRUB, LILO or something else. I choose GRUB over LILO for it's power and flexibility.

mlu, tell what you want to do. Would you mind installing GRUB on your hard disk? Or you want it only on a floppy?

Anyway as dudeman41465 said installing GRUB will do any good only if your installation is in good shape. Give some more details about your requirements. Since your problem looks like only a boot loader problem, doing a GRUB re-installation might do.

Not now, John! 09-26-2005 06:30 AM

Create menu.lst file and copy it to grub folder on the floppy. Then copy
/usr/share/grub/i386-pc/stage1
/usr/share/grub/i386-pc/stage2

and
/usr/share/grub/i386-pc/fat_stage1_5 (if your floppy is FAT formated)
to same folder on floppy.
After that in console type:
Code:

grub
> root (fd0)
> setup (fd0)
> quit


SkyEye 09-26-2005 06:47 AM

Let us go through the initial steps. Boot from the 1st CD of RHEL. Type
Code:

linux rescue
at the boot prompt. When it asks you to try to mount already installed distribution, coose yes. If it went successful it will tell you that the existing installation is mounted under "/mnt/sysimage"

Then
Code:

chroot /mnt/sysimage
to chroot in to it.

From here you have 2 options:
1. Install GRUB to hard disk
Code:

grub-install /dev/hda
Here I assume your hard disk is /dev/hda. If it's different, replace it with yours.

2. Install GRUB to a floppy

Not now, John! gives you more information about the disk creating. See it also. Remember your paths may vary.

For more information try searching in Google Linux Search

mlu 09-27-2005 10:25 PM

THANKS GUYS


All times are GMT -5. The time now is 02:54 AM.