Cannot select PAE kernel at boot

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot select PAE kernel at boot

metaylor
I have created a live image using livecd-creator. The image includes a hardware diagnostic utility in it. Basically I install the image on a USB device and boot the system using the USB device and run the diagnostic utility to capture data then shutdown the system.

Now I want to use this to run the diagnostic on servers with > 4GB of memory. I used yum command to install the kernel-PAE.i686 to be able to see > 4GB memory. The install was successful. However, when I rebooted, I was not given the option to select the PAE kernel (which is probably because it is a livecd image?).
 
I booted as normal and checked the /boot directory and it contains the following files

-rw-r--r-- 1 root root   90947 2009-06-18 12:57 config-2.6.27.25-78.2.56.fc9.i686
-rw-r--r-- 1 root root   91113 2009-06-18 12:45 config-2.6.27.25-78.2.56.fc9.i686.PAE
drwxr-xr-x 3 root root    4096 2009-12-16 19:11 efi
-rw-r--r-- 1 root root  118396 2009-04-24 15:29 elf-memtest86+-2.11
drwxr-xr-x 2 root root    4096 2008-04-07 13:32 grub
-rw------- 1 root root 2553813 2009-12-17 10:27 initrd-2.6.27.25-78.2.56.fc9.i686.PAE.img
-rw-r--r-- 1 root root  116720 2009-04-24 15:29 memtest86+-2.11
-rw-r--r-- 1 root root  976362 2009-06-18 12:57 System.map-2.6.27.25-78.2.56.fc9.i686
-rw-r--r-- 1 root root  993147 2009-06-18 12:45 System.map-2.6.27.25-78.2.56.fc9.i686.PAE
-rwxr-xr-x 1 root root 2227280 2009-06-18 12:57 vmlinuz-2.6.27.25-78.2.56.fc9.i686
-rwxr-xr-x 1 root root 2269712 2009-06-18 12:45 vmlinuz-2.6.27.25-78.2.56.fc9.i686.PAE

Please note that there was no grub.conf file.

Can anyone tell me what I must do in order to boot the PAE kernel from the live USB? This is a critical issue for me so any and all assistance is greatly appreciated.




 

--
Fedora-livecd-list mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list
Reply | Threaded
Open this post in threaded view
|

Re: Cannot select PAE kernel at boot

Marc Herbert-5
Taylor, Monroe E a écrit :

> Please note that there was no grub.conf file.

The boot loader used is syslinux. Grub is not used.


> I booted as normal and checked the /boot directory and it contains the
> following files
>
> -rwxr-xr-x 1 root root 2227280 2009-06-18 12:57 vmlinuz-2.6.27.25-78.2.56.fc9.i686
> -rwxr-xr-x 1 root root 2269712 2009-06-18 12:45 vmlinuz-2.6.27.25-78.2.56.fc9.i686.PAE

This boot directory is located inside the compressed image, so the
syslinux bootloader cannot use it. The kernel image in /boot is not used
to boot the liveCD. It is used in (at least) two cases:
- when you perform a hard drive installation from the running liveCD
- at build time, to be copied into syslinux/ (I guess)

Searching the list archive for "kernel" will help. See for instance this:
http://thread.gmane.org/gmane.linux.redhat.fedora.livecd/3196/


> Can anyone tell me what I must do in order to boot the PAE kernel from
> the live USB? This is a critical issue for me so any and all
> assistance is greatly appreciated.

You can try to move the kernel outside of the compressed image, but I do
not promise this will be enough. From the runing liveCD try something
like this:

  yum install kernel-PAE
  mount -o remount,rw /mnt/live
  mv /boot/vmlinux-PAE /mnt/live/syslinux/

Then edit syslinux/syslinux.cfg and reboot. And cross fingers.

If this does not work, you will have to understand the build process
better in order to fine-tune it. The list archive will help.

--
Fedora-livecd-list mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list