Adding one partion prevents booting
I was out of space on my linux partitions and I decided to resize the remaining Windows partition from 5Gig down to 3,5Gig. The resizing went fine (with a partition manipulation program coming with Mandriva).
In the space that was left I created a new partition, which, not really understanding what I was doing, I created as /test .
Creating the partition went fine.
I then tried to format the partition and it failed. The program told me it renamed all following partitions to allow for the new one, so "hda5" became "hda6" etc.
The program told me to change the boot system (I just clicked "ok" since I couldn't do otherwise), then proposed me to reboot and...
Now linux cannot boot. There is a kernel panic because the partition hda5 isn't found.
I suspect very much that deleting the new partition would solve the problem.
I can still boot Windows but cannot find anything to tell the boot loader to look for linux in another partition. There is no point at which I can reach a command line.
So my questions are as follows:
1. Can I repair this from Windows ?
2. If not, must I get a live CD ? (I haven't any and am new to linux so it might take time).
3. Is there a set of commands that could give me the layout of my hard drive and delete/rename partitions ?
Thank you very much in advance for your answers !
Re: Adding one partion prevents booting
Originally Posted by ariadacapo
Not the partition only the bad line u write in ur fstab...
So to add a new partition u need to create it ( :lol: ) then to know how linux see it (hdaX) and be sure of that : make a fdisk -l . Then edit ur fstab the line must be something like that:
That is a partition I had to stock some data...
/dev/hdc6 /divx ext3 defaults 0 2
PS:u let mandriva create the filesystem on it for u or u use something l'ke mk2fs?