Posts: 752
Joined: Mar 2011
Reputation:
5
I am running Ubuntu on the computer. I have a couple flash drives for friends with ATV 1 and want me to do an XBMC install.
I did one and it worked fine. I did another and the screen went to the OPENELEC icon and then back to the apple icon and booted to the ATV.
So i read about cloning a drive. So i did that using the DD command in ubuntu.
Then i got it to boot and come up with updating kernel
overrighting flash/ mach kernal?
So i figured i screwed up the DD command some how.
THEN i thought about just making an image on the hard drive and then doing a DD copy from the image. I got the image but it wont let me touch the USB blank flash because it says permission denied. I have tried everything but it will not let me change permissions.
I am at wits end on this and cant figure out what i did wrong. I just want to make a clone of my USB
Posts: 88
Joined: Nov 2010
Reputation:
0
What dd-command did you use?
If you USB-Sticks are same size, or the arget is larger, you can use
sudo dd if=/dev/sdS of=/dev/sdT
where S is the drive letter of the Source stick and T the letter of the target. And "sudo" will fix your permission denied problem.
If you did something like
sudo dd if=/dev/sdS1 of=myCopyOnDisk
you will miss partition size and boot sector on the clone when copying back.
Posts: 752
Joined: Mar 2011
Reputation:
5
sudo dd if=/dev/sdb of=/dev/sdc bs=4096 conv=notrunc,noerror
Honestly i would like to just copy the XBMC data folder so i dont have to do the install of OPENELEC and then go in and select each add on and configure it and all that. I have several people who want XBMC on their ATV 1. (Next time ill know not to tell everyone i know wow this is great you can relaly make your Apple tv work great again.)
Anyway i thought i could just clone the USB. They are identical in size same usb maker.
BUt it seems to take forever so i thought maybe just the XBMC folder?
Either way just so i get it done.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Well then just copy the xbmc folder.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 752
Joined: Mar 2011
Reputation:
5
It won't let me says I don't have permission
Posts: 752
Joined: Mar 2011
Reputation:
5
It says permission denied. I can't drag the contents over either.
Posts: 752
Joined: Mar 2011
Reputation:
5
What will this do? And how do I find the path
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
It will copy the entire contents of the .xbmc directory on flasha to flashb. You said you just wanted to copy the xbmc settings, that is where the settings are stored. I dont know eactly where the path is on your system.
Posts: 752
Joined: Mar 2011
Reputation:
5
Oh ok I will try that. Thank you for your help. New Linux user here. Although I have used terminal in my Mac for years.
Posts: 752
Joined: Mar 2011
Reputation:
5
How do you find the path?
Posts: 752
Joined: Mar 2011
Reputation:
5
I know the path to Xbmc what I meant is do I put in media/ whatever the flash name is?
Posts: 752
Joined: Mar 2011
Reputation:
5
2013-07-06, 05:50
(This post was last modified: 2013-07-06, 05:56 by ilovemymac.)
When I type the first line I just get a long list of options and then rsync error syntax or usage error code 1 at main.c(1521)