Installation / Removal > Iriver - Installation/Removal/Flashing
Completely removing all traces of rockbox
pabouk:
Hi cormie,
erasing all the Rockbox files and clearing the setting should be sufficient for "clean reinstallation". If you already did all this and you still have the same problems your hardware is almost certainly faulty. Does the player crash when you run the original firmware too?
Wiping the whole harddisk is risky for non-expert users as you can accidentally erase hdd in your computer. It could be also complicated to recreate the partition table. OK, it was my fault to mention the option of totally erasing the hard drive ;D so I wrote a short tutorial.
If you want to run the risk, here is a tutorial found by google:
http://www.linuxquestions.org/linux/answers/Hardware/Clean_Hard_Drive_zero_fill
Below I describe the basic steps. You have to find details by yourself by googling or reading Linux HOWTOs.
1. Create the Linux boot CD / floppy / flashdisk or whatever.
2. Boot the CD.
3. Connect the player.
4. Check your SCSI devices:
--- Code: ---cat /proc/scsi/scsi
--- End code ---
You should get something like:
--- Code: ---debian:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: TOSHIBA Model: MK2004GAL Rev: JA02
Type: Direct-Access ANSI SCSI revision: 02
--- End code ---
This means that the player's hard drive is connected on virtual SCSI controller number 2.
5. Check The partitions on the SCSI device. If you have also other than the player's SCSI device connected (listed by the previous command) use sdb, sdc etc. instead of sda:
--- Code: ---fdisk -l /dev/sda
--- End code ---
Other possibility (not available in every Linux distribution)
--- Code: ---fdisk -l /dev/scsi/host2/bus0/target0/lun0/disc
--- End code ---
The result should look like (here it is 20 GB drive of H120):
--- Code: ---debian:~# fdisk -l /dev/sda
Disk /dev/sda: 20.0 GB, 20000268288 bytes
255 heads, 63 sectors/track, 2431 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 2431 19526976 c W95 FAT32 (LBA)
--- End code ---
Make sure that you have identified the correct drive or you will erase a wrong drive!
6. Backup your MBR and partition table:
--- Code: ---debian:~# dd if=/dev/sda of=H120-MBR.dat bs=512 count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.362247 seconds (1413 bytes/sec)
--- End code ---
Move the backup file to some safe place (flash disk, internal PC disk etc.). You have to mount the destination disk in Linux like this:
--- Code: ---mount /dev/hda1 /mnt/windows
--- End code ---
Many Linux distributions do not support NTFS by default!
7. Wipe the HDD by overwriting it by zeros:
--- Code: ---debian:~# dd if=/dev/zero of=/dev/sda bs=16k
--- End code ---
8. Reboot to Windows
--- Code: ---debian:~# shutdown -r now
--- End code ---
9. Recreate the partition table and format primary FAT32 partition. You can use for example SwissKnife to do this.
bluebrother:
--- Quote from: pabouk on October 30, 2006, 09:49:37 AM ---9. Recreate the partition table and format primary FAT32 partition. You can use for example SwissKnife to do this.
--- End quote ---
Why not doing this from linux when you're already using it? fdisk is way better and mkfs.vfat also formats drives with FAT32 that are bigger than 32 GB.
pabouk:
Of course it is possible to partition and format the drive under Linux but I suppose that it will be easier for cormie to do it in Windows. Some people also shared their experience with the SwissKnife in this forum.
cormie:
Thanks very much for that but it almost made me cry because I'm not famiar with any of that kinda thing:'(
I'm using windows XP pro at the mo, is it easier to do from a linux machine?
Anyway, some good news, I've been listening to my H for the past few hours using the original firmware (iRiver booting) and it hasn't had the same problem, so I think it's probably rockbox related and hopefully the above will solve it. But I'm still dumbfounded:(
pabouk:
Unfortunately you cannot accomplish the task in Windows directly and I do not know any utility working in Windows which can do it.
I think that easiest would be to ask some friend which knows Linux a little bit to help you.
If you want to do it yourself I can recommend SystemRescueCd Linux live distribution. You are not going to install Linux on your hard drive and I described all the commands so do not be afraid!
For further information:
http://linux.org.mt/article/terminal
http://vic.gedris.org/Manual-ShellIntro/1.2/ShellIntro.pdf
http://tldp.org/
and Google ;)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version