LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-06-2003, 03:44 PM   #1
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Rep: Reputation: 31
safe tri-boot


feelin comfortabe with slak, so i want to try installing it on extra space i left on my dual-boot drive. i have win2k, rh8, and left 22gb unpartitioned just for this.

since last time(1st time) i installed slak i had problems on where to setup boot manager.

So should i point to hda2(/boot) where i have rh8's lilo ?
or just point to / ion the new slak partion ?

Thanks again

edit: installed slak. made 2 partitions /, and a /usr.
skipped lilo in install'

i edited lilo via Rh, and /sbin/lilo and i get error:

dev/hda7 doesent have a valid boot signature

here's my edit to lilo :

other=/dev/hda/7
optional
image=/vmlinuz-ide-2.4.18
label=slack




Last edited by spooge; 04-06-2003 at 07:13 PM.
 
Old 04-06-2003, 10:00 PM   #2
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Original Poster
Rep: Reputation: 31
=
 
Old 04-06-2003, 10:05 PM   #3
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Original Poster
Rep: Reputation: 31
great no replies, this must be a simple one
 
Old 04-06-2003, 11:05 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Got a few pointers...

Your entry in lilo looks odd:
Code:
other=/dev/hda/7
optional
image=/vmlinuz-ide-2.4.18
label=slack
I'm assuming:
other=/dev/hda/7 is a typo and you meant:
other=/dev/hda7

Here is an example of my entry in my Mandrake lilo config (I use that as my boot loader even though Slack is my main distro):
Code:
image=/boot/vmlinuz-SlackRaid
        label=Slack
        root=/dev/hdb1
        append="hdd=ide-scsi hdc=ide-scsi"
        vga=791
        read-only
The main thing to note is that you need the kernel (all of them) in the /boot directory of your distro that you are using your boot loader from (so for you you'll need your slack kernel in your /boot directory of your rh partition).
This does assume you don't have a seperate partition for /boot (in which case you don't really need to worry about that, but make sure /boot is pointing to the correct partition in every distro).

Cool
 
Old 04-06-2003, 11:20 PM   #5
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
For the lilo config file; the Slack partition should look some thing like;

# Linux bootable partition config begins
image = /boot/slack-vmlinuz
root = /dev/hda7
label = Slackware
append = "hdd=ide-scsi"
read-only
# Linux bootable partition config ends

For this to work, since you elected to skip lilo on the Slack install. You will need to mount the Slack partition under RH and then copy the Slack kernel from the Slack /dev/hda7 partition to the RH partition in the /boot directory. So that when you run lilo it will be able see the kernel file. Use another filename if you desire, but I suggest naming it something you will now to be Slack. Now I used the append statement above for an IDE CDrecorder drive on /dev/hdd, please change to your drive as required. If not needed then just remove the line. I also based /dev/hda7 from your earlier post, but it needs to be set to the Slackware root partition that you installed on. Run lilo after the file is edited. You should then be able to reboot and choose Slackware from the lilo menu.

The use of the "other" keyword here would probably be usable if lilo had been installed on /dev/hda7. Then you would have two lilo boot loaders that would actually run. The first from RH that calls another lilo from Slack install.

Keep in mind also here that your Slack install is dependent on the RH partition being present and bootable and the kernel where it is. If you wipe the RH partition then the Slack will not boot either. So I would highly suggest making a kernel floppy disk and using the rdev command to set the root partition. Provided of course the kernel will fit on a diskette.

cp /boot/slack-vmlinuz /dev/fd0
rdev /dev/fd0 /dev/hda7

Perhaps it will be of some help.
 
Old 04-07-2003, 10:21 AM   #6
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Original Poster
Rep: Reputation: 31
thanks guys, that helps me alot !
i'm sure i'll have it up and runnin tonight.

thanks again
 
Old 04-07-2003, 01:31 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Cool, good luck; and post back if you have any problems/hitches

Cool
 
Old 06-01-2003, 05:00 PM   #8
spooge
Member
 
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware
Posts: 307

Original Poster
Rep: Reputation: 31
well i'm back, hadn't had time to work on this...

ok i have a new install, and ready to try again

win2k
rh9.0
and 20gb leftover for slak
i'll make some basic partitions for slak

2gb swap
5gb /
13 /usr

and point kernel( /boot), and bootloaders to rh partitions


sorry for not reporting sooner
thanks
 
Old 06-01-2003, 05:08 PM   #9
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
You could list the other kernels all in one lilo bootloaded, as long as the /boot partition of the other is mounted, you give lilo the correct path to it, and it'll add the menu as a selectable OS from your first lilo. No need to load a second one to select RH in your case.
Eg in my case this install has entries like:
Quote:
image=/mnt/hdb5/boot/vmlinuz
label="Mdk9.1hdb5"
root="/dev/hdb5"
initrd="/mnt/hdb5/boot/initrd.img"
append="quiet devfs=mount hdc=ide-scsi acpi=off"
vga=788
read-only
 
  


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
Tri-Boot pete138 Linux - Software 10 10-09-2005 02:19 PM
Tri-boot simeandrews Linux - General 16 09-23-2005 07:31 PM
tri boot? spork545 Linux - General 16 08-06-2003 07:53 PM
Is it possible to have something like a tri boot? Ekim Gram Linux - Newbie 26 06-02-2003 09:41 PM
tri boot lacrimae Linux - Software 1 03-08-2002 07:04 PM

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

All times are GMT -5. The time now is 07:49 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