LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-21-2011, 06:58 AM   #1
stefanmclean
LQ Newbie
 
Registered: Feb 2011
Posts: 4

Rep: Reputation: 0
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.
 
Old 02-21-2011, 07:10 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
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)
 
1 members found this post helpful.
Old 02-22-2011, 03:50 AM   #3
stefanmclean
LQ Newbie
 
Registered: Feb 2011
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 02-22-2011, 07:08 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
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.

Last edited by syg00; 02-22-2011 at 07:10 AM. Reason: gparted
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem with dual boot UBUNTU 10.04-Windows 7:no such device no such partition N_A_B Linux - General 13 10-22-2010 02:57 PM
How to partition Windows XP disk to install Ubuntu without removing Windows c.arpon Linux - Newbie 6 08-24-2010 05:01 PM
Want to use Windows Boot Loader - Install to Boot Sector of Linux Partition? Xenarios Linux - Newbie 7 07-30-2010 03:41 AM
Dual Boot Issue after Ubuntu attempted upgrade-using two hard drives boilers78 Linux - General 2 10-27-2008 08:35 PM
resizing windows partition safely to install ubuntu 7 on a laptop jurgendengo Linux - General 1 05-05-2007 06:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration