文章原创,转载请注明链接
昨天刚装了UBUNTU 9.10,晚上因断电升级未成功,今早开机后出现:
one or more of the mounts listes in /etc/fstab cannot yet be mounted:
swap:waiting for /dev/mapper/cryptswap1
A maintenance shell will be started.
CONTROL-D will terminate this shell and retry.
* cryptswap(stared)...
重启后由GRUB选择进入安全模式,并按ESC键,然后输入 cat /etc/fstab 打开fstsb文件如下:
#/etc/fstab:static file system information.
#
#Use 'blkid -o value -s UUID' to print the universally unique identifier
#for a device this may be used with UUID=ad a more robust way to name
#devices that works even if disks are added and removed.See fstab(5).
//NTFS和FAT的分区检测功能(注释)
<file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
#/was on /dev/sda5 during installation
UUID=4296519C-67AA-4E1E-8075-7C67CC92A2BD /ext4 errors=remount -ro 0 1
#swap was on /dev/sda6 during installation
#UUID=b62cc69f-1bfc-471a-8c37e4c-45091 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,isp9660 user,nuauto,exec,utf8 0
/dev/fd0 /media/floppy0 auto rw,user noauto,exee,utf8 0 0
/dev mapper/cryptswap1 none swap sw 0
可参考的注释:
>:fstab文件中的errors=remount-ro
errors=remount-ro will mount the filesystem in read-only mode in case there are any problems with it. This prevents you from potentially losing data using a bad filesystem
If this happened to one of your partitions, you should probably boot from a livecd or floppy (if it's not on your root partition, you can boot on recovery mode) and then run fsck on the affected disk.
->引自http://hi.baidu.com/joshualmf1984/blog/item/1afddab44728ce778ad4b235.html
>:fstab文件内容信息
修改/etc/fstab文件加快Linux系统的启动速度
试了半天各种办法还是不好使,后来重装了一次,终于好使了。回忆起来应该是,第一次装时没有把以前的分区格掉造成的。