grub-devel
[Top][All Lists]
Advanced

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

Re: Are BSD partitions not supported?


From: C. P. Ghost
Subject: Re: Are BSD partitions not supported?
Date: Wed, 19 May 2010 21:41:27 +0200

2010/5/19 Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden>:
> Regards
> Vladimir 'φ-coder/phcoder' Serbinenko

Trying the *second* patch (now with -L/usr/lib32 instead of removing
-lgcc):

phenom# grub-install --root-directory=/mnt --modules=ufs2 /dev/md5555
/usr/local/sbin/grub-setup: warn: Your embedding area is unusually
small.  core.img won't fit in it..
/usr/local/sbin/grub-setup: warn: Embedding is not possible.  GRUB can
only be installed in this setup by using blocklists.  However,
blocklists are UNRELIABLE and their use is discouraged..
/usr/local/sbin/grub-setup: error: if you really want blocklists, use --force.

phenom# grub-install --force --root-directory=/mnt --modules=ufs2 /dev/md5555
/usr/local/sbin/grub-setup: warn: Your embedding area is unusually
small.  core.img won't fit in it..
/usr/local/sbin/grub-setup: warn: Embedding is not possible.  GRUB can
only be installed in this setup by using blocklists.  However,
blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.

With the new patch, grub boots successfully:

grub> root (hd0,<TAB>
Possible partitions are:

Partition hd0,msdos1: Unknown filesystem
Partition hd0,msdos1,bsd1: Filesystem type ufs2 - Last
modification time 2010-05-19 19:30:34 Wednesday,
UUID 4bf43c35b902989d

grub> root (hd0,msdos1,a)
error: no such partition.

grub> root (hd0,msdos1,bsd1)
(hd0,msdos1,bsd1): Filesystem is ufs2.

grub> ls /
boot/

grub> ls /boot
grub/

grub> halt

That's great! :-)

Here's the updated image:

http://www.cordula.ws/tempdir/bsddisk_3.7z

The next test would be to create two slices on an image,
and redo the tests on the second slice (which won't start
at offset 0 of the disk, so we can be sure the logic is
correct). Will do this tomorrow with the patched grub,
and report back.

Thanks again for the great help. :-)
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]