LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-17-2006, 12:44 AM   #1
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Rep: Reputation: 30
Is there anyway to get things running once partition tables are damaged?


i setup (hd0,0) and thence did a fixboot which screwed everything over big time. Now i can't get into linux recovery anymore which really blows.

Is there anyway to salvage those partitions? I know i can recover the data itself but I really want to just have my partion table back.
 
Old 07-17-2006, 05:36 AM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
If you have a knoppix disk handly there are several tools on there that can be used to rebuild your partition table.
 
Old 07-17-2006, 07:23 AM   #3
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
I do have knoppix. Can you name some of these tools please? I'm currently on a 26 hour no-sleep computer fix it spree and so far i've turned up nothing then i come and read your terrific post except somehow you managed to leave out the point.. what are you honestly thinking? It's like if i were to answer the question i posted with a response like this: "yes its possible, there are tools out there that can do it, go to google there are various items you could search for that might help you."
 
Old 07-17-2006, 07:31 AM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
There are quite a few partition repair tools on the Knoppix CD to try, I found gpart to be one of the best ones to start with, but read up on the docs.
 
Old 07-17-2006, 07:35 AM   #5
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
alright i guess it will have to come to that then, thanks. The reason i dread having to use gpart would be because typical linux gives errors all the way through the load so i'm stuck with a command line and I just started learning bash commands.
 
Old 07-17-2006, 08:04 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Geminias
i setup (hd0,0) and thence did a fixboot which screwed everything over big time. Now i can't get into linux recovery anymore which really blows.

Is there anyway to salvage those partitions? I know i can recover the data itself but I really want to just have my partion table back.
The only way I would know what was going on here was by reading your duplicate post in the Newbie forum (Not supposed to post duplicate threads...)

You may find it easier to re-install Linux. Note also that if you put GRUB on a floppy, the Windows install is untouched. You can always put it on the mbr later.
 
Old 07-17-2006, 09:01 AM   #7
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Try running 'testdisk' from the knoppix disk. Many times I've recovered a bad partition table using it. It looks for signatures that start new filesystems and rebuilds the partition table from there.
 
Old 07-17-2006, 05:05 PM   #8
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
Thanks Matir, I downloaded Testdisk 6.4 prior to your post and it wasn't able to fix it. On the site it says it is limited to 128GB hard drives because of something or other and my hard drive is 250GB, I tried it anyways and it didn't work. Is there a higher version on knoppix?
 
Old 07-17-2006, 05:41 PM   #9
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
The 128GB limitation is on operating systems with 28 bit LBA representations, whereas 48 bit LBA (which Linux supports) allows for drives up to 131072 TB in size. Did Testdisk tell you it could not handle your disk's size? Were you working from binary or source?
 
Old 07-17-2006, 08:57 PM   #10
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
I was working with binary with a windows version of testdisk. It said that it found 240 cylinders but that it suspected the drive could be up to 250 or something like that. It said it could recover my windows partition but not my linux one so i let it write the new partition table but it didn't work.
 
Old 07-17-2006, 09:03 PM   #11
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Ahh, I suggest trying a Linux LiveCD version of it.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rescue a damaged partition Timer Linux - General 4 10-07-2005 03:54 PM
Partition damaged at suse 9.1 install Sven Korner Linux - Newbie 5 08-12-2004 08:24 AM
Damaged ext3 partition drigz Linux - Hardware 1 07-03-2004 12:09 PM
Damaged partition after installation ratavaz Mandriva 1 03-22-2004 04:49 PM
Xandros Desktop damaged my XP partition.. why ? Santorres Linux - General 1 12-23-2003 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:04 AM.

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