LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LILO (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-736921/)

SolitudeSensus 07-01-2009 06:42 AM

LILO
 
I have just installed SLACKWARE. I'm also using XP. I want to use both of them. But the problem is that I didn't istall LILO. When I power on PC, it
directly starts XP. Now how to install LILO so that I can get option between XP or SLACKWARE.

malekmustaq 07-01-2009 07:26 AM

Solitude:

Here is how you do it.

Boot from the Slackware installer CD and from there install the boot loader. Although LILO is a very good boot loader I recommend you Grub, the program file is located in the Slackware CD at folder /extra/grub/grub-0.xxx.blah-xxx.tgz you can use the package installer.

Goodluck.

check back what comes up.

hope it helps.

onebuck 07-01-2009 08:20 AM

Hi,

The easiest way would be to use the install cd1 to boot the system as if you were going to install.

After you get to the login then from the cli (command line);

Code:

~#mkdir /slacktemp                  #temporary mount point
~#mount /dev/your_device /slacktemp  #this is the device you installed to
~#chroot /slacktemp                  #change to yours
~#cd /slacktemp/etc                  #change to directory with lilo.conf
~#                                  #you could run pkgtool
                                    #to rerun scripts if need be

~#vi lilo.conf                      #edit lilo.conf to suit, if need be
~#lilo -v -t -b /dev/your_device    #sda, hda this will only test
~#lilo -v -b /dev/your_device        #this will write MBR to your_device

Since you did not state any specifications for your install then the above is general but applicable. Your '/dev/your_device' could be 'hda' or 'sda' but should be set to your boot device.

You should now be able to re-boot your system if the above is done correctly.

BTW, Welcome to LQ & Slackware!

SolitudeSensus 07-01-2009 10:09 PM

Lilo
 
Is it ok to make only two partitions for Linux, i.e Swap And root(/)
If then is it possible to make root partition bootable.
And where to install LILO?
I am going to install lilo in root using MBR.Is it ok?

Uncle_Theodore 07-01-2009 10:52 PM

Quote:

Originally Posted by SolitudeSensus (Post 3593703)
Is it ok to make only two partitions for Linux, i.e Swap And root(/)

Yes, it's OK. But it would be better to have /home on a separate partition. It's easier then to upgrade your system to a newer version.
Quote:

If then is it possible to make root partition bootable.
Yes, it's possible, but I don't see why you'd need that.
Quote:

And where to install LILO?
I am going to install lilo in root using MBR.Is it ok?
Install lilo in MBR, yes.

SolitudeSensus 07-02-2009 12:58 AM

LILO - Solved
 
Thanks to everybody. Finally I solved the problem.


All times are GMT -5. The time now is 08:32 AM.