Can anyone help with this please?
I had 5 partitions on my HDD (self explanatory terms)
Virtual sda1
Data sda2
/ sda5
home sda6
swap
From within kubuntu, using gparted, I deleted sda1 and resized sda2, the purpose being to make the best use of the available free-space. Whilst the operation was successful, the mount point (Data) was lost, and I found no way within gparted of assigning a mount point to the partition. Worse, the operation seems to have removed key information relating to the others too with the result that on reboot the file system check fails. It seems my fstab file may have got messed up.
I have tried using the live CD. If I try the installation routine, I can assign mount points to the various partitions without formatting - that is with the exception of root. As my system no longer bears any relationship to a new 9.04 install I would like to avoid that if I can. The partitions themselves are there and Okay. In the live CD I can see them and navigate my way through the directories. My question is - is there some utility I can use from the command line that will enable me to recover this?
Thanks in advance
Edit: Here is my (very weird) fstab
# /etc/fstab: static file system information.
#
# Use 'vol_id --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 defaults 0 0
# / was on /dev/sda5 during installation
UUID=b133a2f8-36d4-402a-a1cc-d463f7c321a6 / ext4 relatime,errors=remount-ro 0 1
# /Data was on /dev/sda2 during installation
UUID=c659be87-4631-4475-ba75-d36132faf2f7 /Data ext3 relatime 0 2
# /Virtual was on /dev/sda1 during installation
UUID=f698013e-5397-49f7-982f-d8a12aa453b7 /Virtual ext3 relatime 0 2
# /home was on /dev/sda6 during installation
UUID=6c9e67c9-8a07-42d0-8cf0-e03bbcf6c06a /home ext3 relatime 0 2
# swap was on /dev/sda7 during installation
UUID=4dfa54b3-e841-4752-b1cb-3d9d57f3f724 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
I had 5 partitions on my HDD (self explanatory terms)
Virtual sda1
Data sda2
/ sda5
home sda6
swap
From within kubuntu, using gparted, I deleted sda1 and resized sda2, the purpose being to make the best use of the available free-space. Whilst the operation was successful, the mount point (Data) was lost, and I found no way within gparted of assigning a mount point to the partition. Worse, the operation seems to have removed key information relating to the others too with the result that on reboot the file system check fails. It seems my fstab file may have got messed up.
I have tried using the live CD. If I try the installation routine, I can assign mount points to the various partitions without formatting - that is with the exception of root. As my system no longer bears any relationship to a new 9.04 install I would like to avoid that if I can. The partitions themselves are there and Okay. In the live CD I can see them and navigate my way through the directories. My question is - is there some utility I can use from the command line that will enable me to recover this?
Thanks in advance
Edit: Here is my (very weird) fstab
# /etc/fstab: static file system information.
#
# Use 'vol_id --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 defaults 0 0
# / was on /dev/sda5 during installation
UUID=b133a2f8-36d4-402a-a1cc-d463f7c321a6 / ext4 relatime,errors=remount-ro 0 1
# /Data was on /dev/sda2 during installation
UUID=c659be87-4631-4475-ba75-d36132faf2f7 /Data ext3 relatime 0 2
# /Virtual was on /dev/sda1 during installation
UUID=f698013e-5397-49f7-982f-d8a12aa453b7 /Virtual ext3 relatime 0 2
# /home was on /dev/sda6 during installation
UUID=6c9e67c9-8a07-42d0-8cf0-e03bbcf6c06a /home ext3 relatime 0 2
# swap was on /dev/sda7 during installation
UUID=4dfa54b3-e841-4752-b1cb-3d9d57f3f724 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
Comment