Bad fstab prevents boot.

Dang.
I am trying to get a 250GB fat32 USB drive mounted at boot. I added the following to my /etc/fstab:

Code:
/dev/da1s1	/mnt	msdosfs	rw,large	0	3

Now my system doesn't boot :( Which stinks, because it's offsite. What is wrong with my fstab? :p

Thanks!
-Peter
 
PeterStory said:
my system doesn't boot
From single user mode,
# mount -u /
will allow you to remount the root partition read/write. You will then be able to edit /etc/fstab (using /rescue/vi) and remove or comment off the offending entry.

PeterStory said:
What is wrong with my fstab?
Is the device already inserted and is it recognized as da1 (i.e. second USB/SCSI device)?
 
Some USB devices don't come up in time to be mounted on bootup. To allow for that, there's
/boot/loader.conf
Code:
kern.cam.boot_delay=10000

There's also the "late" option for /etc/fstab (mount(8)).
 
There's also the "late" option for /etc/fstab
Does my 'large' option exist?
I'll definitely try the late option.

Is the device already inserted and is it recognized as da1
Before shutting down, I made sure I could mount the drive. This worked:
Code:
sudo mount -t msdosfs -o large /dev/da1s1 /mnt

Thanks for the advice!
I'll post an update Tuesday, assuming I can get access to the machine.
Grrr... I'll have to lug a monitor and keyboard into the server room! :e
-Peter
 
Mission Accomplished!

Huzzah!
I started the machine in Single-User Mode, and edited my /etc/fstab to look like this:
Code:
/dev/da1s1		/mnt		msdosfs	rw,large,late	0	0
I added the 'late' option, and changed the Pass# to zero.

Thanks for all the help!
Now I can get to work on Samba!
-Peter Story
 
Back
Top