LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-01-2007, 05:26 PM   #1
noonmid27
Member
 
Registered: Sep 2006
Posts: 79

Rep: Reputation: 15
Dual booting


which one of these do i copy into my /etc/lilo.conf so i can boot 2 distros. i am trying to add sabayon 3.1 to lilo, im running slackware 11 as my primary distrodrwxr-xr-x 3 root root 520 2007-01-01 17:52 .
drwxr-xr-x 3 root root 424 2007-01-01 17:52 ..
-rw-r--r-- 1 root root 0 2007-01-01 17:52 .keep_sys-boot_lilo-0
-rw-r--r-- 1 root root 1647699 2007-01-01 17:52 System.map-genkernel-x86_64-2.6. 18-gentoo
lrwxrwxrwx 1 root root 1 2007-01-01 17:52 boot -> .
-rw-r--r-- 1 root root 62712 2007-01-01 17:52 config-kernel
-rw-r--r-- 1 root root 17932 2007-01-01 17:52 diag2.img
drwxr-xr-x 2 root root 608 2007-01-01 17:52 grub
-rw-r--r-- 1 root root 3497028 2007-01-01 17:52 initramfs-genkernel-x86_64-2.6.1 8-gentoo
-rw-r--r-- 1 root root 4265040 2007-01-01 17:52 kernel-genkernel-x86_64-2.6.18-g entoo
-rw-r--r-- 1 root root 254844 2007-01-01 17:52 xen-3.0.0.gz
lrwxrwxrwx 1 root root 12 2007-01-01 17:52 xen-3.0.gz -> xen-3.0.0.gz
lrwxrwxrwx 1 root root 12 2007-01-01 17:52 xen-3.gz -> xen-3.0.0.gz
-rw-r--r-- 1 root root 589104 2007-01-01 17:52 xen-syms-3.0.0
lrwxrwxrwx 1 root root 12 2007-01-01 17:52 xen.gz -> xen-3.0.0.gz
root@localhost:/home/future# /sbin/lilo


this is what my /etc/lilo.conf looks like


# Start LILO global section
boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 0
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k# Start LILO global section
boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 0
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda5
label = Linux
read-only
image = /boot/initramfs-genkernel-x86_64-2.6.18-gentoo
root = /dev/sda8
label = sabayon
read-only
# Linux bootable partition config ends
root@localhost:/home/future#
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda5
label = Linux
read-only
image = /boot/initramfs-genkernel-x86_64-2.6.18-gentoo
root = /dev/sda8
label = sabayon
read-only
# Linux bootable partition config ends
root@localhost:/home/future#

I have also tried
image = /boot/kernel-genkernel-x86_64-2.6.18-gentoo
root = /dev/sda8
label = sabayon
read-only

when i /sbin/lilo i get an error message........can somebody tell me what im doing wrong sorry for the long post
 
Old 01-01-2007, 08:22 PM   #2
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Rep: Reputation: 30
Althought I can't

Although I can't directly answer your question, I do have a question for you. Why are you using LILO instead of GRUB? GRUB (from my experience) is much easier. Perhaps your distro only has LILO available?

I wish I could be more helpful. However, if you do have the chance to try GRUB sometime, try it. When I used Windows / Mandrake 9.2 dual boot LILO was the only option, but with Windows / Mepis GRUB is the only option and I like it much better.
 
Old 01-01-2007, 10:29 PM   #3
sleekmason
Member
 
Registered: Mar 2006
Distribution: Lilidog!
Posts: 337

Rep: Reputation: 33
I know it feels funny, but make the switch to grub it really is better, and yes I'v used both extensively. Go back to the live dvd of Sabayon, and it will give you an option to just update the boot loader. It will also give you the option to insert your slack into grub. works like a charm. hope you like Gentoo!
 
Old 01-01-2007, 11:25 PM   #4
X00.qxr
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Yes, please use grub. Both boot loaders are quite out of date as it is, but lilo is simply archaic, and possibly prone to problems.

This article may be of assistance:

gentoo-wiki.com/HOWTO_Quick_GRUB
 
Old 01-01-2007, 11:49 PM   #5
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Quote:
Originally Posted by X00.qxr
Both boot loaders are quite out of date as it is, but lilo is simply archaic, and possibly prone to problems.
I would absolutely disagree with that statement. Both bootloaders do the job they are designed to do. Bootloaders don't evolve at the pace of desktop software hence they may seem archaic. Certainly, age of software doesn't equate to bugginess of software. Most bootloader problems are not software problems but are mostly a misconfiguration. I use grub exclusively but I've used Lilo too occasionally. Although Lilo may be old, it is neither archaic nor buggy as far as I know. Veteran Lilo users will probably agree with me.

Tux,

Last edited by tuxrules; 01-01-2007 at 11:53 PM.
 
Old 01-02-2007, 01:45 AM   #6
johngreenwood
Member
 
Registered: Nov 2006
Location: Lancashire, United Kingdom
Distribution: Slackware 13
Posts: 243

Rep: Reputation: 31
Quote:
Veteran Lilo users will probably agree with me.
I wouldn't call myself a "veteran" lilo user, but I agree. I use it, and always have. It does exactly what I want it to do, in exactly the way I want it to. It's very easy too.

John
 
Old 01-02-2007, 02:13 AM   #7
X00.qxr
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by tuxrules
I would absolutely disagree with that statement. Both bootloaders do the job they are designed to do. Bootloaders don't evolve at the pace of desktop software hence they may seem archaic. Certainly, age of software doesn't equate to bugginess of software. Most bootloader problems are not software problems but are mostly a misconfiguration. I use grub exclusively but I've used Lilo too occasionally. Although Lilo may be old, it is neither archaic nor buggy as far as I know. Veteran Lilo users will probably agree with me.
Quote:
Originally Posted by johngreenwood
I wouldn't call myself a "veteran" lilo user, but I agree. I use it, and always have. It does exactly what I want it to do, in exactly the way I want it to. It's very easy too.
In that case, I apologize. The only reason I at first believed lilo was not of high quality was that the GNU project often speaks very negatively of it:

http://www.gnu.org/software/grub/gru...aq.en.html#q12

is one example. However, I really should have tried lilo myself before judging the quality of the software.
 
Old 01-03-2007, 07:53 PM   #8
sleekmason
Member
 
Registered: Mar 2006
Distribution: Lilidog!
Posts: 337

Rep: Reputation: 33
Another can of worms open! Heres the deal. I actually prefer the direct control I get over Lilo, and it is indeed a perfectly good bootloader, and in fact for certain applications it is better! For what noonmid27 is trying to do, it has been my personal experience that grub serves this purpose better for it's ability to auto read the images. Also, while lilo is the default for Slackware, the Sabayon DVD download has integrated Grub as the default loader, and due to the way Sabayon boots, it's just easier to use.
 
Old 01-03-2007, 09:35 PM   #9
inspiron_Droid
Member
 
Registered: Dec 2006
Distribution: Debian (Wheeze)
Posts: 391

Rep: Reputation: Disabled
Personally I use grub but have tried distributions with both grub and lilo but my personal preference is grub. This is for it's simplicity and the fact that I have had to reinstall Linux several times when using Lilo and because of that personal bad luck I have chosen to steeer clear of distributions that use Lilo as their default boot loader.
 
  


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
Dual-booting and Multi-Booting trainee Slackware - Installation 6 06-18-2006 07:50 PM
Questions about dual booting, dual hard drives, and partitioning Raybrandt Linux - Newbie 4 04-22-2006 08:19 PM
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 05:44 PM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 02:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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