Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 1996 12:04:15 -0500 (EST)
From:      Dave Thaler <thaler@armidale.ann-arbor.mi.us>
To:        questions@freebsd.org
Subject:   mount_msdos problems under 2.1
Message-ID:  <199601131704.MAA20480@armidale.ann-arbor.mi.us>

next in thread | raw e-mail | index | archive | help
I recently upgraded the kernel from 2.0.5 to 2.1.  /etc/fstab looks like this:

/dev/sd0a               /       ufs rw 1 1
/dev/sd0f               /dos    msdos rw 1 1
/dev/sd0e               /usr    ufs rw 1 1
/dev/sd0b               none    swap sw 0 0
proc            /proc   procfs rw 0 0

Now under a 2.0.5 kernel, the dos partition is mounted correctly.  I did
upgrade the mount utilities as well, but the 2.1 kernel fails to mount the
dos partition.  Manually invoking mount_msdos reports:

# mount_msdos /dev/sd0f /dos
mount_msdos: mount: Invalid argument
#

When the kernel boots, the 2.1 kernel (but not the 2.0.5 kernel) reports:

Jan  8 18:15:06 armidale kernel: changing root device to sd0a
Jan  8 18:15:06 armidale kernel: sd0: rejecting partition in BSD label: it isn't
 entirely within the slice
Jan  8 18:15:06 armidale kernel: sd0: start 528384, end 1056767, size 528384  
Jan  8 18:15:06 armidale kernel: sd0d: start 0, end 1057615, size 1057616
Jan  8 18:15:06 armidale kernel: sd0: rejecting partition in BSD label: it isn't
 entirely within the slice
Jan  8 18:15:06 armidale kernel: sd0f: start 32, end 528383, size 528352

What do I need to do to get the dos partition mounted under the new kernel?

Thanks,
Dave Thaler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601131704.MAA20480>