Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
06-04-2009, 05:12 PM
|
#1
|
Member
Registered: Jun 2009
Posts: 75
Rep:
|
How to edit the LILO
Hey guys,
At the time of my Slackware 12.2 installation, I set up my LILO to boot two operating systems: Slackware and Vista.
Since then, I have added a third OS to my sdb3 partition. How would I edit my LILO to display and load my new OS? Right now, I can't access it at all.
|
|
|
06-04-2009, 05:31 PM
|
#2
|
Member
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896
Rep:
|
Quote:
Originally Posted by Innervision
Hey guys,
At the time of my Slackware 12.2 installation, I set up my LILO to boot two operating systems: Slackware and Vista.
Since then, I have added a third OS to my sdb3 partition. How would I edit my LILO to display and load my new OS? Right now, I can't access it at all.
|
You need to edit your /etc/lilo.conf file to include your new OS and run the
lilo
command from the terminal, as root.
The way you edit the file depends on the type of OS you're adding, and on the way it boots. If it's one of the Linux distros, you need to
mount its partition
write an entry similar to the one that boots your current Linux, that is, give the path to the kernel, the initrd image, indicate the root partition etc.
If it's Windows or something that has its own loader at the beginning of /dev/sdb3, then it should look similar to your current Windows entry.
|
|
|
06-04-2009, 05:33 PM
|
#3
|
Member
Registered: Jun 2009
Posts: 75
Original Poster
Rep:
|
The OS is actually Kalyway (OS X 10.5.2). I haven't found anything stating how to add Kalyway to the LILO.
Last edited by Innervision; 06-04-2009 at 05:39 PM.
|
|
|
06-04-2009, 05:45 PM
|
#4
|
Member
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896
Rep:
|
You got me here. I know nothing about this OS. Try an analog to Windows setup.
|
|
|
06-04-2009, 05:48 PM
|
#5
|
Member
Registered: Jun 2009
Posts: 75
Original Poster
Rep:
|
What do you mean by analog to Windows setup?
|
|
|
06-04-2009, 05:51 PM
|
#6
|
LQ Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573
|
I assume kalyway is a Linux distro?
If so, extract the DVD and list the isolinux.cfg?
|
|
|
06-04-2009, 05:57 PM
|
#7
|
Member
Registered: Jun 2009
Posts: 75
Original Poster
Rep:
|
Kalyway is a version of Mac OS X that has been modified to work on x86 processors.
|
|
|
06-04-2009, 05:59 PM
|
#8
|
Member
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896
Rep:
|
Quote:
Originally Posted by Innervision
What do you mean by analog to Windows setup?
|
Something like this
other = /dev/sdb3
label = Kalyway
table = /dev/sdb
No, linus72, Kalyway is not a Linux distro. It's something like a MacOS OS. I'm not sure about its legality and have no idea how the OP managed to install it on a PC, but anyways...
|
|
|
06-04-2009, 06:03 PM
|
#9
|
Member
Registered: Jun 2009
Posts: 75
Original Poster
Rep:
|
What is that "table" field? Should it be sdb3, or sdb?
|
|
|
06-04-2009, 06:07 PM
|
#10
|
Member
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896
Rep:
|
Quote:
Originally Posted by Innervision
What is that "table" field? Should it be sdb3, or sdb?
|
It should be /dev/sdb
It's the device that contains the partition table for the disk with your OS.
|
|
|
06-04-2009, 06:13 PM
|
#11
|
Member
Registered: Jun 2009
Posts: 75
Original Poster
Rep:
|
Hmm, that didn't seem to do it. It just gets stuck at "Loading Kalyway..."
Last edited by Innervision; 06-04-2009 at 07:17 PM.
|
|
|
06-04-2009, 09:45 PM
|
#12
|
Member
Registered: Jun 2009
Posts: 75
Original Poster
Rep:
|
Any other ideas to get this to boot? Anyone with experience using Kalyway?
|
|
|
06-04-2009, 10:31 PM
|
#13
|
Member
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896
Rep:
|
Is your /dev/sdb3 active (bootable)? You can set the bootable flag with the cfdisk command. Also, you might try to put the
master-boot
flag in lilo.conf for it. Like this
other=/dev/sdb3
label=Kalyway
table=/dev/sdb
master-boot
Don't forget to run lilo after making changes to /etc/lilo.conf.
Everywhere in Google people dual-boot this system with GRUB, and the options are exactly the same as for booting Windows.
That's the best I can do.
|
|
|
06-05-2009, 09:39 AM
|
#14
|
Member
Registered: Jun 2009
Posts: 75
Original Poster
Rep:
|
What does "master-boot" do exactly?
Here are the stats for the partition it's on:
Name: sdb5
Flags: Boot
Partition type: Logical
FS Type: Unknown (AF)
|
|
|
06-05-2009, 10:17 AM
|
#15
|
Member
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896
Rep:
|
Quote:
Originally Posted by Innervision
What does "master-boot" do exactly?
Here are the stats for the partition it's on:
Name: sdb5
Flags: Boot
Partition type: Logical
FS Type: Unknown (AF)
|
From man lilo.conf:
Quote:
master-boot
This flag (LILO version 22.5) indicates a DOS/Windows/OS2 or
other system which will only boot from BIOS device 0x80, the
"C:" drive, or BIOS device 0, the A: drive. When this flag is
specified, if this drive is not assigned device code 0x80 or 0
by the BIOS, then the chain loader will dynamically swap the
device code actually assigned with device code 0x80 or 0 to make
this drive appear to be the first hard or floppy drive, "C:" or
"A:".
|
I thought you said before your system was on sdb3, a primary partition. Probably that's why the "windows-like" setup didn't work. I think for MacOS-type systems, the root partition should be primary.
|
|
|
All times are GMT -5. The time now is 05:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|