LinuxQuestions.org
Register a domain and help support LQ
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-13-2004, 06:49 AM   #1
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Rep: Reputation: 30
Multiple Linux Installations


I've got SuSE 8.2 running on my machine and recently tried installing slackware too, only to find that it destroyed my SuSE 8.2 kernel . I've since reinstalled SuSE (I couldn't get on the net in Slack) but want to try Slack again, without destroying my other distro this time.

How do I do it? I'm pretty sure it must have something to do with renaming my SuSE kernel image to something else so it doesn't get overwritten but other than that I'm pretty clueless

Can someone please tell me what to do? Please make it simple (I still feel like a bit of a noob)
 
Old 02-13-2004, 07:15 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
you've got to have a different partition to put it in.
repartition to make space. i'm sure more than the kernel was overwritten,
unless it was just your boot loader.
 
Old 02-13-2004, 07:34 AM   #3
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
i did install to a different partition, and the kernel was the only thing that was replaced other than the bootloader (which I replaced out of choice). I thought all the kernels were stored together in /boot
 
Old 02-13-2004, 09:11 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
you put the kernels where ever you wish. it's only important that the boot loader
knows where it is. /boot can be a directory or a partition. it may or may not
be shared with another linux install. i would suggest putting all of slackware
in that other partition, and setting it up to boot manually, after you install.
just dont' let it install lilo or grub, and after, add the slackware kernel to your
other lilo or whatever you are using.
 
Old 02-13-2004, 10:11 AM   #5
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
Thanks for the advice, will try that later. I gotta admit I'm still pretty confused as to how I managed to overwrite my kernel last time - on my system /boot isn't a separate partion and my hdd looked like:

hda1 windoze
hda5 SuSE /
hda6 swap (shared by SuSE and Slack)
hda7 SuSE /usr
hda8 SuSE /home
hda9 Slack /
hda10 Slack /usr/local
hda11 Slack /home

 
Old 02-13-2004, 11:39 AM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
in what you've got there, the suse kernel would be in hda5 and the slack
would be in hda9. maybe the kernel was (is) still there, and you just didn't
get your boot loader set up right.

look up one of the multi boot howto's and you'll learn a few things about how
to set that stuff up.
 
Old 02-13-2004, 12:18 PM   #7
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
I had just reached the same conclusion

I'm still totally clueless though

I'm happy editing my lilo conf, but in SuSE whenever I start with a new option that i say is an image it wants to use the /boot/vmlinuz that is on /dev/hda5 what do I have to write into lilo conf to force it to use the one on /dev/hda9?
Thanks for all the help (and your patience!!!)

ps. my lilo conf is below


# Modified by YaST2. Last modification on Fri Feb 13 17:19:54 2004


default = linux
message = /boot/message
prompt
timeout = 80
boot = /dev/hda

image = /boot/vmlinuz
label = linux
append = "hdc=ide-scsi hdclun=0 splash=silent showopts"
initrd = /boot/initrd
optional
root = /dev/hda5
vga = 0x314

other = /dev/hda1
label = windows

image = /boot/vmlinuz.shipped
label = failsafe
append = "showopts ide=nodma apm=off acpi=off nosmp noapic maxcpus=0 3"
initrd = /boot/initrd.shipped
optional
root = /dev/hda5
vga = normal

image = /boot/vmlinuz
label = Slackware
initrd = /boot/initrd
root = /dev/hda9

Last edited by dhbiker; 02-13-2004 at 12:21 PM.
 
Old 02-14-2004, 12:42 AM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
mount the partition /dev/hda9 somewhere. it doesn't matter where.
maybe it's already mounted. if it's mounted at /mnt/hda9, then
the path you would probably want is /mnt/hda9/boot/vmlinuz

image = /mnt/hda9/boot/vmlinuz
label = Slackware
# initrd = /mnt/hda9/boot/initrd
root = /dev/hda9

you'll have to have hda9 mounted when you run that.
 
  


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 (safely) have multiple GCC installations on the same machine? thanhvn Linux - Software 2 10-05-2005 01:19 AM
Question about multiple Linux installations stunter Linux - Software 5 07-15-2005 08:35 PM
multiple installations cicciopallo Linux - General 2 07-27-2004 05:13 AM
Linux Installations distortedstar Linux - Software 3 01-27-2004 10:42 PM
Multiple Linux Installations jkpalmer52 Linux - Newbie 1 01-23-2004 03:54 PM


All times are GMT -5. The time now is 05:06 PM.

Main Menu
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