Partitions messed up after resizing WIndows partition. Cannot start Ubuntu 12.04
Hello.
I have a Desktop PC with 1 hard disk drive running Windows XP and Ubuntu 12.04.
The hard disk (sda) was structured the following way :
1 NTFS partition for Windows XP
1 ext4 partition for /
1 ext4 partition for /home
1 swap partition
1 NTFS partition for personal Data
I was running out of disk space so I decided to "steal" some space from the Windows partition.
I thought it would be better to do this from Windows (I guess this was a bad idea?) using Partition Magic.
Unfortunately, now neither Windows nor Ubuntu starts.
Grub seems to work properly, so I get the option to try and boot either Ubuntu or Windows.
If I boot Windows I get a message that a disk UUID was not found and blue screen after some seconds. I tried booting Safe mode or command prompt but with no luck either, but all these are now out of scope (Windows problems ;).
As far as Ubuntu is concerned, normal boot was not successful - I was getting a message that some drives were not mounted and to press M for manual mount etc... - (although at some time after trying some stuff --see below--, I managed to get the login screen, but after entering my password, a few seconds later I was sent back to the login screen (I suspect that this is because the /home folder is not mounted?)
The only way I could try something was by selecting recovery mode booting and entering the Root command prompt. Fixing and checking filesystems did not seem to work.
So my question is: What's next? I've googled in order to find a solution but I got a bit confused with blkid, fstab, mounting, UUIDs etc?
I've seen messages while attempting to fix the problem that swap is not mounted or /home is already mounted etc...
With blkid I see 4 partitions and their UUIDs. I have a feeling that the /sda# numbers are changed/messed up and auto-mounting attempts fail. I guess that I do not see the 5th partition (the one I created with partition magic) since it should still be unallocated, right?
Could you please let me know how to check the contents/files/data of each partition, how to correctly properly mount them and how to configure fstab? Should I and is there a way/reason to change the sda# numbers? Is there a change that a partition has also a different sda# number after resizing the Windows NTFS partition?
A a stepwise approach would be useful... Can I do something with recovery mode/root or should I use a live CD (the live cd is the .iso I download from ubuntu site and selecting the Test Ubuntu option, right?)
Unfortunately I do not have copy/paste capability as my PC does not boot due to the above things. (It is myu work PC and now I'm at home).
Sorry for this question bombing and thank you in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- TASSOS PANAGIOTOPOULOS
- Solved:
- Last query:
- Last reply: