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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-19-2008, 09:40 PM
|
#1
|
LQ Newbie
Registered: May 2008
Posts: 5
Rep:
|
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!
|
|
|
05-19-2008, 09:52 PM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
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. ;-)
|
|
|
05-19-2008, 10:23 PM
|
#3
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,437
|
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.
|
|
|
05-20-2008, 09:08 AM
|
#4
|
LQ Newbie
Registered: May 2008
Posts: 5
Original Poster
Rep:
|
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!
|
|
|
05-20-2008, 07:54 PM
|
#5
|
LQ Newbie
Registered: May 2008
Posts: 5
Original Poster
Rep:
|
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?
|
|
|
05-20-2008, 08:06 PM
|
#6
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,437
|
Looks like it - post the output of this
Code:
sudo dd if=/dev/sda count=1 | hd -C | less
|
|
|
05-22-2008, 11:42 AM
|
#7
|
LQ Newbie
Registered: May 2008
Posts: 5
Original Poster
Rep:
|
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! =)
|
|
|
All times are GMT -5. The time now is 02:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|