Quote:
Originally Posted by amartlk
Hi
I tried LABEL=/dev/hda6 /mountpoint ext3 defaults 1 2 but still same error as
"unable fsck.ext3 unable to ressolve 'LABEL=/dev/hda6 "
|
A label is the name you gave the filesystem, not the device name. If you know the device node is /dev/hda6, then just use /dev/hda6. However, for modern versions of the kernel, the device node would be /dev/sda6.
You could also use "UUID=<UUID #>" instead, where the UUID # is the UUID of the filesystem. This will allow you to mount the filesystem, even if you changed the partitioning.
You can discover the Label, UUID and filesystem type using "blkid":
sudo /sbin/blkid /dev/sda6
or
sudo /sbin/blkid /dev/sda*
to list info about all partitions on the first hard drive.
Code:
jschiwal@qosmio:~> sudo /sbin/blkid /dev/sda*
/dev/sda1: LABEL="TOSHIBA SYSTEM VOLUME" UUID="14D23645D2362AFE" TYPE="ntfs"
/dev/sda2: LABEL="SQ004753V05" UUID="145266D35266B95E" TYPE="ntfs"
/dev/sda4: LABEL="HDDRECOVERY" UUID="7CEC8E10EC8DC4BC" TYPE="ntfs"
/dev/sda5: UUID="d2b1c4ed-b440-1894-4ddb-6bd9e7081e1e" TYPE="swap"
/dev/sda6: UUID="6bb36361-d9bd-43a8-bdb8-bc2eb23105d5" TYPE="ext4"
/dev/sda7: UUID="cc874c16-bfcf-4b71-ba7f-8d6cdb212347" TYPE="ext4"
The device nodes are in the first column. The LABEL is listed only if the filesytem has one.