LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-19-2008, 09:40 PM   #1
Draxx
LQ Newbie
 
Registered: May 2008
Posts: 5

Rep: Reputation: 0
Question How do I fix a deleted partition table with NTFS and ext3 partitions?


I installed a new distro and used lilo instead of grub. Thought I would try it out. I booted into my new install and was happy till I needed to get back into windows. Disk error.

I read a bit about it and found that if I used windows recovery it may fix the problem so I could get back into windows. Then I could fix the lilo to boot into linux via a live cd.

That is not what happened. I think that since the dual boot was on the same physical hard drive I replaced the partition table.

Now I can't boot to any OS on the drive. I want to recover data in my storage partition.

I have read about many ways to do this but am a little hesitant to do so because they seem to deal with only ntfs or Linux partitions. not different file systems on the same drive.

Any resources and/or comments would be greatly appreciated!
 
Old 05-19-2008, 09:52 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Hi Draxx, Welcome to lq. There is a thread here that may help. I'd suggest reading it all before you begin, including links.
Good luck. ;-)
 
Old 05-19-2008, 10:23 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,138

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Before you do anything, get a Linux liveCD booted, and issue "fdisk -l" (as root/sudo) and post it here.
That'll give you (us) a better idea of the state of the partition table.
 
Old 05-20-2008, 09:08 AM   #4
Draxx
LQ Newbie
 
Registered: May 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Will do!

Well thanks for the welcome and the replys!

I'll post the output of fdisk -l and read the thread after work tonight!
 
Old 05-20-2008, 07:54 PM   #5
Draxx
LQ Newbie
 
Registered: May 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Output of "sudo fdisk -l"

Heres the output;

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000001

Device Boot Start End Blocks Id System
ubuntu@ubuntu:~$

This mean that there is no partitions at all?
 
Old 05-20-2008, 08:06 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,138

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Looks like it - post the output of this
Code:
sudo dd if=/dev/sda count=1 | hd -C | less
 
Old 05-22-2008, 11:42 AM   #7
Draxx
LQ Newbie
 
Registered: May 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Got it working!

I read up on the link to the thread posted eqariler. I found out that gparted has testdisk on it. So I used testdisk and and recovered the partitions except for my old windows xp partition.

So I was able to get my information off of the storage partition. To do that I used a live CD and an external hard drive.

I am now installing OS's and repartitioning.

Thanks for the help! I'll be back! =)
 
  


Reply

Tags
deleted, disk, partition, recovery


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
HD (Partition) Cloning for SCSI-based NTFS and EXT3 partitions DaneelGiskard Linux - Software 1 05-20-2007 12:30 PM
Partition table Deleted bcf2 Linux - Software 6 03-17-2006 09:23 AM
recoverying deleted data from ext3 partitions Thorrn4 Linux - Software 2 01-18-2006 04:50 PM
Recovering a deleted partition table while partitions still mounted suger Linux - General 5 01-02-2006 01:31 AM
ext3 partitions deleted when win xp disc inserted Sweetness Linux - Hardware 1 04-30-2005 07:53 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration