LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Attempted to Install Ubuntu on a partition but has have Windows Boot ablitiy (https://www.linuxquestions.org/questions/ubuntu-63/attempted-to-install-ubuntu-on-a-partition-but-has-have-windows-boot-ablitiy-864021/)

stefanmclean 02-21-2011 06:58 AM

Attempted to Install Ubuntu on a partition but has have Windows Boot ablitiy
 
I tried installing the linux ubuntu OS on my work laptop along side windows xp. On installation I had to manually create the partition as it wouldnt automatically create one. So in conclusion, I can run Linux fine with no probs, but all my files I believe are still on the harddrive, but in the unallocated space. I need to get them back.

Does anyone have any ideas? I've looked at GPartition but I can only seem to view the disk size ect.

Any help/suggestions would be appricated.

Ta,
Stefan.

syg00 02-21-2011 07:10 AM

From a terminal (for Ubuntu probably Applications -> Accessories -> Terminal) run this and post all the output - you'll need to enter your password
Code:

sudo fdisk -l
(that's a lower case ell)

stefanmclean 02-22-2011 03:50 AM

Thanks alot for replying :)

hmmm... I take it the below shows I have infact wiped it? If so, do you know of any software that i can use on linux to recover the files? And would i have to make the unallocated section of the hard drive a usable partition.

Quote:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ae396

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2490 19998720 83 Linux

syg00 02-22-2011 07:08 AM

Yes, I was afraid of something like that from your initial description.
Looking at that, you've re-formatted the first 20 Gig or so of the disk. On a normal install that'd be a XP partition - maybe the XP partition. Almost certainly you have trashed the meta-data of the (NTFS ?) partition(s) - to locate the data (as in files) will require scanning the drive. Normal suggestions under Linux are Testdisk and photorec (does many file types not just photos). Both from the same people here - plenty of posts here on LQ about both.
You may be lucky with the files in the unallocated area - in the Linux partition, it's unlikely you'll get much/any back.
A forensic tool called foremost is also useful.

Seems there are also free Windows based tools that work; haven't tried any myself.

Be prepared to spend a lot of time on recovery - potentially days to weeks.

Forgot the new partition question - gparted is a GUI PartitionManager lookalike; should be available under Ubuntu.


All times are GMT -5. The time now is 06:00 AM.