FreeBSD 8.2 Add second hard drive multi-boot
freebsd at edvax.de
Thu Jun 21 22:07:32 UTC 2012
On Thu, 21 Jun 2012 09:59:19 -0700 (PDT), leeoliveshackelford at surewest.net wrote:
> Although the FreeBSD operating system seems to see the second
> hard drive, it does not mount it upon startup.
FreeBSD won't mount anything until explicitely told so. Check
the output of dmesg (e. g. "dmesg | grep ^ad" or "dmesg | grep ^da")
for the drive designation and issue the command yourself. If
everything works, you can add an entry to /etc/fstab to make
it mount on startup, e. g.
# device target type options d p
# -------- ---------- ---- --------- - -
/dev/ad1s1 /xp/system ntfs ro,noauto 0 0
/dev/ad1s2 /xp/data ntfs ro,noauto 0 0
It might be worth applying other options like -M (mask) to have
the missing attributes and "misinterpretation as executables"
of NTFS file systems corrects. See the manual for details.
> It does not appear in the fstab file.
This file is not generated automatically. It's an entirely
"user serviceable" part of the OS.
> I attempted to mount it manually using the mount command, without
> success, just to see if any of the data files could be read.
Can you show the mount command? I think it will be something
# mount_ntfs -o ro /dev/ad1s1 /mnt
If you need write access, ntfs3g / FUSE would be a good tool.
Also see the port "ntfsprogs" which contains useful tools for
dealing with NTFS.
> I ran fsidk -B on the zeroeth sector of the second hard drive, but
> that did not seem to help.
You need to apply boot0cfg to install the initial boot blocks.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions