[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: still no luck with grub
From: |
Daniel Senderowicz |
Subject: |
Re: still no luck with grub |
Date: |
Sat, 31 Jan 2004 15:35:33 -0800 (PST) |
I GOT IT!
Here is what I did:
1) I generated a grub floppy (on an empty floppy) by doing:
prompt> mount /dev/fd0 /mnt/floppy
prompt> mkdir /mnt/floppy/boot; mkdir /mnt/floppy/boot/grub
prompt> cp -p /usr/share/grub/i386-pc/stage* /mnt/floppy/boot/grub
2) I called /sbin/grub and did:
grub> root (fd0)
grub> setup (fd0)
grub> quit
3) I rebooted the system with the floppy inserted and got the
"grub>" prompt.
Here is where it gets tricky. For some obscure reason to me,
perhaps related to the fact that is a SCSI disk controlled by an
AIC-7880, the grub device under the emulator is (hd1), while
under the grub program itself is (hd0). So it follows like this:
4) Remove the floppy and did:
grub> root (hd0,0)
grub> setup (hd0)
and came a message saying what was done in terms of the "install"
command (can't remember now).
5) Here is the tricky part. I re-typed the same command "install"
printed before with the addition of the parameter 'd' right after
the "stage1" stuff.
6) Rebooted and got the grub screen from which I was able to choose
the kernel to boot.
I hope this helps.
Cheers,
Dan
>Things are getting worse out here. Before I was getting the
>"grub>" prompt. But after I did the "setup" I only get a string
>"GRUB" and hangs. Furthermore, on the setup that anaconda did
>automatically during the RH installation, the HD was (hd0), but
>after doing the "setup" it changed to (hd1). Here is the
>transaction:
>
>grub> root (hd1,0)
> Filesystem type is ext2fs, partition type 0x83
>
>grub> setup (hd1)
> Checking if "/boot/grub/stage1" exists... no
> Checking if "/grub/stage1" exists... yes
> Checking if "/grub/stage2" exists... yes
> Checking if "/grub/e2fs_stage1_5" exists... yes
> Running "embed /grub/e2fs_stage1_5 (hd1)"... 16 sectors are embedded.
>succeeded
> Running "install /grub/stage1 (hd1) (hd1)1+16 p (hd1,0)/grub/stage2
> /grub/grub.conf"... succeeded
>Done.
- Re: still no luck with grub, (continued)
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/22
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/22
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/23
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/23
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/24
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/31
- Re: still no luck with grub,
Daniel Senderowicz <=