LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 06-23-2004, 12:37 PM   #1
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Rep: Reputation: 31
multi boot after kernel upgrade


I have win98/slack9.1/mandrake9.1 on hdb, and have just upgraded from kernel 2.4.22 to 2.4.26
hda is unplugged.

The choice has always been boot slack from floppy or the mandrake lilo, now the mandrake lilo won't boot slack, I see words "loading slack........................."
and a blinking cursor underneath.

There must be something to change in mdk lilo, but can't think what it could be.
I ran /sbin/lilo after the upgrade, but from habit, as this one doesn't do anything AFAIK.

alsa and lm_sensors also don't work, but can fix those later. (um, maybe)

How do I make slack boot again from the mandrake lilo?
 
Old 06-23-2004, 01:12 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
You need to make sure that /etc/lilo.conf in mandrake is pointing to the new kernel and using the proper name.
 
Old 06-23-2004, 01:19 PM   #3
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Original Poster
Rep: Reputation: 31
Only identifier for the kernel in mandrake lilo is /boot/vmlinuz, not sure how to identify the new update.

Where would I look in slack?
 
Old 06-23-2004, 01:34 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
It's also /boot/vmlinuz on Slack, what changes is the root= thing, where you should point to your Slack partition.
IE:
image=/boot/vmlinuz
root=/dev/hda1
label="Mandrake"
read-only
image=/boot/vmlinuz
#root points to other disk where slack is
root=/dev/hdb1
label="Slackware"
read-only
 
Old 06-23-2004, 01:49 PM   #5
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Original Poster
Rep: Reputation: 31
Yes, that is what was in the mandrake lilo, /boot/vmlinuz as image, and
root=/dev/hdb3

so I don't see why it doesn't boot, as I thought vmlinuz was a link, and should be pointing to the updated kernel.
 
Old 06-23-2004, 02:01 PM   #6
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Quote:
so I don't see why it doesn't boot, as I thought vmlinuz was a link, and should be pointing to the updated kernel.
Nope, vmlinuz IS the kernel........there should be NO symlink at all
 
Old 06-23-2004, 03:27 PM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Well i guess he's using Slackware 9.1 and in that version at least, vmlinuz is a symlink to the kernel he installed (normally, vmlinuz-ide-2.X.X).
I had that problem WIlliams when i didn't run lilo after kernel upgrade, maybe you are running lilo with the wrong lilo.conf?
 
Old 06-23-2004, 03:41 PM   #8
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Original Poster
Rep: Reputation: 31
AHA!!! Victory is Mine!
Removed Slackware entry in mdk lilo.conf, run lilo -v.
Reboot into mdk.
Re-enter Slackware entry in mdk ~/lilo.conf, run lilo -v3.
Reboot, choose slackware, it really loads this time.

OK, I suspected that the image part of the slack entry in mdk lilo.conf was the old kernel, so this.
Maybe reboot not needed, but might be more thorough.

Now to figure why alsa doesn't work, even after remove/re-install+alsaconfig.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Boot Multi Windows & Multi Linux olkar Linux - Newbie 5 10-03-2005 12:52 PM
Kernel panic on Debian multi-boot coldsalmon Debian 5 06-06-2005 08:13 AM
couldn't boot after upgrade kernel longnam Slackware 4 04-13-2005 03:07 AM
Lilo won't boot XP after kernel upgrade jafriede Slackware 6 09-22-2004 02:35 PM
GRUB, Multi Linux/Multi Disk Boot gtnorton Linux - Software 1 03-16-2003 04:48 AM


All times are GMT -5. The time now is 03:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration