Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]cp odmówiło posłuszeństwa :(
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Pryka
l33t
l33t


Joined: 08 Jun 2007
Posts: 658
Location: /dev/null

PostPosted: Sat Apr 12, 2008 6:03 pm    Post subject: [SOLVED]cp odmówiło posłuszeństwa :( Reply with quote

Mam problem z aktualizacją kernela
Code:
cp arch/i386/boot/bzImage /boot/kernel-2.6.24-gentoo-r5
cp: nie można wykonać stat na `arch/i386/boot/bzImage': Nie ma takiego pliku ani katalogu


O co biega? Taką samą przygodę miałem przy kopiowaniu starego .config(nic nie wskórałem i skopiowałem go spod Nautilusa)


Last edited by Pryka on Sat Apr 12, 2008 7:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
wodzik
l33t
l33t


Joined: 12 Jun 2005
Posts: 713
Location: Człuchów

PostPosted: Sat Apr 12, 2008 6:15 pm    Post subject: Reply with quote

nie jestem pewien czy w najnowszych kernelach jest i386. chyba zastapili je x86 costam
_________________
:() { :|: & };: <- nie próbuj wpisywać tego w konsoli
Back to top
View user's profile Send private message
TBH the lolmaker
n00b
n00b


Joined: 01 Feb 2006
Posts: 64
Location: Poland

PostPosted: Sat Apr 12, 2008 6:23 pm    Post subject: Reply with quote

wodzik Prawdę rzecze ;)

Code:
tbh@PuddleFrog ~ $ ls /usr/src/linux/arch/
alpha  avr32     cris  h8300  m32r  m68knommu  parisc   ppc   sh    sparc    um    x86     xtensa
arm    blackfin  frv   ia64   m68k  mips       powerpc  s390  sh64  sparc64  v850  x86_64
tbh@PuddleFrog ~ $   

_________________
Niegodna śmierć jest tylko wtedy, kiedy próbowało się przeżyć cudzym kosztem.
Hanna Krall (ur. 1937), polska dziennikarka i pisarka.
Back to top
View user's profile Send private message
wodzik
l33t
l33t


Joined: 12 Jun 2005
Posts: 713
Location: Człuchów

PostPosted: Sat Apr 12, 2008 6:26 pm    Post subject: Reply with quote

powiem wiecej. w 2.6.24-gentoo-r5 nie ma nawet x86_64, tylko samo x86
_________________
:() { :|: & };: <- nie próbuj wpisywać tego w konsoli
Back to top
View user's profile Send private message
Pryka
l33t
l33t


Joined: 08 Jun 2007
Posts: 658
Location: /dev/null

PostPosted: Sat Apr 12, 2008 6:55 pm    Post subject: Reply with quote

Code:
cp arch/x86/boot/bzImage /boot/kernel-2.6.24-gentoo-r5
cp: nie można wykonać stat na `arch/x86/boot/bzImage': Nie ma takiego pliku ani katalogu



Code:
cp /usr/src/linux/arch/x86/boot /boot/kernel-2.6.24-gentoo-r5
cp: katalog `/usr/src/linux/arch/x86/boot' został pominięty



ke?
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Sat Apr 12, 2008 7:01 pm    Post subject: Reply with quote

Code:
make install
Back to top
View user's profile Send private message
Pryka
l33t
l33t


Joined: 08 Jun 2007
Posts: 658
Location: /dev/null

PostPosted: Sat Apr 12, 2008 7:11 pm    Post subject: Reply with quote

To takie buty teraz, dzięki dobrze wiedzieć
Back to top
View user's profile Send private message
matiit
Guru
Guru


Joined: 05 Aug 2007
Posts: 506

PostPosted: Sat Apr 12, 2008 7:23 pm    Post subject: Reply with quote

Ja instalowałem tego dokładnie kernela przez cp i działało.
Back to top
View user's profile Send private message
wodzik
l33t
l33t


Joined: 12 Jun 2005
Posts: 713
Location: Człuchów

PostPosted: Sat Apr 12, 2008 7:41 pm    Post subject: Reply with quote

Pryka wrote:
Code:
cp arch/x86/boot/bzImage /boot/kernel-2.6.24-gentoo-r5
cp: nie można wykonać stat na `arch/x86/boot/bzImage': Nie ma takiego pliku ani katalogu



Code:
cp /usr/src/linux/arch/x86/boot /boot/kernel-2.6.24-gentoo-r5
cp: katalog `/usr/src/linux/arch/x86/boot' został pominięty



ke?


z tego wychdzi, ze nie ma pliku bzImage, czyli najpewniej nie zrobiles make, albo plik nazywa sie jakos inaczej. przy cp: katalog `/usr/src/linux/arch/x86/boot' został pominięty nic dziwnego, bo chciales kopiowac katalog bez opcji -r. co pokazuje ci ls /usr/src/linux/arch/x86/boot/ ?
_________________
:() { :|: & };: <- nie próbuj wpisywać tego w konsoli
Back to top
View user's profile Send private message
Pryka
l33t
l33t


Joined: 08 Jun 2007
Posts: 658
Location: /dev/null

PostPosted: Sat Apr 12, 2008 7:44 pm    Post subject: Reply with quote

nigdy nie używałem opcji -r a plik bzImage istnieje bo sprawdzałem
Back to top
View user's profile Send private message
matiit
Guru
Guru


Joined: 05 Aug 2007
Posts: 506

PostPosted: Sat Apr 12, 2008 7:47 pm    Post subject: Reply with quote

Code:
cp /usr/src/linux/arch/x86/boot /boot/kernel-2.6.24-gentoo-r5
cp: katalog `/usr/src/linux/arch/x86/boot' został pominięty

Powinno być:
Code:
cp /usr/src/linux/arch/x86/boot/bzImage /boot/kernel-2.6.24-gentoo-r5
Back to top
View user's profile Send private message
Pryka
l33t
l33t


Joined: 08 Jun 2007
Posts: 658
Location: /dev/null

PostPosted: Sat Apr 12, 2008 7:51 pm    Post subject: Reply with quote

Głupi jestem :P Dzięki
Back to top
View user's profile Send private message
TBH the lolmaker
n00b
n00b


Joined: 01 Feb 2006
Posts: 64
Location: Poland

PostPosted: Sat Apr 12, 2008 8:17 pm    Post subject: Reply with quote

wodzik wrote:
powiem wiecej. w 2.6.24-gentoo-r5 nie ma nawet x86_64, tylko samo x86


Na Twoim 32 bitowym systemie pewnie tak... ;-)
_________________
Niegodna śmierć jest tylko wtedy, kiedy próbowało się przeżyć cudzym kosztem.
Hanna Krall (ur. 1937), polska dziennikarka i pisarka.
Back to top
View user's profile Send private message
wodzik
l33t
l33t


Joined: 12 Jun 2005
Posts: 713
Location: Człuchów

PostPosted: Sat Apr 12, 2008 8:41 pm    Post subject: Reply with quote

gdzieś czytałem, ze mieli połączyć x86 z x86_64 bo wiele kodu jest takiego samego, a to co się rożni miało mieć inne przyrostki, bodajże _32 i _64, ale nie mogę teraz znaleźć żadnego linka. @Pryka już wcześniej pisałem, że próbujesz skopiować cały katalog. a jeśli cp arch/x86/boot/bzImage nie działa, a cp /usr/src/linux/arch/x86/boot/bzImage już tak to najwyraźniej byleś w złym katalogu. bo nie wierzę, że cp z podaniem ścieżki względnej nie działa, a z podaniem bezwzględnej już tak.
------------EDIT---------
link: http://www.heise-online.pl/news/item/1592
_________________
:() { :|: & };: <- nie próbuj wpisywać tego w konsoli
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sat Apr 12, 2008 9:11 pm    Post subject: Reply with quote

Code:
jinchuuriki ~ # ls /usr/src/linux/arch/x86/boot/bzImage -l
-rw------- 1 root root 2636536 kwi 11 00:56 /usr/src/linux/arch/x86/boot/bzImage
jinchuuriki ~ # ls /usr/src/linux/arch/x86_64/boot/bzImage -l
lrwxrwxrwx 1 root root 22 kwi 11 00:56 /usr/src/linux/arch/x86_64/boot/bzImage -> ../../x86/boot/bzImage

i wszystko jasne.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum