Rockbox Technical Forums

Installation / Removal => Rockbox Utility => Topic started by: dyeckman on April 29, 2009, 12:51:05 PM

Title: Installation error message: "Permission for disc access denied!"
Post by: dyeckman on April 29, 2009, 12:51:05 PM
I formatted my 5G video iPod in MS-DOS (FAT32) and it has a mount point, but, when I try to run the "Complete Installation" in rockbox utility 1.2.1, it comes up with error message "No Ipod detected / Permission for disc access denied!" How do I change the permissions on the disc, or other wise remedy this? (I am on Mac OSX as an admin.)

Thanks.


Title: Re: Installation error message: "Permission for disc access denied!"
Post by: LambdaCalculus on April 29, 2009, 01:08:05 PM
First question: Where is rbutil located (what folder)?

I'll give you the solution once I know.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: dyeckman on April 29, 2009, 01:14:24 PM
It is in a folder on the desktop. /Users/Dylan/Desktop/Rockbox
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: LambdaCalculus on April 29, 2009, 01:19:29 PM
Open a Terminal (Applications > Utilities > Terminal in the Finder), then type the following:

Code: [Select]
user@whatever$ cd Desktop/Rockbox

user@whatever$ sudo open rbutilqt.app

That should give rbutil the required root access.

Note that you only type what's *after* the "$ " above! The rest is just the bash prompt.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: dyeckman on April 29, 2009, 01:27:01 PM
Did as you said and the utility opened, but same error message came up. Any other suggestions? Thanks.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: LambdaCalculus on April 29, 2009, 01:41:33 PM
Use Rockbox Utility to just install the build alone, and not the bootloader. Then try installing the bootloader manually with iPodpatcher. The manual will give you instructions on how to use iPodpatcher.

That should get you all set.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: dyeckman on April 29, 2009, 01:53:10 PM
Build installed fine. iPod patcher gives me this error:

[ERR]  Firmware partition doesn't contain Apple copyright, aborting.
[ERR]  FATAL: Permission denied on 1 device(s) and no ipod detected.
[ERR]  You need permissions for raw disc access for this program to work!

(itunes detects the ipod)
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: bluebrother on April 29, 2009, 02:34:13 PM
(itunes detects the ipod)
Is Itunes running?
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: evilnick on April 29, 2009, 02:34:48 PM
Did you "sudo" iPodpatcher? If not then you might try that.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: dyeckman on April 29, 2009, 02:57:54 PM
iTunes is not running, but, when it is, it detects an "iPod in recovery mode."

"sudo" opening iPodpatcher resulted in the same error.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: LambdaCalculus on April 29, 2009, 03:18:12 PM
You mentioned earlier that you have a 5G iPod... absolutely certain? Plastic, glossy front and chrome back in either white or black?

Trust me on this one, quite a few people get the new iPod Classics mixed up with the older iPod videos. If you have a Classic, then you're out of luck, as Rockbox doesn't run on the Classic.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: dyeckman on April 29, 2009, 04:13:51 PM
Absolutely certain. It does not have the vertical split-screen or beveled edges, and it is made of black plastic with a chrome backing. Also, it is definitely straight 5th generation, as opposed to one released in late 2006 (5.5), based on the serial number.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: dyeckman on May 05, 2009, 12:37:07 PM
Anybody have any new ideas? I'm still stuck. Thanks for all the effort.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: bluebrother on May 05, 2009, 05:16:55 PM
Have you tried running from a root console? I.e. run "sudo su -", then start rbutil from that command line. Other options:
- use Rockbox Utility to install the build but not the bootloader. Then use ipodpatcher to install the bootloader.
- try to get access to a different PC. I'd recommend using a windows machine as that is most likely the best tested platform due to its populatiry.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: linuxstb on May 05, 2009, 06:10:12 PM
I formatted my 5G video iPod in MS-DOS (FAT32) and it has a mount point, but, when I try to run the "Complete Installation" in rockbox utility 1.2.1, it comes up with error message "No Ipod detected / Permission for disc access denied!" How do I change the permissions on the disc, or other wise remedy this? (I am on Mac OSX as an admin.)

Thanks.

How did you reformat your ipod?  Did you follow the Rockbox instructions to convert a "macpod" to FAT32, or did you simply reformat it?

Does the Apple firmware still start and run correctly?
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: dyeckman on May 09, 2009, 05:46:00 PM
Yes I followed the Rockbox instructions to convert to FAT32. When I start the Ipod it gives me a message instructing me to connect it to iTunes in order to to restore.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: psycho_maniac on May 09, 2009, 07:17:34 PM
Maybe get a new drive? Try the ipod restore first, unless you tried that already?, What kind of drive does that ipod take?
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: kellykcb on May 31, 2009, 10:53:03 AM
Having the exact same problem with a 5G 80GB. Tried everything suggested here with no luck.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: bluebrother on May 31, 2009, 11:06:41 AM
Tried everything suggested here with no luck.
This doesn't tell us anything about your environment: which version of Rockbox Utility? Which OS? What is the output of the About / System Info dialog of Rockbox Utility? How did you configure Rockbox Utility: did you use the autodetection feature? Did it succeed?
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: kellykcb on May 31, 2009, 11:19:56 AM
Sorry, new to this.

Reformated my ipod to FAT32 using disk utility (Mac OS X).

Tried running Utility (v1.2.1) complete installation and got "No iPod detected. Permission for disc access denied" error.

Tried installing the bootloader and got the same error.

Tried manual install by extracting "rockbox-ipodvideo64mb-3.2.zip" to the root of the drive - which was fine.

Then tried to run ipodcatcher and ended up with the error
[INFO] Scanning disk devices...
[ERR]  FATAL: Permission denied on 1 device(s) and no ipod detected.
[ERR]  You need permissions for raw disc access for this program to work!

Now I'm not sure what to do...

**EDIT** I also tried sudo opening the utility and completely deleting iTunes and retrying everything. Also, Autodected in the utility didn't work, if that makes any difference.


Title: Re: Installation error message: "Permission for disc access denied!"
Post by: bluebrother on May 31, 2009, 11:25:39 AM
I'm still missing two answers:
1. Did you use the autodetection feature of Rockbox Utility?
2. What is the output of the About / System Info dialog of Rockbox Utility?

I asked those questions for a reason.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: linuxstb on June 01, 2009, 03:48:12 AM
Reformated my ipod to FAT32 using disk utility (Mac OS X).

Does your ipod still function normally?  There is more to converting an ipod to FAT32 than simply reformatting.

It sounds like you need to restore your ipod using itunes, and then do the conversion properly (see the link in the Rockbox manual).
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: kellykcb on June 01, 2009, 07:16:02 AM
Converting to FAT32 is likely my problem then. Is there a separate thread I should use for this?

I'm trying to follow the instructions in the link through the Rockbox wiki. I restored through iTunes, then tried applying the partition table (unmounted, got the right bin file and disk device name, ran the dd command), but ended up with my ipod continually rebooting. The wiki says that this means that whole thing failed, so I put it into disk mode and am not sure if I'm suppose to try the whole thing again or not?

Then I tried installing mtools because my ipod is 80GB - I downloaded and unpacked the mtools tar file into my home directory, but then when I try to configure it, I get this:

kelly-krawchuks-computer:~/mtools-4.0.10 kellyk$ ./configure
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

I don't even know what to look for in the config log to find out what's going wrong - complete newbie.

Is this a lost cause at this point?
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: bluebrother on June 01, 2009, 08:14:45 AM
configure: error: no acceptable C compiler found in $PATH
This line is pretty specific: you don't have a useable C compiler installed which is required for building mtools. You need to fix that.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: linuxstb on June 01, 2009, 09:02:48 AM
@kellykcb,

Do you know anyone with a Windows computer with itunes installed?  The conversion is much simpler if you can do it that way.

Alternatively, you can download mtools via the "darwin ports" installer - use the download link on the following page to install the darwin ports installer, then follow the instructions on that page for installing mtools itself:

http://mtools.darwinports.com/

But finding a Windows computer (you only need it once - for the conversion to FAT32) will be a lot easier.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: kellykcb on June 03, 2009, 07:08:05 AM
No access to a PC - stuck in a rural village in scotland.

Thanks for the link - I tried installing Darwin Ports, but when I ran the installer, then ran "sudo port -d selfupdate", I just got a pile of failures:

DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
dyld: lazy symbol binding failed: Symbol not found: _close$UNIX2003
  Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _close$UNIX2003
  Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
  Expected in: /usr/lib/libSystem.B.dylib

dyld: lazy symbol binding failed: Symbol not found: _close$UNIX2003
  Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _close$UNIX2003
  Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
  Expected in: /usr/lib/libSystem.B.dylib

Trace/BPT trap
kelly-krawchuks-computer:~ kellyk$


Also, it seems like I got far enough into the process of manually reformating to FAT32 that itunes can no longer restore my ipod.

So, it looks like I need to install a c compilier? I don't have access to my OS X disks, so I can't install the xcode one that comes free with OS X. Does anyone know how I would go about installing a free c compilier that would be recognized as "acceptable" when I go to configure mtools?

I realize that this has digressed quite a ways from Rockbox, but I feel like my lack of coding skillz and I have gone past the point of no return. If anyone could help, it would be greatly appreciated.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: Chronon on June 03, 2009, 01:45:12 PM
kellykcb, it should always be possible -- even with a completely blank disk with wrong partitions -- to get into Disk Mode and ask iTunes to restore the device.  It's likely that you can't boot the Apple firmware right now, but you should at least be able to do this if you want to get back to a known initial condition.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: kellykcb on June 04, 2009, 06:56:05 AM
Sorted. Erased the disk with disk utility and was able to restore. Happily back to square one. Thanks for the help.
Title: Re: Installation error message: "Permission for disc access denied!"
Post by: Chronon on June 04, 2009, 11:54:56 AM
Good.   :)

Now if you're interested in installing Rockbox you can make sure you have all the necessary ingredients to do the conversion before proceeding.

Someone with expertise with OSX will have to help you with acquiring the tools you need.