W dniu 2011-01-06 18:18, Thomas Jürges pisze:
Yes, filesystems run unchecked and system displays messages to use dosfsck. I attach script from /c/mint/bin. There is whole dos-fs portion commented out (it broke the booting process). I'm also attaching console output.-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2011-01-06 09:13, Lars Schmidbauer wrote:Please check (or post here) files /etc/fstab and /c/mint/bin/fscheck.sh. In fscheck.sh, you can comment (with #) section from "for drv in $dosdrive; do" to "done" (inclusive). So fscheck for VFAT drives is disabled.It is not a matter of the fscheck.sh script but of accessing drives that contain dosfs or tosfs and not ext2.
Regards, Pawel
Cheers, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEARECAAYFAk0l+VwACgkQMiyRSD9s+zXNTQCcCpUWxx3VHI1LhKlobj9i/tmX tOsAnAvIBVT0vZ8/MVyNXFrBtUP5dFXt =RWhB -----END PGP SIGNATURE-----
#!/c/mint/bin/sh # Check filesystems on normal boot or after systemcrash. # if [ -f /etc/fastboot ]; then echo "Fast boot. Skipping filesystem checks." rm -f /etc/fastboot else ext2drives=`grep -v '^#' /etc/fstab | \ while read drv mntp type owner group perm; do if [ "X$type" = Xext2 ]; then echo "$drv" fi done` mfsdrives=`grep -v '^#' /etc/fstab | \ while read drv mntp type owner group perm; do if [ "X$type" = Xminix ]; then echo "$drv" fi done` dosdrives=`grep -v '^#' /etc/fstab | \ while read drv mntp type owner group perm; do if [ "X$type" = Xdos ]; then echo "$drv" fi done` for drv in $ext2drives; do echo; echo "Checking filesystem on drive $drv." fsck.ext2 -p -C - $drv: if [ $? -ge 2 ]; then echo echo "Warning: e2fsck FAILED ($?)" echo " Starting single user shell. Fix the" echo " filesystem on drive $drv by running fsck.ext2" echo " and REBOOT!" echo sh -si < /dev/console > /dev/console 2>&1 fi done for drv in $mfsdrives; do echo; echo "Checking filesystem on drive $drv." fsck.minix -p $drv: if [ $? -ne 0 ]; then echo echo "Warning: fsck FAILED" echo " Starting single user shell. Fix the" echo " filesystem on drive $drv by running fsck.minix" echo " and REBOOT!" echo sh -si < /dev/console > /dev/console 2>&1 fi done # for drv in $dosdrives; do # echo; echo "Checking filesystem on drive $drv." # fsck.vfat -p $drv: # if [ $? -ne 0 ]; then # echo # echo "Warning: fsck FAILED" # echo " Starting single user shell. Fix the" # echo " filesystem on drive $drv by running fsck.vfat" # echo " and REBOOT!" # echo # sh -si < /dev/console > /dev/console 2>&1 # fi # done fi
Attachment:
20110106(003).jpg
Description: JPEG image
begin:vcard fn;quoted-printable:Pawe=C5=82 G=C3=B3ralski n;quoted-printable;quoted-printable:G=C3=B3ralski;Pawe=C5=82 email;internet:pawel.goralski@nokturnal.pl version:2.1 end:vcard