View previous topic :: View next topic |
Author |
Message |
Albion n00b
Joined: 07 Feb 2012 Posts: 31 Location: England
|
Posted: Wed May 20, 2015 4:40 pm Post subject: vmlinuz |
|
|
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 |
|
|
derk Guru
Joined: 10 Mar 2003 Posts: 347 Location: St Thomas Ontario
|
Posted: Wed May 20, 2015 4:50 pm Post subject: |
|
|
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 |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed May 20, 2015 5:06 pm Post subject: |
|
|
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 |
|
|
Albion n00b
Joined: 07 Feb 2012 Posts: 31 Location: England
|
Posted: Wed May 20, 2015 5:42 pm Post subject: |
|
|
No errors this time. Many thanks both. |
|
Back to top |
|
|
|