bin/100436: [sysinstall] live CD fixit mount does not find mount_msdosfs

Bengt Ahlgren bengta at sics.se
Mon Jul 17 14:30:13 UTC 2006


>Number:         100436
>Category:       bin
>Synopsis:       [sysinstall] live CD fixit mount does not find mount_msdosfs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 17 14:30:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Bengt Ahlgren
>Release:        FreeBSD 6.1-RELEASE
>Organization:
>Environment:
>Description:
I used the fixit mode of the install CD with the live
filesystem CD option, which mounts the CD as /mnt2.

I then tried to mount a USB stick with a msdos filesystem,
but the mount command didn't find the mount_msdosfs program.

>How-To-Repeat:
Boot from install CD (disc1)
Choose fixit
Choose the live filesystem option
Insert USB stick

Fixit# mount -t msdos /dev/da0s1 /mnt
mount: exec mount_msdosfs not found in /sbin:/usr/sbin: No such file or directory
Fixit#

>Fix:
Since the mount_msdosfs program is there on the CD, an easy
workaround is:

Fixit# ln -s /mnt2/sbin/mount_msdosfs /sbin
Fixit# mount -t msdos /dev/da0s1 /mnt

(As a side note, this proved to be a very useful way to run
the ntfsresize program! Don't forget to include the shared
library and run ldconfig!)

If it is undesirable to build the mount program using a different
_PATH_SYSPATH (from paths.h), a solution to the problem would be
for sysinstall to change the /sbin symlink to point to /mnt2/sbin.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list