Re Kernel-upgrade, Scratching my head again but still going.
So I successfully upgraded to linux-image-3.9.5-antix.1-486-smp, but, my old kernel is still going strong. __{{emoticon}}__
Seems to be ignoring the newer kernel.
$ dpkg -l | grep linux-headers-*
ii linux-headers-3.7.10-antix.3-486-smp 3.7.10-antix.3-486-smp-1 i386 Linux kernel headers for 3.7.10-antix.3-486-smp on i386
ii linux-headers-3.9.5-antix.1-486-smp 3.9.5-antix.1-486-smp-1 i386 Linux kernel headers for 3.9.5-antix.1-486-smp on i386
I have run
update-initramfs -k all -u -t
update-grub
(Thanks Anti)
So even as my grub is on the same partition maybe I still need to edit 'menu 1st' manually
-------------------------------------------------------------------------------------------------------------------------------------------------
this is how it is now:
timeout 5
color cyan/blue white/blue
foreground ffffff
background 0639a1
gfxmenu /boot/grub/message
title antiX at sdb1, kernel 3.7.10-antix.3-486-smp
kernel /boot/vmlinuz-3.7.10-antix.3-486-smp root=/dev/sdb1 quiet
initrd /boot/initrd.img-3.7.10-antix.3-486-smp
boot
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=3f55c9ae-6f38-4e61-a75d-81c6b81837d8 ro
# kopt_2_6=root=UUID=3f55c9ae-6f38-4e61-a75d-81c6b81837d8 ro nosplash quiet
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(single-user) single
# altoptions=(init-3) 3
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Debian GNU/Linux, kernel 3.9.5-antix.1-486-smp
root (hd1,0)
kernel /boot/vmlinuz-3.9.5-antix.1-486-smp root=UUID=3f55c9ae-6f38-4e61-a75d-81c6b81837d8 ro
initrd /boot/initrd.img-3.9.5-antix.1-486-smp
title Debian GNU/Linux, kernel 3.9.5-antix.1-486-smp (init-3)
root (hd1,0)
kernel /boot/vmlinuz-3.9.5-antix.1-486-smp root=UUID=3f55c9ae-6f38-4e61-a75d-81c6b81837d8 ro 3
initrd /boot/initrd.img-3.9.5-antix.1-486-smp
title Debian GNU/Linux, kernel 3.7.10-antix.3-486-smp
root (hd1,0)
kernel /boot/vmlinuz-3.7.10-antix.3-486-smp root=UUID=3f55c9ae-6f38-4e61-a75d-81c6b81837d8 ro
initrd /boot/initrd.img-3.7.10-antix.3-486-smp
title Debian GNU/Linux, kernel 3.7.10-antix.3-486-smp (init-3)
root (hd1,0)
kernel /boot/vmlinuz-3.7.10-antix.3-486-smp root=UUID=3f55c9ae-6f38-4e61-a75d-81c6b81837d8 ro 3
initrd /boot/initrd.img-3.7.10-antix.3-486-smp
title Debian GNU/Linux, kernel memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
### END DEBIAN AUTOMAGIC KERNELS LIST
--------------------------------------------------------------------------------------------------------------------------------------------------
So what am I missing here, I'll bet it's something daft?
AntiX 'installed' on pendrive
topic title: Kernel confusion
5 posts
• Page 1 of 1
-
Posts: 18
- Joined: 15 May 2013
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
title Debian GNU/Linux, kernel 3.9.5-antix.1-486-smp
root (hd1,0)
kernel /boot/vmlinuz-3.9.5-antix.1-486-smp root=UUID=3f55c9ae-6f38-4e61-a75d-81c6b81837d8 ro
initrd /boot/initrd.img-3.9.5-antix.1-486-smp
shows it is there. It will not be the first entry in the grub menu. Use arrow key to maove down.
root (hd1,0)
kernel /boot/vmlinuz-3.9.5-antix.1-486-smp root=UUID=3f55c9ae-6f38-4e61-a75d-81c6b81837d8 ro
initrd /boot/initrd.img-3.9.5-antix.1-486-smp
shows it is there. It will not be the first entry in the grub menu. Use arrow key to maove down.
-
Posts: 2,238
- Joined: 16 Dec 2007
#3
the entry with your new kernel is the second one that will appear on the grub menu. when you have more than one kernel, grub will keep the old working entries. Your entry is near the bottom of your menu.lst, but it will be second on the actual menu display.
## ## End Default Options ##
title Debian GNU/Linux, kernel 3.9.5-antix.1-486-smp
root (hd1,0)
kernel /boot/vmlinuz-3.9.5-antix.1-486-smp root=UUID=3f55c9ae-6f38-4e61-a75d-81c6b81837d8 ro
initrd /boot/initrd.img-3.9.5-antix.1-486-smp
***edit*** and anti beat me to the punch.
## ## End Default Options ##
title Debian GNU/Linux, kernel 3.9.5-antix.1-486-smp
root (hd1,0)
kernel /boot/vmlinuz-3.9.5-antix.1-486-smp root=UUID=3f55c9ae-6f38-4e61-a75d-81c6b81837d8 ro
initrd /boot/initrd.img-3.9.5-antix.1-486-smp
***edit*** and anti beat me to the punch.
-
Posts: 18
- Joined: 15 May 2013
#4
Amazing solution speed.
Going to get a cup of tea before I tackle it.
Many thanks to you both
Going to get a cup of tea before I tackle it.
Many thanks to you both
-
Posts: 18
- Joined: 15 May 2013
#5
So amazed by the speed of the answers I didn't have time to think about what was said.
Thing is I had already tried that but hadn't realised it was what you were saying.
I spent ages re-writting 'Menu1st', rearranging the kernel sequence etc.
You have to remember your dealing with an idiot this end, sorry...
Anyway,I am getting death by 'error 15' at boot, tricky. Probably my old set up or something.
It's not finding a file it needs even though it's all there.
But having taken all sorts of liberties with this OS, I am amazed it still boots perfectly, it really is robust.
In a way that's the real point here, it's a great set-up. Also I have learnt such a lot that I wouldn't have with another system.
OK 3.9.5 dosen't like me but me and 3.7.10 are best mates.
Viva AntiX
Thing is I had already tried that but hadn't realised it was what you were saying.
I spent ages re-writting 'Menu1st', rearranging the kernel sequence etc.
You have to remember your dealing with an idiot this end, sorry...
Anyway,I am getting death by 'error 15' at boot, tricky. Probably my old set up or something.
It's not finding a file it needs even though it's all there.
But having taken all sorts of liberties with this OS, I am amazed it still boots perfectly, it really is robust.
In a way that's the real point here, it's a great set-up. Also I have learnt such a lot that I wouldn't have with another system.
OK 3.9.5 dosen't like me but me and 3.7.10 are best mates.
Viva AntiX