Re: grub on -current?

2003-11-21 Thread Matthias Schuendehuette
Hi Nate,

On Friday 21 November 2003 21:11, Nate Lawson wrote:
> Is anyone using this successfully?  I had to install it from Linux. 
> The grub.conf below works when installed by the Linux grub-install
> but FreeBSD's port always fails with the below messages.  Package:
> grub-0.92

Yes, I'm using grub but yes, I also installed from Linux. The problem 
seems to be GEOM, which doesn't allow to write the bootsector to a disk 
which has mounted filesystems on it. So if you have / on the bootdisk, 
there's no chance but to boot grub from floppy and install it from 
there.

Ahm, nearly. There seems to be a sysctl (...geom.debug=16 ?) which 
allows to write the bootsector, but you better ask phk directly - I'm 
not sure...
-- 
Ciao/BSD - Matthias

Matthias Schuendehuette , Berlin (Germany)
PGP-Key at  and  ID: 0xDDFB0A5F

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


grub on -current?

2003-11-21 Thread Nate Lawson
Is anyone using this successfully?  I had to install it from Linux.  The
grub.conf below works when installed by the Linux grub-install but
FreeBSD's port always fails with the below messages.  Package: grub-0.92

The other problem is I think grub cannot boot UFS2 partitions so I'm using
UFS1.

laptop# grub-install /dev/ad0
/dev/ad0 does not have any corresponding BIOS drive.

laptop# grub-install '(hd0)'
/dev/ad0s4a does not have any corresponding BIOS drive.

laptop# cat /boot/grub/grub.conf
default 0
timeout 10

title Windows
root (hd0,0)
makeactive
chainloader +1

title  FreeBSD
root   (hd0,3,a)
kernel /boot/loader

title  Linux
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5

Thanks,
Nate
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"