G'day there Anders,
> I did this during the weekend so I have it in fresh memory :)
...then tell your memory 'thanks' from me, as it worked well =)
> You have to add ufs filesystem support in the kernel. Under partition
> types you have to add PC BIOS->BSD disklabel support.
Yep, I did that. About 8 times. I don't know what I was doing wrong, but I
couldn't even get the new kernels to mount vfat or ntfs. I've built kernels before &
never had the same problems, but I just couldn't figure out what was going wrong.
Still, I've now got this kernel working OK. It's linux-2.4.22, while the earlier ones
I couldn't get to work were linux-2.4.20-gentoo-r6. I don't think the kernel version
was the problem though, I've probably stuffed something up somewhere with the first
(non-working) bunch.
I *did* learn not to issue make instructions while talking with the phone
stuck between your ear & your shoulder - make modules_install is *not* the same as
make modules install <grin>.
Be that as it may, my current kernel allows me to use the mount command to
access my BSD fs, just not the contents.
lsmod shows:
Module Size Used by Not tainted
ufs 51392 1 (autoclean)
nls_cp437 4348 3 (autoclean)
vfat 10636 3 (autoclean)
fat 32408 0 (autoclean) [vfat]
nls_iso8859-15 3356 4 (autoclean)
ntfs 53824 1 (autoclean)
ext3 63876 1 (autoclean)
jbd 42128 1 (autoclean) [ext3]
should there be an entry showing something like "Module - pc bios partition
tables support; Size - ?????; Used by - ?; (autoclean); [ufs]"?
I've obviously got ufs file system support, but there's no mention of the
partition tables and since I can't see them on the mount point then I obviously need
that support. The options were selected my configuration, although I don't now recall
whether as modules or hardwired in. I'll run it again and select them permanently, but
I know I've successfully run vfat as a module before today so I'd have expected ufs
partitions to do the same.
> Then just mount -r /dev/hd* -t ufs /mnt/bsd
Yup. I did that, and that bit worked, thankyou.
> This is read only since write support isn't completed/stable.
Easy fixed. I won't write to it from Gentoo =).
> This worked for a FreeBSD4 partition.
Mine's kind of working for FreeBSD4.8. I'm sure that the secret lies in the
partition support, but it just doesn't seem to want to work for me. Even the basic
Gentoo kernel (from genkernel) had a similar lsmod result. No mention of partition
support at all, although if it's compiled in, would it still show up as a module?
Probably not.
See ya
Ken McLennan
Brisbane, Australia
--
[EMAIL PROTECTED] mailing list