noshua
Member
Registered: 19th Nov 08
User status: Offline
|
Rather than a long explanation, I need to repair a HFS+ partition on a drive - although it's a 3.5" drive - so I can't connect it to my laptop. Ordering a USB caddy so I'll be able to connect the drive via USB.
I've heard some LiveCD's have fsck.hfsplus which apparently can fix the problem?
Any help is appreciated 
EDIT: Forgot to say I'm on Vista (came with laptop), hence why I can't plug it into a Mac and repair it. Had HFS+ on the partition so 4GB+ files could be read on the 360.
[Edited on 12-03-2009 by noshua]
|
willay
Moderator Organiser: South East, National Events Premium Member
Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
|
if you dont run linux already, boot up a live cd like ubuntu, mount it and then run fsck on it. As per this webpage:
http://ubuntuforums.org/showthread.php?p=1859336
|
noshua
Member
Registered: 19th Nov 08
User status: Offline
|
willay, you're a star. will let you know how i get on when the adapter arrives
|
noshua
Member
Registered: 19th Nov 08
User status: Offline
|
Right the adapter arrived earlier, ICY BOX USB 2.0 IDE, plugged the corrupted drive in and booted up with Vista - Vista found the drive found but nothing ever appeared in My Computer - forgot to check diskmgmt.
Booted up Ubuntu Live CD, after taking its time to load nothing appeared in Computer. Changed the drive to ANOTHER corrupted drive with 2 NTFS partitions on them - both appeared in Computer.
Put the corrupted HFS+ drive back in, tried the DF -H command, nothing found.
Had a bit of a search on the net but couldn't find anything. Will get a copy of the system log if it's any help willay?
|
willay
Moderator Organiser: South East, National Events Premium Member
Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
|
boot ubuntu without the fucked drive plugged in.
Open a terminal, plug in the usb drive, wait a few minutes then type 'dmesg' in the terminal and post up the output.
|
noshua
Member
Registered: 19th Nov 08
User status: Offline
|
Just wanna say thanks for the help so far willay, here's the log;
code: [ 322.072052] usb 8-5: new high speed USB device using ehci_hcd and address 2
[ 322.208563] usb 8-5: configuration #1 chosen from 1 choice
[ 322.219374] scsi7 : SCSI emulation for USB Mass Storage devices
[ 322.222724] usb-storage: device found at 2
[ 322.222737] usb-storage: waiting for device to settle before scanning
[ 327.220608] usb-storage: device scan complete
[ 327.223961] scsi 7  : Direct-Access ST350063 0A 0000 PQ: 0 ANSI: 0
[ 327.227376] sd 7  : [sdc] 976773168 512-byte hardware sectors (500108 MB)
[ 327.229018] sd 7  : [sdc] Write Protect is off
[ 327.229031] sd 7  : [sdc] Mode Sense: 27 00 00 00
[ 327.229038] sd 7  : [sdc] Assuming drive cache: write through
[ 327.231125] sd 7  : [sdc] 976773168 512-byte hardware sectors (500108 MB)
[ 327.232642] sd 7  : [sdc] Write Protect is off
[ 327.232654] sd 7  : [sdc] Mode Sense: 27 00 00 00
[ 327.232660] sd 7  : [sdc] Assuming drive cache: write through
[ 327.233938] sdc:<6>usb 8-5: reset high speed USB device using ehci_hcd and address 2
[ 388.412168] usb 8-5: reset high speed USB device using ehci_hcd and address 2
[ 419.480054] usb 8-5: reset high speed USB device using ehci_hcd and address 2
[ 450.548167] usb 8-5: reset high speed USB device using ehci_hcd and address 2
[ 481.616162] usb 8-5: reset high speed USB device using ehci_hcd and address 2
[ 512.684080] usb 8-5: reset high speed USB device using ehci_hcd and address 2
[ 513.641269] sd 7  : [sdc] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK,SUGGEST_OK
[ 513.641289] end_request: I/O error, dev sdc, sector 0
[ 513.641301] Buffer I/O error on device sdc, logical block 0
[ 543.752567] usb 8-5: reset high speed USB device using ehci_hcd and address 2
[Edited on 18-03-2009 by noshua]
|
willay
Moderator Organiser: South East, National Events Premium Member
Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
|
If I'm reading that correctly you're getting hardware I/O errors when its getting plugged in, possibly because Ubuntu trys to automount it once detected. The issue you're going to have here is you'll get I/O errors once its mounted and you try to copy any data off it.
You could try copying all the data off the disc using something like dd_rescue which will do it a lower level and not give up copying even if it sees I/O errors.
Or you could try mounting like
sudo mkdir /mnt/drive
sudo mount /dev/sdc2 -t hfsplus -o rw /mnt/drive
then copy all the data off, however I dont think you'll get that far in this situation.
|
noshua
Member
Registered: 19th Nov 08
User status: Offline
|
I'll try mount it using the commands you gave, the thing is though I don't really want to have to copy all the data off it and format it - as I don't have ~350GB spare to copy the data to.
Gotta nip off to work so I'll try when I get back if I get time, thanks again.
|
willay
Moderator Organiser: South East, National Events Premium Member
Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
|
hm that isnt good , maybe you should get a replacement drive first.
|
noshua
Member
Registered: 19th Nov 08
User status: Offline
|
gonna give it a few more days and if i cant get it sorted it'll be going back as an RMA.
managed to get all my data off it onto another drive, tried formatting it to HFS+ again and it's still running in PIO mode - aka slow as shit mode.
tried formatting it to NTFS and windows gives the error 'Unable to successfully format' or something along those lines.
running SeaTools on the drive as I type this to see if it reports anything wrong with the drive, nothing so far.
any recommendations?
|
John
Member
Registered: 30th Jun 03
User status: Offline
|
GRC spinrite.
|
willay
Moderator Organiser: South East, National Events Premium Member
Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
|
^^^ what john said, its highly reccomended but I havent tried it personally.
|
noshua
Member
Registered: 19th Nov 08
User status: Offline
|
Shit, I had the download location to SpinRite bookmarked from a while ago and completely forgot about it. Will try it out and get back to you, cheers.
|
noshua
Member
Registered: 19th Nov 08
User status: Offline
|
Doesn't want to perform any tests what-so-ever on the drive, sending the fucker back.
|