求助帖 关于开机出错求助

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
firemiles
帖子: 9
注册时间: 2011-06-21 14:21

求助帖 关于开机出错求助

#1

帖子 firemiles » 2011-06-21 15:49

外链了半天图都失败了,只能手打了:
Ubuntu 10.10
an error occurred while mounting 0
press S to skip mounting or M for manual recovery
哪位好心人帮忙看看是什么原因,我改了fstab后就出了这个错误
# /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= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=a3f17fd4-82b4-4c04-85cd-e40bd321f222 / ext4
errors=remount-ro 0 1
UUID=42fffbc3-b1ca-4f8a-be2f-fd8529ed7189 /boot ext4
defalts 0 2
# swap was on /dev/sda1 during installation
UUID=702b733d-75d5-47dd-a94a-a63fd59f71b5 none swap sw 0 0
头像
懒蜗牛Gentoo
论坛版主
帖子: 7362
注册时间: 2007-03-02 17:36
系统: Linux Mint

Re: 求助帖 关于开机出错求助

#2

帖子 懒蜗牛Gentoo » 2011-06-21 18:23

改了哪里?UUID,文件系统格式等,你都确认是对的?
虽然世上没有完美的东西,但这并不影响我们追求完美,因为只有偏执狂才TMD能成功。
10.04新手入门——笨兔兔讲述自己的故事
funicorn
帖子: 1318
注册时间: 2005-09-13 4:56
系统: Ubuntu Jammy Jellyfi

Re: 求助帖 关于开机出错求助

#3

帖子 funicorn » 2011-06-21 18:49

提示不是都说的很清楚了么

代码: 全选

blkid -o /dev/sdaX -s UUID
检查输出的UUID与你的/分区或者/boot分区的是不是一致,如果不一致就改过来
firemiles
帖子: 9
注册时间: 2011-06-21 14:21

Re: 求助帖 关于开机出错求助

#4

帖子 firemiles » 2011-06-22 16:56

rwxrwxrwx 1 root root 10 2011-06-22 16:39 42fffbc3-b1ca-4f8a-be2f-fd8529ed7189 -> ../../sda3
lrwxrwxrwx 1 root root 10 2011-06-22 16:39 702b733d-75d5-47dd-a94a-a63fd59f71b5 -> ../../sda1
lrwxrwxrwx 1 root root 10 2011-06-22 16:39 a3f17fd4-82b4-4c04-85cd-e40bd321f222 -> ../../sda2
以上是UUID应该没有错误,文件系统也没错吧,一共才ext4和swap两种
以下是原来的fstab

代码: 全选

# /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= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda2 during installation
UUID=a3f17fd4-82b4-4c04-85cd-e40bd321f222 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda1 during installation
UUID=b56da8ec-8dbc-4466-bb5c-6bc4f39db7ba none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: 求助帖 关于开机出错求助

#5

帖子 daf3707 » 2011-06-22 17:03

firemiles 写了: UUID=a3f17fd4-82b4-4c04-85cd-e40bd321f222 / ext4
errors=remount-ro 0 1
UUID=42fffbc3-b1ca-4f8a-be2f-fd8529ed7189 /boot ext4
defalts 0 2
这断行是你手误?
firemiles
帖子: 9
注册时间: 2011-06-21 14:21

Re: 求助帖 关于开机出错求助

#6

帖子 firemiles » 2011-06-22 17:28

换行会错误吗
头像
懒蜗牛Gentoo
论坛版主
帖子: 7362
注册时间: 2007-03-02 17:36
系统: Linux Mint

Re: 求助帖 关于开机出错求助

#7

帖子 懒蜗牛Gentoo » 2011-06-22 18:09

好像一个挂载点必须写到一行里吧。
虽然世上没有完美的东西,但这并不影响我们追求完美,因为只有偏执狂才TMD能成功。
10.04新手入门——笨兔兔讲述自己的故事
firemiles
帖子: 9
注册时间: 2011-06-21 14:21

Re: 求助帖 关于开机出错求助

#8

帖子 firemiles » 2011-06-22 18:23

问题已经解决了,原来是我把default拼成了defalt :em06 ,另外换行没有影响,因为只要改变编辑框大小就会自动换行,谢谢大家的热心帮助 :em11
firemiles
帖子: 9
注册时间: 2011-06-21 14:21

Re: 求助帖 关于开机出错求助

#9

帖子 firemiles » 2011-06-22 18:30

我又试了下,打回车换行确实会报错,谢谢7楼
回复