Forum
« How to copy files from one folder to a partition »

Welcome Guest. Please Login or Register.
May 19, 2013, 7:49pm



Return to or visit the SalineOS webpage

Forum :: General :: New Linux User Questions :: How to copy files from one folder to a partition
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: How to copy files from one folder to a partition (Read 445 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]

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]

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
Link to Post - Back to Top  IP: Logged
beardedragon
Global Moderator
*****
member is offline

[avatar]



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.
Link to Post - Back to Top  IP: Logged

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]

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
Link to Post - Back to Top  IP: Logged
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.
Link to Post - Back to Top  IP: Logged
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]

Now I get the following message ...

[image]

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.
Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

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)
« Last Edit: Dec 4, 2011, 12:23am by Anthony Nordquist »Link to Post - Back to Top  IP: Logged
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 ...
Link to Post - Back to Top  IP: Logged
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?
Link to Post - Back to Top  IP: Logged

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.
Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

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.
Link to Post - Back to Top  IP: Logged
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 :)
Link to Post - Back to Top  IP: Logged

   [Search This Thread] [Share Topic] [Print]



Anthony Nordquist, on behalf of the SalineOS project, is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. As such, if you click the above banner and then make any purchase including digital downloads, a small percentage will be paid to the SalineOS project.
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile