LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 08-07-2006, 04:17 PM   #1
jonsson
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Kubuntu Feisty, Fedora Core 3
Posts: 22

Rep: Reputation: 15
Question Partition recovery (OnTrack Disk Manager gone)


I suppose that, strictly speaking, this is not a hardware issue but it seemed to fit best here?

Anyway, I had an old computer. A few years ago I bought an 80 GB disk for it, only to discover that it did not support such large disks. However, IBM provided something called OnTrack Disk Manager from their website. After installing this on the drive I could use the its full capacity.

The drive was installed as hda and the original 6 GB drive was installed as hdb. IIRC, hda contained 2 FAT32 partitions, 2 ext3 partitions and a Linux swap partition.

Then I installed Ubuntu on hdb, because I did not want to mess with my existing systems (Red Hat, Win98, Debian) on hda. However, even though I installed Ubuntu on hdb, it still installed Grub on hda (whithout my permission I might add) and over wrote OnTrack Disk Manager rendering hda useless. I had nothing I really needed on hda and I had work to do so I just ignored this at the time and went on using my freshly installed Ubuntu system on hdb.

But now I would like try and recover my files. I don't use that computer anymore and I have mounted the disk in one of them external cases that you plug into the USB port. I had hoped that would be enough, since this computer shouldn't have a problem with large disks. But of course it wasn't that easy.

I have tried testdisk and it finds two of my partitions but gets the sizes wrong. It seems promising, though. It seems that if I could only figure out the (fake) CHS value set by OnTrack I should be able to recover the partitions?

Any hints on how to proceed?
 
Old 08-07-2006, 04:35 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,530

Rep: Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674
OnTrack Disk Manager shifts all disk accesses by 63 sectors and you can try to use sda=remap (change sda to the device ID the drive) of the boot parameter to enable this shift. I do not know if this will work with the drive connected using USB.

REF:
http://www.faqs.org/docs/Linux-HOWTO...isk-HOWTO.html
 
Old 08-09-2006, 03:12 PM   #3
jonsson
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Kubuntu Feisty, Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
That seems promising. But it did not work. Possibly because the USB disk is discovered later in the boot process (even if it is plugged in) and so does not exist at boot?

If so, is there a way to set that parameter later?
 
Old 08-09-2006, 03:38 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,530

Rep: Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674
Didn't think it would work. Next suggestion is to compile the USB and SCSI modules into the kernel or add the SCSI/USB modules into the initial ramdisk(initrd).
 
Old 08-09-2006, 04:35 PM   #5
jonsson
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Kubuntu Feisty, Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
Whoaaa! I think there's a good chance I'll end up trashing my current system as well... Will have a look at those methods as soon as I have time.
 
Old 08-09-2006, 05:17 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,530

Rep: Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674
What about sticking the drive back into the computer?
 
Old 08-10-2006, 12:03 PM   #7
jonsson
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Kubuntu Feisty, Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
Yes, that does seem like the logical solution. I'll have a look at it when I get back home this weekend and see if I left enough parts in it. I use only my laptop nowadays and I remember ripping out the only parts that I thought could be usefull and then putting the rest of that old computer in a pile of things that await transportation to some dump... But I think there should be enough parts left to make it boot.
 
Old 09-16-2006, 12:23 PM   #8
jonsson
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Kubuntu Feisty, Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
No, there was no RAM left in that computer but as soon as I can borrow some it should be in a bootable condition. ;-)
 
Old 07-27-2008, 09:17 AM   #9
jonsson
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Kubuntu Feisty, Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
Smile

Just thought I'd post an update in case anyone else ever finds themselves in a situation like this. I've had the disk just lying around since I didn't have a suitable computer to put it in. Now I've finally put it in another old computer and managed to save my data. (Not that there was anything important on there, or I wouldn't have waited this long)

The drive was installed as hdc and it was just a matter of adding hdc=remap63 before booting (in GRUB, press E to edit the options before booting).
 
Old 08-14-2008, 02:39 PM   #10
jonsson
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Kubuntu Feisty, Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
Might have worked. But it's non-free. And for my particular problem, the above solution seems the best way (now that I've figured it out and tested it), provided you have a computer to put the drive in, of course.
 
  


Reply

Tags
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New install, Ontrack? Zeno McDohl Slackware - Installation 10 09-17-2006 02:08 PM
Linux disk recovery! UltraSoul Linux - Software 6 09-13-2006 10:48 PM
Hard Disk Recovery iacopop Linux - General 6 09-11-2006 08:04 AM
Disk recovery? Hikaru79 Linux - General 10 03-07-2006 10:13 AM
installation disk partition manager thingimabob Mugatu Linux - Software 3 01-04-2004 06:56 PM


All times are GMT -5. The time now is 11:45 AM.

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