MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Kernel Upgrade Problems 
Author Message
Forum Guide
Forum Guide
User avatar

Joined: Tue Feb 06, 2007 11:47 pm
Posts: 1781
Location: Cranbrook, BC
Has thanked: 225 times
Have thanks: 97 times
Post # 299948
Post Kernel Upgrade Problems
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:
[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!
Asus P8Z68-V Pro, Intel i5 2500 Quad, Intel, DWA-552, 2-640 GB, Mepis 11 4.8.4/Win 8
HP DV4-1118 Mepis 12 4.8.4 & Win 8.1
HP P1005/CP1215 Printers
Linux User# 4523410
BB Z10 is here, now we need Linux syncing


Thu May 17, 2012 12:03 am
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 1:42 am
Posts: 4434
Has thanked: 430 times
Have thanks: 585 times
Post # 299951
Post Re: Kernel Upgrade Problems
What's the GRUB entry for that kernel?


Thu May 17, 2012 12:50 am
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 5:54 am
Posts: 10792
Location: Tulsa, Oklahoma U.S.A.
Has thanked: 3574 times
Have thanks: 857 times
Post # 299956
Post Re: Kernel Upgrade Problems
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


Thu May 17, 2012 1:11 pm
Profile
Forum Regular
Forum Regular

Joined: Wed Jul 29, 2009 6:05 pm
Posts: 347
Location: New Zealand
Has thanked: 25 times
Have thanks: 75 times
Post # 299959
Post Re: Kernel Upgrade Problems
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


Thu May 17, 2012 2:57 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Tue Feb 06, 2007 11:47 pm
Posts: 1781
Location: Cranbrook, BC
Has thanked: 225 times
Have thanks: 97 times
Post # 299962
Post Re: Kernel Upgrade Problems
Adrian wrote:
What's the GRUB entry for that kernel?


menu.list
Code:

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!
Asus P8Z68-V Pro, Intel i5 2500 Quad, Intel, DWA-552, 2-640 GB, Mepis 11 4.8.4/Win 8
HP DV4-1118 Mepis 12 4.8.4 & Win 8.1
HP P1005/CP1215 Printers
Linux User# 4523410
BB Z10 is here, now we need Linux syncing


Thu May 17, 2012 3:49 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 2:26 pm
Posts: 6868
Has thanked: 374 times
Have thanks: 2191 times
Post # 299963
Post Re: Kernel Upgrade Problems
I wonder, were the vmlinuz and initrd.img symlinks created for the liquorix kernel?

What does the following show?
Code:
ls -l /boot # the "-l" is a lowercase L


Thu May 17, 2012 3:58 pm

kmathern thanked by: smilliken
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 1:42 am
Posts: 4434
Has thanked: 430 times
Have thanks: 585 times
Post # 299965
Post Re: Kernel Upgrade Problems
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:
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.



Thu May 17, 2012 4:00 pm

Adrian thanked by: smilliken
Profile
Forum Guide
Forum Guide
User avatar

Joined: Tue Feb 06, 2007 11:47 pm
Posts: 1781
Location: Cranbrook, BC
Has thanked: 225 times
Have thanks: 97 times
Post # 299967
Post Re: Kernel Upgrade Problems
kmathern wrote:
I wonder, were the vmlinuz and initrd.img symlinks created for the liquorix kernel?

What does the following show?
Code:
ls -l /boot # the "-l" is a lowercase L


Code:
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!
Asus P8Z68-V Pro, Intel i5 2500 Quad, Intel, DWA-552, 2-640 GB, Mepis 11 4.8.4/Win 8
HP DV4-1118 Mepis 12 4.8.4 & Win 8.1
HP P1005/CP1215 Printers
Linux User# 4523410
BB Z10 is here, now we need Linux syncing


Thu May 17, 2012 4:13 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 2:26 pm
Posts: 6868
Has thanked: 374 times
Have thanks: 2191 times
Post # 299968
Post Re: Kernel Upgrade Problems
The symlinks weren't created when the liquorix kernel was installed.

You would create them by running the following root commands:
Code:
ln -sf /boot/vmlinuz-3.2.0-2.dmz.1-liquorix-amd64 /boot/vmlinuz
Code:
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.


Thu May 17, 2012 4:26 pm

kmathern thanked by: lucky9, smilliken
Profile
Forum Guide
Forum Guide
User avatar

Joined: Tue Feb 06, 2007 11:47 pm
Posts: 1781
Location: Cranbrook, BC
Has thanked: 225 times
Have thanks: 97 times
Post # 299969
Post Re: Kernel Upgrade Problems
kmathern wrote:
The symlinks weren't created when the liquorix kernel was installed.

You would create them by running the following root commands:
Code:
ln -sf /boot/vmlinuz-3.2.0-2.dmz.1-liquorix-amd64 /boot/vmlinuz
Code:
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!
Asus P8Z68-V Pro, Intel i5 2500 Quad, Intel, DWA-552, 2-640 GB, Mepis 11 4.8.4/Win 8
HP DV4-1118 Mepis 12 4.8.4 & Win 8.1
HP P1005/CP1215 Printers
Linux User# 4523410
BB Z10 is here, now we need Linux syncing


Thu May 17, 2012 4:51 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.