PDA

View Full Version : fedora-11 live-usb update kernel


schneidz
19th September 2009, 10:04 PM
hi, i ran this but for some reason it keeps using the old kernel:

[liveuser@localhost ~]$ sudo yum install kernel kernel-devel
Loaded plugins: refresh-packagekit
Setting up Install Process
Package kernel-2.6.30.5-43.fc11.x86_64 already installed and latest version
Package kernel-devel-2.6.30.5-43.fc11.x86_64 already installed and latest version
Nothing to do
[liveuser@localhost ~]$ ll /boot
total 13500
-rw-r--r--. 1 root root 92325 2009-05-27 17:37 config-2.6.29.4-167.fc11.x86_64
-rw-r--r--. 1 root root 95218 2009-08-27 21:51 config-2.6.30.5-43.fc11.x86_64
drwxr-xr-x. 3 root root 4096 2009-06-04 15:50 efi
-rw-r--r--. 1 root root 118396 2009-04-24 15:19 elf-memtest86+-2.11
drwxr-xr-x. 2 root root 4096 2009-04-29 17:33 grub
-rw-------. 1 root root 3443403 2009-09-19 15:43 initrd-2.6.30.5-43.fc11.x86_64.img
-rw-r--r--. 1 root root 116720 2009-04-24 15:19 memtest86+-2.11
-rw-r--r--. 1 root root 1624707 2009-05-27 17:37 System.map-2.6.29.4-167.fc11.x86_64
-rw-r--r--. 1 root root 1753873 2009-08-27 21:51 System.map-2.6.30.5-43.fc11.x86_64
-rwxr-xr-x. 1 root root 3118000 2009-05-27 17:37 vmlinuz-2.6.29.4-167.fc11.x86_64
-rwxr-xr-x. 1 root root 3432720 2009-08-27 21:51 vmlinuz-2.6.30.5-43.fc11.x86_64
[liveuser@localhost ~]$ cat /boot/grub/menu.lst
cat: /boot/grub/menu.lst: No such file or directory
[liveuser@localhost ~]$ uname -a -m -p
Linux localhost.localdomain 2.6.29.4-167.fc11.x86_64 #1 SMP Wed May 27 17:27:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux


there seems to be no menu.lst or grub.conf for the live usb. how do i force it to use the new kernel ?
thx.

beaker_
19th September 2009, 11:41 PM
Google fedora livecd creator. That page will give you instructions on creating a custom spin. ~1.9G will give you an updated live cd/dvd/usb with all your favorites (add your packages i.e.,) so a 4G stick will still have room for a 2G persitance overlay.

patemos
7th November 2009, 10:28 AM

Any solutions? I am also interested. As far as I guess the compressed image is not being updated, but only an overlay is used to count for the changes, i.e. new installed programms. If the overlay is empty at that point, the content of the livemedia is used. But grub does not understand this, so no new kernel or loading of modules into the kernel possible.

RahulSundaram
7th November 2009, 10:33 AM
Hi,

New kernels cannot be loaded into persistence due to way overlay works which is a known issue. Other packages can be updated.

patemos
7th November 2009, 07:46 PM
is a known issue

Thanks, that answers all questions!