Mounting Ubuntu VMware Virtual drive on windows 7 host

Asked by zachary hiland

Hey guys, so I am running the latest (10.04.1) ubuntu desktop in VMware Workstation. i believe how i broke my system is i accidentaly moved the /var dir into the /usr dir with a mouse slip while running nautalis as root, causing the virtual machine to become unresponsive. so i rebooted ubuntu VM and got the error "init:ureadahead main process (266) terminated with status 5" - my first and only idea was to mount the virtual disk in windows 7 using vmwares disk mount whatever, which worked, but then windows came back and said it couldnt open the disk becuase i needed to format it, followed by an error saying it couldnt find the operating system and to make sure all the drivers were loaded. so i feel like i hit a dead end there.

Did i miss somthing? i also read i might be able to reinstall the ubuntu and not overright the /home dir,

sorry for the long post just want to be as clear as pissible, thanks guys (or girls)

Question information

English Edit question
Ubuntu vmware-player Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Best delance (olivier-delance) said :

I'm working with Virtual Box, but it should work with VMware.
I'm not sure that Ubuntu will reinstall properly in a single partition which contains a /home folder.
But I'm sure it will work with a dedicated partition.

Make a second hard disk.
Attach it to VM.
Boot VM on Ubuntu CD.
Mount both disk.
Copy /home in second disk.
Erase first disk, and cut "/" partition into a "/" and a "/home" partitions.
Copy files from second disk to "/home" partitions from first one.
Reinstall Ubuntu.

Revision history for this message
zachary hiland (zhiland) said :

So, I installed a second instance of ubuntu and mounted the first virtual drive to the second one and got the folders i needed, im gunna reinstall everything i need on the second one. practice makes perfect, thank you delance