LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-27-2003, 10:05 PM   #1
dufferin
Member
 
Registered: Nov 2003
Location: Mt Dufferin
Distribution: Slackware 12.2
Posts: 73

Rep: Reputation: 15
Question Will LILO handle 15 partitions?


Any LILO lovers out there?

I use a 120GIG split in 12 and a 15GIG whole.
Right now I use OSL2000 to select which OS at bootup.

Before I install LILO, I wanna make sure I can put
things back to the way they were if need be.

Is LILO better and will it effect windoze?
Will all partitions be displayed on the menu?

Will it install on hda15 or hda1?
Is it easy to get off, or must you format?

Here's what I got:
WindozeXP on hda1
Others on hda5-14
Slackware 9.1 on hda15
WindozeME on hdb1

Will this work.

Thanks,
John.
 
Old 11-28-2003, 02:33 AM   #2
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
WHY IN THE WORLD DO YOU NEED FIFTEEN PARTITIONS?


Generally it should be no problem as you can choose the partition slackware will be installed on. However it is recommended that you use a primary partition for it.

Post some more information on your partitioning table when you want more help.
 
Old 11-28-2003, 03:43 AM   #3
azar92
LQ Newbie
 
Registered: Sep 2003
Location: Rocky Mountains
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
Re: Will LILO handle 15 partitions?

Quote:
Originally posted by dufferin
Any LILO lovers out there?

I use a 120GIG split in 12 and a 15GIG whole.
Right now I use OSL2000 to select which OS at bootup.

Before I install LILO, I wanna make sure I can put
things back to the way they were if need be.

Is LILO better and will it effect windoze?
Will all partitions be displayed on the menu?

Will it install on hda15 or hda1?
Is it easy to get off, or must you format?

Here's what I got:
WindozeXP on hda1
Others on hda5-14
Slackware 9.1 on hda15
WindozeME on hdb1

Will this work.

Thanks,
John.
Yes, you can uninstall LILO easy enough. /sbin/lilo -u will uninstall it. You can choose to install lilo either in the master boot record, or on the boot record of the linux partition. In your case, you will need to install it on the linux partition. I've never used OSL2000, but I imagine it can be used simultaneously with LILO. LILO cannot be used to boot NT/2K/XP. I use the standard boot loader that comes with 2K and have lilo installed on /dev/hda6 (first extended partition). With OSL2000 you may need to use the same tricks I do as described here:
http://classes.csumb.edu/CST/CST434-.../DualBoot.html

Good luck.

P.S. If you already have WinXP, ME, and "Others" installed, it's always a good idea to create a recent backup before mucking with partitions.
 
Old 11-28-2003, 04:27 AM   #4
deNiro
Member
 
Registered: Jun 2003
Distribution: Slackware-Current and Salix 14.2
Posts: 274
Blog Entries: 1

Rep: Reputation: Disabled
Re: Re: Will LILO handle 15 partitions?

Quote:
Originally posted by azar92
Yes, you can uninstall LILO easy enough. /sbin/lilo -u will uninstall it. You can choose to install lilo either in the master boot record, or on the boot record of the linux partition. In your case, you will need to install it on the linux partition. I've never used OSL2000, but I imagine it can be used simultaneously with LILO. LILO cannot be used to boot NT/2K/XP. I use the standard boot loader that comes with 2K and have lilo installed on /dev/hda6 (first extended partition). With OSL2000 you may need to use the same tricks I do as described here:
http://classes.csumb.edu/CST/CST434-.../DualBoot.html

Good luck.

P.S. If you already have WinXP, ME, and "Others" installed, it's always a good idea to create a recent backup before mucking with partitions.

Lilo cannot be used to boot NT/2K/XP ??
strange, because i used it to dual boot between slackware and WindowsXP. I had no problems with it at all. the winxp was on a ntfs partition.
 
Old 11-28-2003, 04:33 AM   #5
azar92
LQ Newbie
 
Registered: Sep 2003
Location: Rocky Mountains
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
Re: Re: Re: Will LILO handle 15 partitions?

Quote:
Originally posted by deNiro
Lilo cannot be used to boot NT/2K/XP ??
strange, because i used it to dual boot between slackware and WindowsXP. I had no problems with it at all. the winxp was on a ntfs partition.
This was my understanding. I was under the impression that XP had the same problems that NT/2K did. They liked to have their own bootloader on the Master Boot Record (MBR), though LILO could reside on the boot record of the linux partition. Perhaps this is changed with XP, or perhaps I've been lied to for the past 2-3 years.
 
Old 11-28-2003, 04:41 AM   #6
deNiro
Member
 
Registered: Jun 2003
Distribution: Slackware-Current and Salix 14.2
Posts: 274
Blog Entries: 1

Rep: Reputation: Disabled
Re: Re: Re: Re: Will LILO handle 15 partitions?

Quote:
Originally posted by azar92
This was my understanding. I was under the impression that XP had the same problems that NT/2K did. They liked to have their own bootloader on the Master Boot Record (MBR), though LILO could reside on the boot record of the linux partition. Perhaps this is changed with XP, or perhaps I've been lied to for the past 2-3 years.
hehe, lied is a strong word. but you have to add it manually (or in expert lilo config mode) or indeed it wont work. At my machine it doesn't recognize it automatically. But when i used expert mode, it just worked fine
 
Old 11-28-2003, 05:02 AM   #7
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
I've always used LILO to dual boot between slack and Win2K and now WinXP. Was never a problem. Just install it on the MBR while installing slack.
 
Old 11-28-2003, 07:04 AM   #8
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
Quote:
Originally posted by KMcD
I've always used LILO to dual boot between slack and Win2K and now WinXP. Was never a problem. Just install it on the MBR while installing slack.
consider yourself lucky. I've been struggling for month with LILO on a floppy because I couldn't get it loading Windows. But in the KDE Systemadministration there is a lilo configuration tool that helped me creating a working LILO version. It's probably just a front end but I didn't find the correct settings before.
 
Old 11-28-2003, 04:35 PM   #9
dufferin
Member
 
Registered: Nov 2003
Location: Mt Dufferin
Distribution: Slackware 12.2
Posts: 73

Original Poster
Rep: Reputation: 15
Thank you all . . .
I activated LILO. here's my customized lilo.conf:


boot="/dev/hda"
lba32
prompt
timeout="100"
root=/dev/hda15
default=WindowsXP

image="/boot/vmlinuz"
label="Slackware 9.1"
root="/dev/hda15"
read-only

image="/dev/hda1"
label="WindowsXP"
root="/dev/hda1"

image="/dev/hdb1"
label="WindowsME"
root="/dev/hdb1"


Problem is what I want to appear in the menu does not.
I don't see WindowsME or Slackware 9.1, how come?
This should apper in menu:
Linux
WindowsME
WindowsXP (default)

How to get this to appear?

Thanks,
John.
 
Old 11-28-2003, 08:32 PM   #10
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Quote:
image="/dev/hda1"
label="WindowsXP"
root="/dev/hda1"

image="/dev/hdb1"
label="WindowsME"
root="/dev/hdb1"
For starters - your

image=............ directives are wrong

An image directive is associated with the PATH to a kernel image - not the device name of a partition that a non-Linux OS resides on - you need to use :

other = /dev/hda1
table = /dev/hda
label = "WindowsXP"

etc etc etc for non-Linux OS's

Last edited by Skyline; 11-28-2003 at 08:36 PM.
 
Old 11-28-2003, 10:46 PM   #11
dufferin
Member
 
Registered: Nov 2003
Location: Mt Dufferin
Distribution: Slackware 12.2
Posts: 73

Original Poster
Rep: Reputation: 15
Followed your instruction and all appears the same as before.
And, I still get these phantom menu items. "hda1 + hdb1"
Here is my LILO boot-up menu:

-------------------------------
WindowsXP | hdb1 |
Slackware9.1 | |
hda1 | |
WindowsMWE | |
-------------------------------

How to get rid of the phantoms?

Thanks,
John.
 
Old 11-29-2003, 02:36 PM   #12
Itzac
Member
 
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Rep: Reputation: 15
So here's my lilo.conf. I'll use <-- to indicate what a line does.
Now I may not be 100% correct on all the details.

Code:
# Start LILO global section
append="hdc=ide-scsi hdd=ide-scsi" <-- stuff the kernel needs to know about my CD drives.
boot = /dev/hda  <-- Where to put the bootloader (MBR here)(1)
message = /boot/boot_message.txt
prompt  <-- Tells LILO to give you a menu
timeout = 1200  <-- How long to wait before loading default OS
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# VESA framebuffer console @ 1024x768x256
vga = 773

# End LILO global section
# DOS bootable partition config begins
other = /dev/hda1  <-- My WindowsXP install
  label = DOS
  table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz  <-- My VectorLinux Kernal image (2)
  root = /dev/hda7 <-- Location of root partition
  label = Linux
  read-only
# Linux bootable partition config ends
Notes:
(1) - I've never actually put LILO anywhere else. Also of note, when you install LILO, it makes a backup of the existing MBR. man lilo will tell you the filename. Keep this for rescue purposes.

(2) - The image path is relative to your current root when you actually run the lilo command. If you want to reference a diffent linux install, you need to mount the partition that contains /boot for that install, then make a reference to that kernel image in your lilo.conf

Hope this helps. It's also good to have a live CD or something for rescue purposes.
 
Old 11-29-2003, 05:30 PM   #13
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
dufferin - After you edit the lilo.conf file, you need to run the lilo program: /sbin/lilo That will apply any updates you've made. -- J.W.

Also, I've always installed lilo to the MBR too, and I've never had any trouble whatsoever with dual booting between Slack and XP on any of my machines. Just to be sure to install Windows first, then Linux. If you do it the other way around, Windows will overwrite the MBR, effectively killing your Linux install.
 
Old 11-30-2003, 01:02 AM   #14
dufferin
Member
 
Registered: Nov 2003
Location: Mt Dufferin
Distribution: Slackware 12.2
Posts: 73

Original Poster
Rep: Reputation: 15
THANKS J.W.!
I ran the LILO command and it listed what was added . . .
All is well now.
Lilo always was a pain in the @*&.

John.
"My wife checked her email with Linux and didn't even know it!"
 
Old 11-30-2003, 02:03 AM   #15
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
You're welcome dufferin, I'm glad my post turned out to be useful. Regards -- J.W.
 
  


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
lilo - partitions broken ebil Linux - Software 3 11-02-2004 09:04 PM
[SOLVED] lilo boot of two partitions frankzen Slackware 3 10-16-2004 11:30 PM
configure lilo to use two different /boot partitions TheOneAndOnlySM Linux - Software 4 05-23-2004 08:31 PM
lilo install problem - Sorry - don't know how to handle device 0x0102 spiky Linux - General 4 01-21-2003 04:24 PM
Three O/S's, Partitions, and Lilo jbboulder Linux - Newbie 2 11-28-2001 02:05 PM

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

All times are GMT -5. The time now is 02:43 AM.

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