Oliv'
February 5th, 2010, 11:59 AM
Hello,
İ have different partitions for home, var, usr, tmp, swap, root and boot.
One day in a suicidal mood İ decided to get me more room for my home. So I used gparted to shrink, increase and move all those partitıons. All in one time. What should have happen happened...
After some minutes of good work (half of the total workload was done) gparted told me that no, the var partition couldn't be moved. Do I want to save the details ? well yes why not. And it stopped its actions. I thought that even if something went wrong some kind of mechanism would allow my computer to recover or at least that the part that was done correctly would still be there.
İncorrect wish. Gparted was lost. I had this message 'İnvalid partition table on /dev/sda - wrong signature 0'. No partitions anymore. My heart sank in my feet.
İ started again my computer and could still boot. But only the boot,swap and root partitions were still accessible. The others had obviously their UUİD wrong.
The problem was my home partition with gigas of data that went to the heaven of datas....
İ have to confess that it's not the first time that İ use carelessly gparted and got havock on my computer. So İ didn't panic, went in the recovery shell and looked around.
İ discovered 'parted'. İ suppose that parted is gparted without the g. But it has one option that saved my datas : rescue. İ used this option and could (miraculously it seemed at this time ) recover my home partition. And a correct partition table as a bonus side effect. (well, correct in the sens that at least parted/gparted didn't send me anymore error messages about the partition table, but only home, root , swap and boot were visible, tmp, usr and var were r.i.p)
After that İ could reinstall ubuntu with new partitions except for my beloved home partition that İ reused.
So İ have some question :
- why gparted crashed my partitions ??? İ really don't get it. Why would it work better if İ have done all the shrinking and moving steps one at a time ? İf the user is doing something that's obviously too dangerous or out of reach of gparted maybe it shouldn't start ?
- why the 'rescue' option isn't in gparted ?
- why the rescue option (ıts name be praised by the Lord of Careless Computer Users) could find my home file system not the tmp, usr and var ones ?
Take care,
Oliv'
İ have different partitions for home, var, usr, tmp, swap, root and boot.
One day in a suicidal mood İ decided to get me more room for my home. So I used gparted to shrink, increase and move all those partitıons. All in one time. What should have happen happened...
After some minutes of good work (half of the total workload was done) gparted told me that no, the var partition couldn't be moved. Do I want to save the details ? well yes why not. And it stopped its actions. I thought that even if something went wrong some kind of mechanism would allow my computer to recover or at least that the part that was done correctly would still be there.
İncorrect wish. Gparted was lost. I had this message 'İnvalid partition table on /dev/sda - wrong signature 0'. No partitions anymore. My heart sank in my feet.
İ started again my computer and could still boot. But only the boot,swap and root partitions were still accessible. The others had obviously their UUİD wrong.
The problem was my home partition with gigas of data that went to the heaven of datas....
İ have to confess that it's not the first time that İ use carelessly gparted and got havock on my computer. So İ didn't panic, went in the recovery shell and looked around.
İ discovered 'parted'. İ suppose that parted is gparted without the g. But it has one option that saved my datas : rescue. İ used this option and could (miraculously it seemed at this time ) recover my home partition. And a correct partition table as a bonus side effect. (well, correct in the sens that at least parted/gparted didn't send me anymore error messages about the partition table, but only home, root , swap and boot were visible, tmp, usr and var were r.i.p)
After that İ could reinstall ubuntu with new partitions except for my beloved home partition that İ reused.
So İ have some question :
- why gparted crashed my partitions ??? İ really don't get it. Why would it work better if İ have done all the shrinking and moving steps one at a time ? İf the user is doing something that's obviously too dangerous or out of reach of gparted maybe it shouldn't start ?
- why the 'rescue' option isn't in gparted ?
- why the rescue option (ıts name be praised by the Lord of Careless Computer Users) could find my home file system not the tmp, usr and var ones ?
Take care,
Oliv'