unable to mount a drive by uuid
I'll give you the info and then the problem:
fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00071057
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 1309 10410120 83 Linux
/dev/hda3 9208 9729 4192965 82 Linux swap / Solaris
/dev/hda4 1310 9207 63440685 83 Linux
Partition table entries are not in disk order
cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda2
UUID=22cd74be-
#/dev/hda4
# UUID=204005e9-
/dev/hda4 /home ext3 defaults 0 2
# /dev/hda1
UUID=8616c7f3-
# /dev/hda3
UUID=0f3c0398-
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2007-10-26 12:25 0f3c0398-
lrwxrwxrwx 1 root root 10 2007-10-26 12:25 22cd74be-
lrwxrwxrwx 1 root root 10 2007-10-26 12:25 8616c7f3-
sudo tune2fs -l /dev/hda4
tune2fs 1.40.2 (12-Jul-2007)
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: 204005e9-
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal filetype needs_recovery sparse_super
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 7898880
Block count: 15859712
Reserved block count: 634388
Free blocks: 11947734
Free inodes: 7859847
First block: 0
Block size: 4096
Fragment size: 4096
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 16320
Inode blocks per group: 510
Last mount time: Fri Oct 26 12:25:36 2007
Last write time: Fri Oct 26 12:25:36 2007
Mount count: 13
Maximum mount count: 30
Last checked: Wed Oct 24 21:31:07 2007
Check interval: 0 (<none>)
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal inode: 8
Journal backup: inode blocks
My problem is that I understand the benefits of mounting by UUID in fstab and I would like to do so with my /dev/hda4. I need to mount it to /home. But whenever I change the fstab entry to be the UUID for /dev/hda4, it says it is unable to find the drive and then I end up with no /home which produces myriad errors. Have I done something to my /dev/hda4 to make it unmountable by UUID? If so, how can I fix it without reformating?
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- ag65151
- Solved:
- Last query:
- Last reply: