You are not logged in.

#1 2011-02-20 05:27:26

unilx
Member
From: Fredericton,Canada
Registered: 2009-10-01
Posts: 183

Problem cp'ing file(SOLVED)

Kernel Compilation from Source for New Users

https://wiki.archlinux.org/index.php/Ke … sers_Guide

I'm having trouble copying a file.When i type in this command nothing happens.I'm not sure what I'm doing wrong

 [unilx@Online src]$ ls
linux  linux-2.6  linux-2.6.37-ARCH  linux-2.6.38-rc5
[unilx@Online src]$ cp /usr/src/linux-2.6.37-ARCH -r`/.config ~/config.save

> 

Thx

Last edited by unilx (2011-02-20 08:12:44)

Offline

#2 2011-02-20 05:34:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Problem cp'ing file(SOLVED)

The wiki example is:

# cp /usr/src/linux-`uname -r`/.config ~/config.save

The 'uname -r' is the command for the kernel name...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2011-02-20 05:38:06

unilx
Member
From: Fredericton,Canada
Registered: 2009-10-01
Posts: 183

Re: Problem cp'ing file(SOLVED)

When i use that command i get:

[unilx@Online src]$ cp /usr/src/linux-`uname -r`/.config ~/config.save
cp: cannot stat `/usr/src/linux-2.6.37-ARCH/.config': No such file or directory
[unilx@Online src]$ 

Btw I don't have a /usr/src/linux-2.6.37-ARCH/.config file


I figured it out.I had to download the linux-2.6.37 source files and copy them to /usr/src and then use "make config"

Last edited by unilx (2011-02-20 08:17:07)

Offline

Board footer

Powered by FluxBB