|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
||||
|
||||
|
FreeBSD problem booting after un-mounting ext2 slices
Hi all,
My fstab looks like this: Code:
# Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /home ufs rw 2 2 /dev/ad0s1d /usr ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/ad1s1 /share ext2fs rw 1 1 /dev/ad3s1 /opt ext2fs rw 1 1 Whenever I reboot the system it halts during the boot process, because it wants to fsck_ext2fs the ext2 slices. This must be because it's not unmounting properly when it shuts down. I have seen some workarounds to this bug, and today implemented my own like this: Code:
#!/usr/local/bin/bash
for i in `mount | grep ext2 | cut -f1 -d' '`
do
umount -f $i
done
this script is then called at the end of the rc.shutdown script, but still the system wants a manual fsck when booting back up. Has anybody seen this and found a fix in freebsd 6 ? christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#2
|
||||
|
||||
|
well I finally worked through the problem and whilst I didn't find a direct fix, there are a couple of possible workaround - one of which was to unset the 'pass' flag for the linux slices listed in the fstab. I've documented it all here: freebsd and linux partition problems Just incase that's any use to anybody...
christo |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > FreeBSD problem booting after un-mounting ext2 slices |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|