LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-22-2005, 02:53 PM   #1
landfill
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 53

Rep: Reputation: 15
Dual booting slackware and gentoo.


So, I already had slackware installed on one parition (/dev/hdb2) of my hard drive and windows on the other (/dev/hdb1) and I had set up lilo to dual boot nicely. Now, I've installed gentoo on the partition that used to contain windows, and I'm not sure what I should put in the gentoo section of /etc/lilo.conf (residing on my slack partition).
Help much appreciated!
L.
 
Old 02-22-2005, 03:05 PM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

first info: where is lilo installed? i suppose that you are running lilo from slack, so what you need to do is the following:
1. mount your gentoo system somewhere : mount /dev/hdb1 /gentoo - add the partition info to fstab in your slackware system.
2. find where is gentoo kernel: 99% /boot
3. add that to lilo.conf from SLACKWARE in your gentoo section:
Code:
root=/gentoo/boot/kernel-blah-blah
you need to fill with the correct nameof your kernel file....

regards

slackie1000
 
Old 02-22-2005, 03:09 PM   #3
landfill
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
Ahhh, I see, I didn't mount it.
I'll try that, thanks a lot!
L.
 
Old 02-23-2005, 07:41 AM   #4
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

you don't need to mount. the important part is adding the correct entry to your fstab file.
mountinng is just a way of checking if slack can "see" your gentoo partition.

cheers

slackie1000
 
Old 02-23-2005, 09:03 AM   #5
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 31
Sorry, but I want to know: Don't you need to mount? Will lilo be happy if it cannot "see" the gentoo kernel when run?
 
Old 02-23-2005, 10:03 AM   #6
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
When it comes to dual booting, I personally prefer Grub, living on a shared /boot partition. Makes life easier
 
Old 02-23-2005, 12:16 PM   #7
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
Quote:
Originally posted by enemorales
Sorry, but I want to know: Don't you need to mount? Will lilo be happy if it cannot "see" the gentoo kernel when run?
hi there,

you don't mount manually, i mean. you add to fstab and make it mount at boot time.
only then you will be able to run direct from lilo the gentoo kernel.

regards

slackie1000
 
Old 02-23-2005, 01:02 PM   #8
Itzac
Member
 
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Rep: Reputation: 15
Actually Slackie that's backwards. Lilo just needs to be able to see all the kernels you'd like to be able to boot when you run lilo. I assume what people were saying before, tho I've never tried it, is that if you refence a partition lilo can't see when it's run, it'll try to mount it itself, which is why it needs to be in fstab. I've mounted partitions by hand without any trouble in the past, except that it makes your lilo.conf a little confusing to read at times.

With respect to grub, it does have some nice features, but it left me severely stranded when I deleted the partition with grub.conf on it. Lilo would still have let me boot all the other partitions. And it is possible to make lilo look just as pretty as grub.
 
Old 02-23-2005, 05:00 PM   #9
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Quote:
With respect to grub, it does have some nice features, but it left me severely stranded when I deleted the partition with grub.conf on it.
How come? You should still have been able to boot from Grub's command line. .

But it's more the fact that grub lives on /boot that makes me like it for a multi-boot - it means I can change it no matter what distro I happen to ahve booted into.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual booting W95,98,2000,XP,Gentoo bluedevlx Linux - Newbie 6 10-07-2004 07:14 AM
Dual booting WindowsXP and Gentoo - HOW??? black hole sun General 5 08-09-2004 01:45 PM
LILO/GRUB for dual booting Gentoo and Debian. rmanocha Linux - Software 2 02-22-2004 01:23 PM
Dual booting Gentoo and XP using grub GoatKing Linux - Software 7 01-26-2004 02:42 AM
dual booting winxp/gentoo linux c0nfig Linux - General 2 08-08-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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