* Uli Middelberg <[EMAIL PROTECTED]> [0447 20:47]:
Dick Davies schrieb:
grub> find /boot/grub/stage1 (hd0,0,a)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/ufs2_stage1_5" exists... yes
Running "embed /boot/grub/ufs2_stage1_5 (hd0)"... failed (this is not fatal)
Running "embed /boot/grub/ufs2_stage1_5 (hd0,0,a)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst "... failed
Error 29: Disk write error
grub> quit
It will work when you install grub after booting from floppy disk or CD.
Wow, that's a bit messed up - I need to boot off a different disk before I can write to the MBR? Someone mentioned a GEOM quirk, is that what's stopping
me doing it from within freebsd?
I wonder why boot0cfg doesn't have the same problem?
You may create a bootable grub floppy with $ cd /boot/grub $ dd if=stage1 of=/dev/fd0 bs=512 count=1 $ dd if=stage2 of=/dev/fd0 bs=512 seek=1
Thanks, but if it's a freebsd thing I'll just install the MBR from one of the other OSes - do you know if I need our patched grub for the mbr to grok ufs2, or will a leenux one work?
Setting the sysctl: kern.geom.debugflags=16
will allow you to write the bootsectors right from grub-install while having a live root filesystem mounted.
-- ============================================================= = Bryan D. Liesner LeezSoft Communications, Inc. = = A subsidiary of LeezSoft Inc. = = [EMAIL PROTECTED] Home of the Gipper = ============================================================= _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"