|
Author | Topic: How to copy files from one folder to a partition (Read 444 times) |
caddisfly New Member
 member is offline
Joined: Oct 2011 Gender: Male  Posts: 12
|  | How to copy files from one folder to a partition « Thread Started on Dec 2, 2011, 5:56pm » | |
Another newbie question. I'm trying to stumble and fumble my way through linux as I'm totally tired of being chained to Bill Gates.
I've run into another problem and the more I read on the 'cp' subject the more confused and frustrated I become.
I want to dualboot Saline and also Openelec for my media program.
I created a partition (/dev/sda3) for Openelec and formatted it in ext4
![[image] [image]](http://s1.bild.me/bilder/030611/3681011-dev-sda_-_GParted_001.jpeg)
The Openelec directions say, "The extracted folder will contain a subfolder "target" with two files, KERNEL and SYSTEM. Copy these two files to the root of the OpenELEC partition."
![[image] [image]](http://s1.bild.me/bilder/030611/9258747target.jpeg)
I opened a terminal in the target directory and tried to use the command, 'cp KERNEL /dev/sad3/' but I'm obviously doing something wrong.
How do I accomplish this?
Thanks, Ron
| |
|
beardedragon Global Moderator
     member is offline
![[avatar] [avatar]](http://smile-media-production-1.s3.amazonaws.com/images/83a50d70550b01307b5322000afe0a5a/168x168.jpg)
Joined: Feb 2011 Gender: Male  Posts: 857
|  | Re: How to copy files from one folder to a partiti « Reply #1 on Dec 2, 2011, 6:36pm » | |
Seems like a few instructions were left out along the way, besides a misspelling in your copy statement. This is not a criticism. You need to be root when you do the copy, so su to root when you open Terminal. You need to mount the partition you are going to copy to.
cp KERNEL /dev/sad3/ should read cp KERNEL /dev/sda3/
Let us know if you get any errors.
|
Robert Collard, Madison, WI HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD Debian 7.0 XFCE-4.10 3.2.0-4-amd64
If you are satisfied with the results, please Edit your first post and add [Solved] to the Subject line. |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,336
|  | Re: How to copy files from one folder to a partiti « Reply #2 on Dec 3, 2011, 12:24am » | |
The best way to accomplish this is to use Thunar file manager, you have it open in one of your screenshots. First you need to mount the partition, you do this by using Gigolo, which has a launcher on the bottom panel. Once you open Gigolo double click on the icon 1 GB Filesystem and enter your root password when prompted, then double click it again and it will open up a Thunar window. This window has root privileges so you can just navigate to where the files are and copy them and then navigate back and paste them. Or, you could open a second Thunar window with root privileges and then drag and drop them. You can launch another Thunar window using the command gksu thunar
| |
|
caddisfly New Member
 member is offline
Joined: Oct 2011 Gender: Male  Posts: 12
|  | Re: How to copy files from one folder to a partiti « Reply #3 on Dec 3, 2011, 6:21am » | |
Dec 2, 2011, 6:36pm, beardedragon wrote:Seems like a few instructions were left out along the way, besides a misspelling in your copy statement. This is not a criticism. You need to be root when you do the copy, so su to root when you open Terminal. You need to mount the partition you are going to copy to.
cp KERNEL /dev/sad3/ should read cp KERNEL /dev/sda3/
Let us know if you get any errors. |
|
That was a typo on my part ... I tried this and again to no avail. Nothing shows up on the command line after doing this.
| |
|
caddisfly New Member
 member is offline
Joined: Oct 2011 Gender: Male  Posts: 12
|  | Re: How to copy files from one folder to a partiti « Reply #4 on Dec 3, 2011, 7:23am » | |
Dec 3, 2011, 12:24am, Anthony Nordquist wrote:| The best way to accomplish this is to use Thunar file manager, you have it open in one of your screenshots. First you need to mount the partition, you do this by using Gigolo, which has a launcher on the bottom panel. |
|
OK ... this worked.
![[image] [image]](http://s1.bild.me/bilder/030611/3495623-dev-sda_-_GParted_004.jpeg)
Now I get the following message ...
![[image] [image]](http://s1.bild.me/bilder/030611/8889205Information_about_-dev-sda3_005.jpeg)
Just another challenge to work through. I ask the author of Openelec about this.
I really feel like an idiot and really appreciate you taking time to answer my questions.
| |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,336
|  | Re: How to copy files from one folder to a partiti « Reply #5 on Dec 4, 2011, 12:20am » | |
Delete /dev/sda3 and create a new partition, something went wrong probably when creating it the first time around.
Edit: If you installed the restricted codecs you have the Debian Multimedia repository enabled and could just install XBMC in SalineOS. (XBMC is supplied by Debian Multimedia but isn't in the official Squeeze repositories)
| |
|
caddisfly New Member
 member is offline
Joined: Oct 2011 Gender: Male  Posts: 12
|  | Re: How to copy files from one folder to a partiti « Reply #6 on Dec 31, 2011, 10:20am » | |
I'm back after a hectic month of work and holidays I back to get this successfully working.
Thanks for your patients with this linux idiot.
Dec 4, 2011, 12:20am, Anthony Nordquist wrote:| Delete /dev/sda3 and create a new partition, something went wrong probably when creating it the first time around. |
|
I did this numerous times and have decided to just shelve Openelec and try and set up SalineOS only.
Quote:| Edit: If you installed the restricted codecs you have the Debian Multimedia repository enabled and could just install XBMC in SalineOS. (XBMC is supplied by Debian Multimedia but isn't in the official Squeeze repositories) |
|
I have installed Debian Multimedia but not sure about what the 'restricted codecs' are installed or not.
Another challenge, I installed the HDHomerun program but it doesn't show up in the menu so I can upgrade the software ...
| |
|
mihail Full Member
   member is offline
Joined: Dec 2011 Gender: Male  Posts: 120 Location: Romania
|  | Re: How to copy files from one folder to a partiti « Reply #7 on Dec 31, 2011, 1:00pm » | |
maybe I can help, but you need to provide more details..
as a curiosity, what is Openlec?
you need more codecs, encoders and stuff like that, Saline is not a multimedia distro...
for what kind of multimedia would you be using your computer for?
|
|
|
caddisfly New Member
 member is offline
Joined: Oct 2011 Gender: Male  Posts: 12
|  | Re: How to copy files from one folder to a partiti « Reply #8 on Dec 31, 2011, 7:41pm » | |
Dec 31, 2011, 1:00pm, mihail wrote:| maybe I can help, but you need to provide more details.. |
|
What details do you need?
Quote:| as a curiosity, what is Openlec? |
|
http://openelec.tv/ Open Embedded Linux Entertainment Center, or OpenELEC for short, is a small Linux distribution built from scratch as a platform to turn your computer into a complete XBMC media center
Quote:| you need more codecs, encoders and stuff like that, Saline is not a multimedia distro... |
|
OK ... I installed the debian multimeda and the hdhomerun files. What elese will I need?
Quote:| for what kind of multimedia would you be using your computer for? |
|
Primarily XBMC and Tvheadend as a HTPC. I wanted to get Saline up and going because I want to migrate away from windows.
| |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,336
|  | Re: How to copy files from one folder to a partiti « Reply #9 on Dec 31, 2011, 8:19pm » | |
In order to use your HDHomeRun you need to install MythTV, then open MythTV and select your HDHomeRun as the tuner. From the HDHomeRun website:
MythTV is the leading DVR application for Linux and includes full HDHomeRun support. No kernel space drivers to install – just select HDHomeRun from the tuner list and run a channel scan.
Installing XBMC is as easy as running aptitude install xbmc with the Debian Multimedia repository enabled. It "should" pull in all the needed codecs with it.
| |
|
mihail Full Member
   member is offline
Joined: Dec 2011 Gender: Male  Posts: 120 Location: Romania
|  | Re: How to copy files from one folder to a partiti « Reply #10 on Jan 1, 2012, 10:34am » | |
well, cadisfly, me thinks Anthony solved your problem
|
|
|
|