[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GRUB2 and GNU/kFreeBSD



Hi,

On Sun, Apr 12, 2009 at 04:54:47PM +0200, Robert Millan wrote:
> > Anyone managed to get the Debian grub maintainance scripts working
> > from inside GNU/kFreeBSD?
> > 
> > My recent try (just a few weeks ago) failed badly because grub-probe
> > (and therefore update-grub) expects harddisks to be block devices
> > while they are character devices under (k)FreeBSD.
> 
> This was recently fixed in upstream.  According to Felix (CCed), grub-setup
> still has trouble, though:
> 
>   grub-setup: error: cannot open `/dev/da0' in open_device()
> 
> perhaps it's as simple as device.map not having the right device
> names?

!3 Z3 ?0 L1 root@metisse:ttyp5 (-zsh 4.3.9) 20:11:15 [~] # cat /boot/grub/device.map 
(hd0)   /dev/ad0
You have new mail.                                                                                                    
!4 Z4 ?0 L1 root@metisse:ttyp5 (-zsh 4.3.9) 21:03:55 [~] # mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
linprocfs on /proc (linprocfs, local, noexec, nosuid)
!5 Z5 ?0 L1 root@metisse:ttyp5 (-zsh 4.3.9) 21:04:03 [~] # 

Looks fine for me.

It's an EeeBox with only one harddisk btw.

> Is a different device node needed for raw device access?

Not that I know, but I'm not sure either.

		Regards, Axel
-- 
Axel Beckert - abe@deuxchevaux.org, abe@noone.org - http://noone.org/abe/


Reply to: