Ubuntuがdisk driveエラーで起動しない
Xubuntu 13.10で以下のようなエラーが出て起動できませんでした。
The disk drive for /home is not ready yes or not present.
私のHDDのパーティションは以下のような感じになっています。
/dev/sda2 | /dev/sda7 | /dev/sda5 |
---|---|---|
Windows7 | /home | / |
/home
に当たる/dev/sda7
の部分がマウントできていないようだったので、起動時にマウントするディスクを設定します。
The disk drive for /home is not ready yet or not present.
Continue to wait, or Press S to skip mounting or M for manual recovery.
のメッセージでMを押し、コマンドモードに入ります。
~$ blkid
/dev/sda1:...
...
/dev/sda7: UUID=hogehoge...
blkid
で起動したいディスクのUUIDを調べてメモします。
~$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' 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> ... /dev/sda7 /home ext2 defaults 1 2
のようになっているので、この/dev/sda7
のところを
UUID=[さっきメモしたUUID] /home ext2 errors=remount-ro 0 1
に編集します。
これで起動することができました。めでたし。
参考
How to mount drive in /media/userName/ like nautilus do using udisks - Ask Ubuntu