Rockbox Technical Forums

Installation / Removal => Manual Installation => Iriver - Installation/Removal/Flashing => Topic started by: nalrod on September 20, 2007, 01:18:43 PM

Title: H140
Post by: nalrod on September 20, 2007, 01:18:43 PM
Hello friends and well-wishers, I'm the lucky owner of an Iriver H140. I've recently added Rockbox to my player. One thing I have been puzzled with however is how to reformat my player to have 40gigs again. The player became unreadable a while back and I formatted it to FAT32, but WinXP can only format FAT32 up to 32gigs. So I have an Iriver with 32gigs instead of 40... I even tried using PartitionMagic to format to 40G, but it I was unsuccesful. I can't remember the error it gave off the top of my head because it was a while ago. I ended up using WinXP to format it. I don't know if there is disk damage and if there is, if there is anything I can do to fix it. Since I've installed Rockbox, i've been waiting for it to finish 'initializing database'. It's been over an hour. I'm wondering if this has anything to do with my 32gig format problem. Anyway that's about all the info I've got. Any help is appreciated. thanks... nalrod
Title: Re: H140
Post by: GodEater on September 20, 2007, 02:15:54 PM
http://www.ridgecrop.demon.co.uk/download/fat32format.zip
Title: Re: H140
Post by: nalrod on September 20, 2007, 03:47:30 PM
Thanks for the tool. I tried it once with the old hard drive size of 32GB. But I didn't have any luck. got a "...failed to write" message. So I formated the whole thing (luckily my music is backed up on my computers) and reset the H140. I used PartitionMagic again to reformat the iriver so that all 40GB would be in one partition. But i could only do it in NTFS. But once I got it all in one partition (drive 'e') I couldn't format it all to FAT32. Can fat32format convert a NTFS drive to FAT32? Here's where I stand...


fat32format e:\
Warning ALL data on drive 'e' will be lost irretrievably, are you sure
(y/n) :y
Size : 39GB 78107967 sectors
512 Bytes Per Sector, Cluster size 32768 bytes
Volume ID is 16ff:2f55
32 Reserved Sectors, 9533 Sectors per FAT, 2 fats
1220138 Total clusters
1220137 Free Clusters
Formatting drive e:...
Clearing out 19162 sectors for Reserved sectors, fats and root cluster...
Failed to write


drat,
nalrod
Title: Re: H140
Post by: GodEater on September 20, 2007, 03:51:53 PM
That's a little irritating :(

It's the only windows tool I know of that will write a greater than 32GB FAT32 file system though.

What caused the problem before that made you reformat in the first place? Is it possible there are bad sectors on the drive or something ?
Title: Re: H140
Post by: nalrod on September 20, 2007, 04:14:21 PM
It's possible, if not, likely that there are. I'm not sure though, because chkdsk and norton disk doctor both give errors when trying to read it. I'm in the process of re-re-formatting it to FAT32 at 32gigs. At least I might be able to use it again. As I stand now, I might be in market for a new mp3 player.  :-\  My thoughts were that I might be able to create two partitions accounting for all the memory and format/check them independently to see what kind of problem i'm looking at. If chkdsk can actually fix the problems and there are two healthy FAT32 partitions on my iriver, maybe I can merge them into one, then format the whole thing with fat32format. However all this tinkering and fiddling may have done irrepairable damage; if it did have some problems, my attempt at meddling may have just done it in. But i'm still hopeful. I'm gonna wait until tomorrow, when it's done formating a 32GB and 7G partition on the iriver, and see if I can't get it to work. If not, do you have any advice on a totally awesome mp3 player for a reasonable price? (I don't know if that last question is cool to ask, so if it's not I apologize in advance...) thanks...

nalrod
Title: Re: H140
Post by: nls on September 20, 2007, 04:27:07 PM
This http://www.compuapps.com/download/Swissknife/swissknife.htm program has been recommended for formating disks larger than 32 GB to FAT32 many times, never tried it myself though. If that fails, the iriver firmware supposedly has a format function that will reformat the disk for you.
Title: Re: H140
Post by: nalrod on September 20, 2007, 04:47:45 PM
Also tried Swissknife before i got PartitionMagic. Same thing... i got errors when i tried to format. I tried using the format function that came with the iriver firmware, but it errored as well. I thought maybe because I had already formated with WinXP from 40 to 32gigs. I don't know if this would have thrown the firmware program off. Maybe my drive is worse off than I thought. But, again, I don't know.  

--nalrod
Title: Re: H140
Post by: LambdaCalculus on September 20, 2007, 05:31:09 PM
Try GParted; you can download it as a CD image and boot your PC from it.

http://gparted.sourceforge.net/

I've used this to format my girlfriend's iriver to FAT32 when she first got it, plus my Archos JBR. It worked perfectly both times for me.
Title: Re: H140
Post by: GodEater on September 21, 2007, 03:53:38 AM
Also tried Swissknife before i got PartitionMagic. Same thing... i got errors when i tried to format. I tried using the format function that came with the iriver firmware, but it errored as well. I thought maybe because I had already formated with WinXP from 40 to 32gigs. I don't know if this would have thrown the firmware program off. Maybe my drive is worse off than I thought. But, again, I don't know.  

--nalrod

If pretty much every tool you're throwing at it is giving you the same problems - then I'm guessing the harddrive is failing.

For god's sake don't get rid of the player though - just get a replacement harddrive. No need to throw the baby out with the bathwater!
Title: Re: H140
Post by: bluebrother on September 21, 2007, 05:07:20 AM
For god's sake don't get rid of the player though - just get a replacement harddrive. No need to throw the baby out with the bathwater!
... and a "nice" way to get rid of the player (if you really want to get rid of it) is to donate it to the project ;)
Title: Re: H140
Post by: Multiplex on September 21, 2007, 08:34:50 AM
Why not use the FOrmat in the iRiver firmware ?

Sorry - I only have H120 and H320 so may be asking a stupid question (again)
Title: Re: H140
Post by: Febs on September 21, 2007, 10:49:55 AM
I tried using the format function that came with the iriver firmware, but it errored as well.
Title: Re: H140
Post by: Multiplex on September 22, 2007, 05:30:42 AM
And I thought I'd thouroughly read every one of the previous posts... Sorry

And even more embarassingly, at work it's usually me doing to other folks what you just (rightly) did to me :-(
Title: Re: H140
Post by: Mikerman on September 22, 2007, 12:25:27 PM
I just ran SwissKnife v3 last evening to format a 60gb drive on an iHP-140, without  any problem--and so SwissKnife would not seem to be the problem.
Title: Re: H140
Post by: nalrod on September 22, 2007, 10:52:11 PM
I may indeed retry swissknife. but where i'm at now is that there is some damage to the harddrive. I used Windows Disk Manager to format the h140 to two different partitions one is 32gig and the other 7gig, i can now at least access the drive again. But the iriver only sees the main partition. so that 7gig partition doesn't show up. Anything I put in there is just for storage I presume. I've run chkdsk on the main partition and here's a little taste of what i'm getting back...

C:\>Chkdsk E:\ /F /V /R /X
The type of the file system is FAT32.
Volume H140 created 9/22/2007 8:18 AM
Volume Serial Number is 90AA-F0FD
Windows is verifying files and folders...
0 percent completed.
\RECORD
\FOUND.000
\FOUND.000\FILE0000.CHK
\FOUND.000\FILE0001.CHK
The \FOUND.000\FILE0001.CHK entry contains a nonvalid link.
Windows replaced bad clusters in file \FOUND.000\FILE0001.CHK
of name (null).
\FOUND.000\FILE0002.CHK
The \FOUND.000\FILE0002.CHK entry contains a nonvalid link.
Windows replaced bad clusters in file \FOUND.000\FILE0002.CHK
of name (null).
\FOUND.000\FILE0003.CHK
The \FOUND.000\FILE0003.CHK entry contains a nonvalid link.
Windows replaced bad clusters in file \FOUND.000\FILE0003.CHK
of name (null).
\FOUND.000\FILE0004.CHK
\FOUND.000\FILE0005.CHK
The \FOUND.000\FILE0005.CHK entry contains a nonvalid link.
Windows replaced bad clusters in file \FOUND.000\FILE0005.CHK
of name (null).
 ...and it goes on like that.  ??? The windows disk manager diagnoses the drive as 'healthy' and I can copy data to it, but it's obviously got some problems. Maybe i can run swiss knife to get the partitions merged, or maybe i'm just back to where i was (with a 32gig drive). But the original purpose for all of this was because when i first installed Rockbox, the Database initialization hadn't stopped in over 3 hours... so i figured something was up with the drive setting/configuration. Any insight would be most helpful. Until then i'm gonna fumble around in the dark somemore.   -n
Title: Re: H140
Post by: Multiplex on September 23, 2007, 06:44:08 AM
If the drive is faulty replacing it is very easy.
Title: Re: H140
Post by: Mikerman on September 23, 2007, 11:24:34 AM
When I initialized my 48gb / 500  CD or-so (probably 15-20 tracks per CD) database yesterday on my clean 60gb hard drive, it took between 1 and 1-1/2 hours, as far as I recall.
Title: Re: H140
Post by: nalrod on September 23, 2007, 02:16:53 PM
finished running chkdsk:

100 percent completed.
File and folder verification is complete.
Windows is verifying free space...
Bad sectors found.ted.....
Free space verification is complete.
Windows has made corrections to the file system.
   32,748,528 KB total disk space.
           48 KB in 1 hidden files.
           48 KB in 3 folders.
    2,432,512 KB in 1,333 files.
       33,424 KB in bad sectors.
   30,282,480 KB are available.

       16,384 bytes in each allocation unit.
    2,046,783 total allocation units on disk.
    1,892,655 allocation units available on disk.
Some file allocation tables (FAT) are unwriteable.

but now the drive is unreadable and or unformatted to Windows. I tried using partition magic again to format fat32 but got a CRC error. So I guess I'll find instructions on how to replace a drive somewhere on this forum? any suggestions... thanks for all the feed back...
Title: Re: H140
Post by: Multiplex on September 24, 2007, 08:14:16 AM
Drive replacement is as simple as;

remove all the screws (10 - 4 on the top cap, 4 on the bottom, one on each side) - you should use a small Torx drive but I use a watchmaker's flatblade

pull off the end caps

the back comes away revealing the HDD under a protective rubber mat(may vary).

It's easy once you have confidence (I've done battery and HDD) but you'll probably nervous first time.

A longer description with pictures is here;
http://www.misticriver.net/wiki/index.php/H1xx_Hard_Drive_Replacement
and another here(about the battery but once there you see the HDD);
http://www.misticriver.net/wiki/index.php/H1xx_Internal_Battery_Replacement

Then you need to partition/format, but you've had a bit of prcatice ;-)

Good Luck!
Title: Re: H140
Post by: Mikerman on September 24, 2007, 12:00:32 PM
Putting a 60gb hard drive in the player took me about 1 hour plus supporting "maintenance chores" time, going deliberately--I was in no rush.

--  20 minutes to back up my old drive in the player, and then to delete its contents and reformat the drive using the iRiver firmware's format command (most of the time the computer was doing the back-up and I was doing something else)
--  1 hour to open up the player; remove the old drive; unbox and insert the new drive; close the player; and fire up my computer and start and run SwissKnife on the new drive, reading the SwissKnife instructions/help files as well
--  about 1 hour for SwissKnife to format and partition the drive, doing a full (non-quick) format (with me watching a TV show)
--  about 20 minutes to check out the performance of the player with the formatted and partitioned drive and to prepare to transfer my music back to the player from the back-up
--  about 1-1.5 hours to transfer my backup (about 48gb) to the player (back to the TV show ...).

As noted above, the "hard" part in the process is just the nerves in operating on the player (and being concerned about losing a tiny screw or screwing up the player endcaps (plastic)), plus, for me, getting SwissKnife running as I wanted (its instructions in how to do a full format are not as explicit as I would like (or maybe it's just me), and I only got the full format to run after a quick format was run).

And there are some good deals on 60gb drives out there.