Yoshinori K. Okuji wrote:
On Friday 23 April 2004 17:24, Russel Hill wrote:

When I install grub natively, this is what happens:
grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0,0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this in
not fatal)
 Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this in
not fatal)
 Running "install /boot/grub/stage1 (hd0,0) /boot/grub/stage2 p
/boot/grub/menu.lst"... succeeded
Done.


Why do you install GRUB into a partition instead of MBR?

We've tried it both ways (and many other permutations too), with no difference between them (so far). It just so happened that I posted the an attempt that installed to the partition.


Here are the results of our latest experiment.

We stopped the FAI install just prior to grub installation. By hand, we did the following:

1) mkdir -p /boot/grub
2) cp -a /usr/lib/grub/i386-pc/* /boot/grub
3) grub
4) root (hd0,0)
5) setup (hd0) (hd0,0)
6) quit

When we reboot grub hangs after displaying "Loading stage1.5" with no error message. Ctrl-Alt-Del has no effect.

The FAI Boot CD has a GRUB installation that allows us to boot using the kernel installed on the hard disc. Using that option we can:

1) boot
2) rm -rf /boot/grub
3) repeat the exact same steps as above

When we reboot, we get a grub prompt, as we should.

There are two notable differences (that I can think of) in the above:

1) In the first case, the we boot from the CD-ROM and install grub to the hard disc. In the second case we boot from and install to the hard disc.

2) In the first case, FAI boots up using a 2.4.24 kernel. In second case, we are booting using a 2.6.2 kernel.

If there are other distinctions, I don't know what they are.

Any help is appreciated,
Russel Hill

PS. Once again I apologize for the cruft below.

-----------------------------------------
This email message is intended only for the addressee(s) and contains information that 
may be confidential to and/or copyrighted by Key Technology.  If you are not the 
intended recipient, please notify the sender by reply email and immediately delete 
this email.  Use, disclosure or reproduction of this email by anyone other than the 
intended recipient(s) is strictly prohibited.  Any views expressed in the email are 
those of the individual sender unless the sender expressly states them to be the views 
of Key Technology.  No representation is made that this email or any attachments are 
free of viruses.  Virus scanning is recommended and is the responsibility of the 
recipient.



_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to