Kernel Upgrade Problems

Help for Mepis 11 modified with a non-Mepis kernel, upgraded KDE. or base repositories other than Debian squeeze
Message
Author
User avatar
smilliken
Forum Guide
Forum Guide
Posts: 1972
Age: 57
Joined: Tue Feb 06, 2007 11:47 pm

Kernel Upgrade Problems

#1 Postby smilliken » Thu May 17, 2012 12:03 am

I installed the 3.2 liquorix kernel from the repos, but I can't get the bot from it. I ran the following command:

Code: Select all

[root@HPDV4 Scott]# update-initramfs -c -t -k 3.2.0-2.dmz.1-liquorix-amd64
update-initramfs: Generating /boot/initrd.img-3.2.0-2.dmz.1-liquorix-amd64
[root@HPDV4 Scott]#


and I don't get any errors.

I have not changed anything in the GRUB menu. It is a dual boot laptop. M11 upgraded to KDE 4.7.4.

Any pointers much appreciated.
There is no "Ctrl+Z" in life!
Acer 7551G MX-15
Dell 1525, MX15 XFCE4 & Win 10
HP DV4-1118 Mepis 12 4.14 & Win 10
HP CP1215/Brother DCP-7065DN
Linux User# 4523410

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 6106
Age: 41
Joined: Wed Jul 12, 2006 1:42 am

Re: Kernel Upgrade Problems

#2 Postby Adrian » Thu May 17, 2012 12:50 am

What's the GRUB entry for that kernel?

User avatar
lucky9
Forum Veteran
Forum Veteran
Posts: 12222
Age: 70
Joined: Wed Jul 12, 2006 5:54 am

Re: Kernel Upgrade Problems

#3 Postby lucky9 » Thu May 17, 2012 1:11 pm

Sounds like using the 'newest kernel' entry. Is that the case?
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain

User avatar
chippy52
Forum Regular
Forum Regular
Posts: 371
Joined: Wed Jul 29, 2009 6:05 pm

Re: Kernel Upgrade Problems

#4 Postby chippy52 » Thu May 17, 2012 2:57 pm

Thats the same code given to me by stevo when I upgraded to 3.2. ( minus the T flag ). Perhaps you need to reinstall grub.
Mepis 11 64bit Linux 3.2.0-0.bpo.4-amd64, KDE 4.5.1
Intel i5 2400, Asus P8H67-M-EVO, G-Skill Ripjaws 2x4GB DDR3-1333, nVidia GeForce GT430, Seagate 500GB sata3 HDD

User avatar
smilliken
Forum Guide
Forum Guide
Posts: 1972
Age: 57
Joined: Tue Feb 06, 2007 11:47 pm

Re: Kernel Upgrade Problems

#5 Postby smilliken » Thu May 17, 2012 3:49 pm

Adrian wrote:What's the GRUB entry for that kernel?


menu.list

Code: Select all


timeout 10
color cyan/blue white/blue
foreground ffffff
background 0639a1

gfxmenu /boot/grub/message

title MEPIS 11 at sda5, newest kernel
root (hd0,4)
kernel /boot/vmlinuz root=/dev/sda5 nomce quiet splash vga=788 xdrvr=intel confx
initrd /boot/initrd.img
boot

title MEPIS 11 at sda5, kernel 2.6.36-1-mepis64-smp
root (hd0,4)
kernel /boot/vmlinuz-2.6.36-1-mepis64-smp root=/dev/sda5 nomce quiet splash vga=788
initrd /boot/initrd.img-2.6.36-1-mepis64-smp
boot

title Windows 7 at sda1
rootnoverify (hd0,0)
chainloader +1

title Windows Recovery Environment (loader) at sda2
rootnoverify (hd0,1)
chainloader +1

title MEMTEST
kernel /boot/memtest86+.bin


I tried to add vmlinux-3.2.0-2.dmz.1-liquorix.amd64 to the boot line, but it booted then hung, saying it could not find /dev/sda5
There is no "Ctrl+Z" in life!
Acer 7551G MX-15
Dell 1525, MX15 XFCE4 & Win 10
HP DV4-1118 Mepis 12 4.14 & Win 10
HP CP1215/Brother DCP-7065DN
Linux User# 4523410

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 8913
Age: 57
Joined: Wed Jul 12, 2006 2:26 pm

Re: Kernel Upgrade Problems

#6 Postby kmathern » Thu May 17, 2012 3:58 pm

I wonder, were the vmlinuz and initrd.img symlinks created for the liquorix kernel?

What does the following show?

Code: Select all

ls -l /boot # the "-l" is a lowercase L

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 6106
Age: 41
Joined: Wed Jul 12, 2006 1:42 am

Re: Kernel Upgrade Problems

#7 Postby Adrian » Thu May 17, 2012 4:00 pm

You need to create vmlinuz and initrd.img links to /boot/vmlinuz-3.2.0-2.dmz.1-liquorix-amd64 and /boot/initrd.img-3.2.0-2.dmz.1-liquorix-amd64

Or add an entry in menu.lst like this

Code: Select all

title MEPIS 11 at sda5, liquorix kernel
root (hd0,4)
kernel /boot/vmlinuz-3.2.0-2.dmz.1-liquorix-amd64 root=/dev/sda5 nomce quiet splash vga=788 xdrvr=intel confx
initrd /boot/initrd.img-3.2.0-2.dmz.1-liquorix-amd64
boot
Last edited by Adrian on Thu May 17, 2012 4:40 pm, edited 1 time in total.

User avatar
smilliken
Forum Guide
Forum Guide
Posts: 1972
Age: 57
Joined: Tue Feb 06, 2007 11:47 pm

Re: Kernel Upgrade Problems

#8 Postby smilliken » Thu May 17, 2012 4:13 pm

kmathern wrote:I wonder, were the vmlinuz and initrd.img symlinks created for the liquorix kernel?

What does the following show?

Code: Select all

ls -l /boot # the "-l" is a lowercase L


Code: Select all

Scott@HPDV4:~$ ls -l /boot                           
total 34040
-rw-r--r-- 1 root root   113364 Mar 31  2011 config-2.6.36-1-mepis64-smp
-rw-r--r-- 1 root root   134911 Feb  3 19:39 config-3.2.0-2.dmz.1-liquorix-amd64
drwxr-xr-x 2 root root     4096 May 16 22:03 grub
lrwxrwxrwx 1 root root       31 Nov  1  2010 initrd.img -> initrd.img-2.6.36-1-mepis64-smp
-rw-r--r-- 1 root root  9835412 Mar 25 02:27 initrd.img-2.6.36-1-mepis64-smp
-rw-r--r-- 1 root root 13922496 May 16 22:09 initrd.img-3.2.0-2.dmz.1-liquorix-amd64
-rw-r--r-- 1 root root   116284 Dec  4  2008 memtest86+.bin
-rw-r--r-- 1 root root  2085235 Mar 31  2011 System.map-2.6.36-1-mepis64-smp
-rw-r--r-- 1 root root  1896199 Feb  3 19:39 System.map-3.2.0-2.dmz.1-liquorix-amd64
lrwxrwxrwx 1 root root       28 Nov  1  2010 vmlinuz -> vmlinuz-2.6.36-1-mepis64-smp
-rw-r--r-- 1 root root  3445248 Mar 31  2011 vmlinuz-2.6.36-1-mepis64-smp
-rw-r--r-- 1 root root  3217296 Feb  3 19:39 vmlinuz-3.2.0-2.dmz.1-liquorix-amd64
There is no "Ctrl+Z" in life!
Acer 7551G MX-15
Dell 1525, MX15 XFCE4 & Win 10
HP DV4-1118 Mepis 12 4.14 & Win 10
HP CP1215/Brother DCP-7065DN
Linux User# 4523410

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 8913
Age: 57
Joined: Wed Jul 12, 2006 2:26 pm

Re: Kernel Upgrade Problems

#9 Postby kmathern » Thu May 17, 2012 4:26 pm

The symlinks weren't created when the liquorix kernel was installed.

You would create them by running the following root commands:

Code: Select all

ln -sf /boot/vmlinuz-3.2.0-2.dmz.1-liquorix-amd64 /boot/vmlinuz

Code: Select all

ln -sf /boot/initrd.img-3.2.0-2.dmz.1-liquorix-amd64 /boot/initrd.img

After you create those symlinks the "MEPIS 11 at sda5, newest kernel" grub menu entry should boot the liquorix kernel. The entry that follows it should still boot the original 2.6.36-1-mepis64-smp kernel.

User avatar
smilliken
Forum Guide
Forum Guide
Posts: 1972
Age: 57
Joined: Tue Feb 06, 2007 11:47 pm

Re: Kernel Upgrade Problems

#10 Postby smilliken » Thu May 17, 2012 4:51 pm

kmathern wrote:The symlinks weren't created when the liquorix kernel was installed.

You would create them by running the following root commands:

Code: Select all

ln -sf /boot/vmlinuz-3.2.0-2.dmz.1-liquorix-amd64 /boot/vmlinuz

Code: Select all

ln -sf /boot/initrd.img-3.2.0-2.dmz.1-liquorix-amd64 /boot/initrd.img

After you create those symlinks the "MEPIS 11 at sda5, newest kernel" grub menu entry should boot the liquorix kernel. The entry that follows it should still boot the original 2.6.36-1-mepis64-smp kernel.


@kmathern,
That worked, boots to the new kernel. It lost the wifi upon rebooting. I'll play with it and see what happens.

EDIT: Changes the interface from eth1 to wlan0 in wicd and wifi connected right away.
There is no "Ctrl+Z" in life!
Acer 7551G MX-15
Dell 1525, MX15 XFCE4 & Win 10
HP DV4-1118 Mepis 12 4.14 & Win 10
HP CP1215/Brother DCP-7065DN
Linux User# 4523410


Return to “Mepis 11 Modified”

Who is online

Users browsing this forum: No registered users and 1 guest