Mounting XP drive

Daniel Bye freebsd-questions at slightlystrange.org
Mon Nov 20 03:58:01 PST 2006


On Mon, Nov 20, 2006 at 12:07:52AM -0800, Rem P Roberti wrote:
> I've been having trouble mounting a Windows XP drive.  Acutally, the 
> drive mounts, but the system always starts up in single user mode.  Here 
> is the fstab:
> 
> # Device                Mountpoint      FStype  Options         Dump    
> Pass#
> /dev/ad0s1b             none            swap    sw              0       0
> /dev/ad0s1a             /               ufs     rw              1       1
> /dev/ad0s1d             /usr            ufs     rw              2       2
> /dev/ad1s1              /c              ntfs    rw              1       1
> /dev/acd0               /cdrom          cd9660  ro,noauto       0       0
> 
> When I try to boot the system I get this error message:
> 
> fsck: exec fsck_ntfs for /dev/ad1s1 in /sbin:/usr/sbin: no such file or 
> directory
> 
> The system then goes directly into single user mode.  When I ctrl-D my 
> way into multi-user mode and do a df I find that the Windows drive is 
> mounted.  I just can't seem to avoid the initial boot into single-user 
> mode.
> 
> Any help would be appreciated.

Change the final column for /dev/ad1s1 to 0.  When set to 1, it causes
init to run fsck against a mount point before mounting it.  As you have
found, there is no fsck_ntfs, because at the moment ntfs support in
FreeBSD is read-only.

Dan

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061120/813afbd0/attachment.pgp


More information about the freebsd-questions mailing list