Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vmlinuz
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Albion
n00b
n00b


Joined: 07 Feb 2012
Posts: 31
Location: England

PostPosted: Wed May 20, 2015 4:40 pm    Post subject: vmlinuz Reply with quote

Whenever I try to work through the manual I always seem to get the following error:

Quote:
livecd linux # cp /boot/vmlinuz /boot/efi/boot/bootx64.efi
cp: cannot stat ‘/boot/vmlinuz’: No such file or directory


Here's the directory listing I have for this:

livecd linux # ls -l /boot/
total 8847
-rw-r--r-- 1 root root 3111859 May 20 18:03 System.map-3.18.12-gentoo
-rw-r--r-- 1 root root 96383 May 20 18:03 config-3.18.12-gentoo
drwxr-xr-x 3 root root 1024 May 20 18:21 efi
drwx------ 2 root root 12288 May 19 22:19 lost+found
-rw-r--r-- 1 root root 5797616 May 20 18:03 vmlinuz-3.18.12-gentoo

Is it just that the manual is missing a * and it should be /boot/vmlinuz*, or am I missing a file?

Thanks in advance.
Back to top
View user's profile Send private message
derk
Guru
Guru


Joined: 10 Mar 2003
Posts: 347
Location: St Thomas Ontario

PostPosted: Wed May 20, 2015 4:50 pm    Post subject: Reply with quote

cp /boot/vmlinuz-3.18.12-gentoo /boot/efi/boot/bootx64.efi


since ... vmlinuz-3.18.12-gentoo may not be the only kernel present .. e.g. vmlinuz-3.18.11-gentoo.. etc.. could also be there. You need to be specifc .. or you will get the last one in the copy list used ..
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7972
Location: ~Brussels - Belgique

PostPosted: Wed May 20, 2015 5:06 pm    Post subject: Reply with quote

The better way is to to that:
Code:
cp /usr/src/linux/arch/x86/boot/bzImage /boot/efi/boot/bootx64.efi

_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Albion
n00b
n00b


Joined: 07 Feb 2012
Posts: 31
Location: England

PostPosted: Wed May 20, 2015 5:42 pm    Post subject: Reply with quote

No errors this time. Many thanks both.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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