LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-19-2009, 05:06 PM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,693

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
lilo + Slackware + Slamd64


I thought I would give Slamd64 a try since I bought a old hard drive off of a friend of mine. Anyway I installed windows first then Slackware and then slamd64. The problem I am having is during the install of slamd64 i choose not to install lilo since its already installed with slackware. After the install of slamd64 I reboot into slackware and add a line in /etc/lilo.conf for slamd64 and reboot. However everytime I try to boot slamd64 I get a kernel panic because its not mounting the root file system in time so it panics. I am pretty sure its a lilo problem, here is the relevant section of my lilo.conf. Can someone point me in the right direction

# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sdb1
label = Linux
append = "video=uvesafb:1920x1200-32,mtrr:3,ywrap"
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sdc1
label = slamd64
#append = "video=uvesafb:1920x1200-32,mtrr:3,ywrap"
read-only
# Linux bootable partition config ends
 
Old 02-19-2009, 05:20 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
For the slamd64 label, you boot your Slackware 32bit kernel and then tell it to use a root filesystem populated with 64bit binaries... that will not work.

Instead, you will have to instruct slamd64's lilo to install itself into the slamd64 root partition and then tell Slackware's lilo (which resides in the MBR) to chainload slamd64. This is what the slamd64 section should look like in Slackware's /etc/lilo.conf:
Code:
# Linux bootable partition config begins
other = /dev/sdc1
label = slamd64
Eric
 
Old 02-19-2009, 05:23 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,064

Rep: Reputation: Disabled
Foe slamd64, 'image = /boot/vmlinuz' is wrong.

While under Slackware you should mount /dev/scd1 somewhere (e.g. /mnt/slamd64, after having made that directory) and write 'image = /mnt/slamd64/boot/vmlinuz' in lilo.conf for it.

Otherwise lilo would take the Slackware image to boot Slamd64.

Then check with 'lilo -t -v' before issuing 'lilo'.

[EDIT, Eric's response not seen before posting] Or do what Eric propose, he knows better than me how lilo work.

Last edited by Didier Spaier; 02-20-2009 at 01:45 AM.
 
Old 02-20-2009, 12:36 AM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,693

Original Poster
Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Quote:
Originally Posted by Alien Bob View Post
For the slamd64 label, you boot your Slackware 32bit kernel and then tell it to use a root filesystem populated with 64bit binaries... that will not work.

Instead, you will have to instruct slamd64's lilo to install itself into the slamd64 root partition and then tell Slackware's lilo (which resides in the MBR) to chainload slamd64. This is what the slamd64 section should look like in Slackware's /etc/lilo.conf:
Code:
# Linux bootable partition config begins
other = /dev/sdc1
label = slamd64
Eric
Thanks Eric, that worked perfectly
 
  


Reply



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
Howto: slackware (slamd64) on Mac Pro pooryorick Slackware 1 02-17-2009 03:25 PM
Slackware vs Slamd64 tdos20 Slackware 6 02-23-2007 01:33 AM
Unusual issues switching from Slamd64 to Slackware Dymitry Slackware 2 02-12-2006 11:21 PM
Which 64-bit Linux is an alternative to Slamd64/Slackware? mmarkvillanueva Slackware 23 11-17-2005 05:03 PM
Is slamd64 worth removing slackware current? cheater1034 Slackware 4 06-13-2005 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:46 PM.

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
Open Source Consulting | Domain Registration