PDA

View Full Version : Beware deleting Linux partitions


Gina
26th July 2007, 22:24
Thought my experience of the above might prove useful to others.

As many of you will know, I have divided my second HD into lots of partitions for trying out various Linux distros and versions. I decided to rationalise things a bit and combine two 7.5GB partitions by deleting one and resizing the other upwards to fill the space. After a few attempts (having probs with partitions mounted or in use) I succeeded in deleting sdb9 partition.

However, a bit later when looking for some info I found I couldn't boot from the HD (I'd been using LiveCD) - getting grub error 15. I'd had a similar problem before after playing about, which I fixed by installing a fresh Ubuntu. Seemed easier than fixing the MBR so I did that again - which worked. I then had a working Ubuntu system and could boot into Win XP again. But my other versions of Ubuntu didn't work.

I have now found what happened and fixed it. Deleting a partition changed the numbering of some of the other partitions resulting in the /etc/fstab files being wrong and pointing to the wrong partitions. No wonder the system didn't like it! :lol Anyway, I've now edited the various fstab files and it's all back to normal. :)

So there you are - watch what you do with partitions!