Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: No hard disc to install onto< Next Oldest | Next Newest >
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: April 08 2008,19:41 QUOTE

There are several things you can do. Check your hard drive manufacturer's site for their recovery tools. There are probably more remapping tools available if you look around online.

This page has a link of manufacturer sites with the names of their recovery tools.
http://www.hardwaresecrets.com/article/29

This one has generic remapping info, suggesting (of course) you check the manufacturer's site:
http://www.unixguide.net/freebsd/faq/05.01.shtml

And here's the SpinRite site. It's not cheap -- $89 for first time buyers -- but comes with a money back guarantee and works with Linux-oriented filesystems as well as FAT (live FreeDOS-based CD). I haven't ever used it because I've had pretty good success with the manufacturer utilities, but I know people who swear by it.
http://www.grc.com/spinrite.htm


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: April 09 2008,12:56 QUOTE

One other thing I should've added: you can either use the badblocks command in e2fsprogs by itself (presuming you set up ext2) or as part of mke2fs (checks while installing new filesystem). The latter would probably be easier -- albeit more destructive (hopefully you backed up whatever you needed from the drive before committing to install in the first place) -- and you could edit the install script to do that if it needs it; I don't recall if Robert has the install script set with -c (read test for badblocks) at all, but unlikely -cc (read-write test). Depending how you choose to do it, it could only take a few minutes or a bit longer (I would want to make sure I have the bad blocks mapped out so I don't write data to them and end up with headaches down the road). You can also run it before the script if you want and then let the installation script run as normal. But my own preference would be to edit the script if it needs it. This presumes you're checking/formatting /dev/hda1.

just badblocks...
badblocks /dev/hda1

via mke2fs (read only test)...
mke2fs -c /dev/hda1

Or to be a little more cautious, do a read-write test...
mke2fs -cc /dev/hda1

You can throw in other flags if you want ext3 (-j for journaling), etc. See the manpages for e2fsprogs for more information.

It's probably in your best interests to first use a tool from the hard drive manufacturer. If you can detect that your blocks are limited to a certain area of the drive, it's fairly more involved using fdisk to create partitions around larger areas of bad blocks (which I've had to do on one hard drive thanks to playing around with an experimental operating system).


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
mustard Offline





Group: Members
Posts: 10
Joined: Jan. 2008
Posted: April 09 2008,20:17 QUOTE

many thanks lucky13. I have to go away for a few days, but will crack on when I am back. I will post how I get on.
Back to top
Profile PM 
7 replies since April 07 2008,21:43 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: No hard disc to install onto

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code