e2label does not work
Posted on 2004-11-16
I have added a new hard drive on my machine and I use the following steps to mount it.
1. Create the partition using fdisk /dev/sda
2. mkfs /dev/sda
3. Convert it to ext3 using tune2fs –j /dev/sda1
4. Label it using #e2label /dev/sda1 /mnt/data2
5. Create the mount point.
6. Add in the fstab LABEL=/mnt/data2 /mnt/data2 ext3 defaults 1 2
If I mount manually using mount /mnt/data2 it works
When rebooting though it cannot find it automatically and takes me into single user mode