Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  Can't remove .rockbox and other bad stuff
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Can't remove .rockbox and other bad stuff  (Read 5607 times)

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Can't remove .rockbox and other bad stuff
« Reply #15 on: September 14, 2008, 01:50:56 PM »
man fsck.vfat
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Roanoke

  • Member
  • *
  • Posts: 17
Re: Can't remove .rockbox and other bad stuff
« Reply #16 on: September 14, 2008, 07:15:13 PM »
Erm, if you look at the code, I know how to use the command. I wanted to know if bigbambi wanted me to run it with any arguments.
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Can't remove .rockbox and other bad stuff
« Reply #17 on: September 14, 2008, 08:13:17 PM »
You may know how to run a command, but evidently you don't know the proper syntax for fsck.vfat, which is why bluebrother directed you to read the fsck.vfat man page.
Logged

Offline Roanoke

  • Member
  • *
  • Posts: 17
Re: Can't remove .rockbox and other bad stuff
« Reply #18 on: September 14, 2008, 11:32:56 PM »
It would be better if you could tell me what's wrong with my syntax (since I looked in the manual before posting).
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Can't remove .rockbox and other bad stuff
« Reply #19 on: September 15, 2008, 12:48:04 AM »
You should not be in /media/IPOD because your iPod should not be mounted.

Use sudo fsck.vfat -a -t /dev/sdc2, where /dev/sdc2 is the FAT32 partition (sudo fdisk -l will give you this). -t could be considered optional, and will cause the the program to check for physical errors on the disk, which will take a much longer time.

If you look at the man page, you should see that -d is really nothing near what you're trying to do.

If no errors are found, you'll get no output.
« Last Edit: September 15, 2008, 12:49:48 AM by cool_walking_ »
Logged

Offline Roanoke

  • Member
  • *
  • Posts: 17
Re: Can't remove .rockbox and other bad stuff
« Reply #20 on: September 15, 2008, 10:31:35 PM »
Thanks much. Output follows.
Code: [Select]
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
  65:01/00
  Not automatically fixing this.
/.rockbox/rbutil.log
  Contains a free cluster (158000). Assuming EOF.
/.rockbox/rbutil.log
  File size is 10031 bytes, cluster chain length is 0 bytes.
  Truncating file to 0 bytes.
/.rockbox/backdrops
  Contains a free cluster (155062). Assuming EOF.
/.rockbox/codecs
  Contains a free cluster (155081). Assuming EOF.
/.rockbox/codepages
  Contains a free cluster (155342). Assuming EOF.
/.rockbox/docs
  Contains a free cluster (155408). Assuming EOF.
/.rockbox/eqs
  Contains a free cluster (155417). Assuming EOF.
/.rockbox/fonts
  Contains a free cluster (155431). Assuming EOF.
/.rockbox/icons
  Contains a free cluster (155450). Assuming EOF.
/.rockbox/langs
  Contains a free cluster (155458). Assuming EOF.
/.rockbox/recpresets
  Contains a free cluster (155571). Assuming EOF.
/.rockbox/rockbox-info.txt
  Contains a free cluster (157044). Assuming EOF.
/.rockbox/rockbox-info.txt
  File size is 588 bytes, cluster chain length is 0 bytes.
  Truncating file to 0 bytes.
/.rockbox/rockbox.ipod
  Contains a free cluster (157045). Assuming EOF.
/.rockbox/rockbox.ipod
  File size is 551216 bytes, cluster chain length is 0 bytes.
  Truncating file to 0 bytes.
/.rockbox/rocks
  Contains a free cluster (155708). Assuming EOF.
/.rockbox/tagnavi.config
  Contains a free cluster (157816). Assuming EOF.
/.rockbox/tagnavi.config
  File size is 8878 bytes, cluster chain length is 0 bytes.
  Truncating file to 0 bytes.
/.rockbox/themes
  Contains a free cluster (156352). Assuming EOF.
/.rockbox/viewers.config
  Contains a free cluster (157826). Assuming EOF.
/.rockbox/viewers.config
  File size is 851 bytes, cluster chain length is 0 bytes.
  Truncating file to 0 bytes.
/.rockbox/wps
  Contains a free cluster (156361). Assuming EOF.
Reclaimed 1 unused cluster (4096 bytes) in 1 chain.
Performing changes.
/dev/sdc2: 220 files, 148340/478945 clusters

Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Can't remove .rockbox and other bad stuff
« Reply #21 on: September 15, 2008, 11:01:53 PM »
Lots of Rockbox's files are toast, so you'll need to unzip a new build to the iPod.

Quote
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
  65:01/00
  Not automatically fixing this.

I'm not sure what that's messed up (the OF, the Rockbox bootloader...).  A "restore" in iTunes _will_ fix it (and format your iPod's HDD), but I'm not sure if  that's needed or there's an easier way to only fix what's required.

Perhaps just running sudo fsck.vfat /dev/sdc2 and choosing one of the options it presents (I don't think it really matters which unless you know what you're doing), and then unzipping a Rockbox build will get you going again.

Since only Rockbox files are corrupted, I'm thinking you didn't "safely remove" (or umount/eject in Linux) the iPod when you disconnected it after the install.  Always make sure you "safely remove" devices.
« Last Edit: September 15, 2008, 11:15:22 PM by cool_walking_ »
Logged

Offline Roanoke

  • Member
  • *
  • Posts: 17
Re: Can't remove .rockbox and other bad stuff
« Reply #22 on: September 16, 2008, 12:02:07 AM »
Quote from: cool_walking_ on September 15, 2008, 11:01:53 PM
Lots of Rockbox's files are toast, so you'll need to unzip a new build to the iPod.
Sure, but I'd like to remove the previous install first.
Quote from: cool_walking_ on September 15, 2008, 11:01:53 PM
Quote
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
  65:01/00
  Not automatically fixing this.

I'm not sure what that's messed up (the OF, the Rockbox bootloader...).  A "restore" in iTunes _will_ fix it (and format your iPod's HDD), but I'm not sure if  that's needed or there's an easier way to only fix what's required.

Perhaps just running sudo fsck.vfat /dev/sdc2 and choosing one of the options it presents (I don't think it really matters which unless you know what you're doing), and then unzipping a Rockbox build will get you going again.
I'll try the latter and then the former.
Quote from: cool_walking_ on September 15, 2008, 11:01:53 PM
Since only Rockbox files are corrupted, I'm thinking you didn't "safely remove" (or umount/eject in Linux) the iPod when you disconnected it after the install.  Always make sure you "safely remove" devices.
Fairly certain I did.
Logged

Offline Roanoke

  • Member
  • *
  • Posts: 17
Re: Can't remove .rockbox and other bad stuff
« Reply #23 on: September 24, 2008, 08:51:09 PM »
Thanks much, it works now. :D
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: Can't remove .rockbox and other bad stuff
« Reply #24 on: September 25, 2008, 12:09:49 PM »
Quote from: Roanoke on September 24, 2008, 08:51:09 PM
Thanks much, it works now. :D
It is not clear to me (and thus not to a future reader of this thread) what steps you took which fixed it.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline Roanoke

  • Member
  • *
  • Posts: 17
Re: Can't remove .rockbox and other bad stuff
« Reply #25 on: September 25, 2008, 06:27:05 PM »
I'm sorry. I did a restore via itunes and then installed rockbox again.
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  Can't remove .rockbox and other bad stuff
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.081 seconds with 14 queries.