LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   How to install lilo manually (https://www.linuxquestions.org/questions/slackware-installation-40/how-to-install-lilo-manually-284942/)

kool_kid 02-01-2005 11:35 AM

How to install lilo manually
 
Hiya Ppl
can any1 tell me hwo to install lilo manually i have slackware10.0....... during my automatic installation of lilo it says e to install lilo manully cuz of some error lilo cannot be installed automatically looking forward for ya help
With Regards
Kool_kid

masand 02-01-2005 12:29 PM

u need to have the lilo package
and lilo.conf
and u can install lilo by running

lilo at the shell

regards

kool_kid 02-01-2005 01:03 PM

Can i get lil more detailed answer plz

masand 02-01-2005 01:41 PM

if u have a lilo package installed

then u might be having a file in /etc of the name lilo.conf or lilo.conf.anaconda

edit that file accordingly or get a sample lilo.conf from the net to understand that and then u need to run

lilo

on the terminal to install lilo from lilo.conf

regards

reddazz 02-01-2005 01:52 PM

What you need to do is setup an /etc/lilo.conf. There are many examples available on this site and on the net. Once thats done, as root, just run the command "lilo" from a console. If you need to get access to the linux system you installed to run those commands, just follow the instructions on your first installation disk and boot using the kernel from the cdrom.

sporks 02-01-2005 02:41 PM

Re: How to install lilo manually
 
Quote:

Originally posted by kool_kid
Hiya Ppl
can any1 tell me hwo to install lilo manually i have slackware10.0....... during my automatic installation of lilo it says e to install lilo manully cuz of some error lilo cannot be installed automatically looking forward for ya help
With Regards
Kool_kid

Just go back and rerun the configuration process during the installation and select "install manually" instead of the automatic installation.

Pretty easy, just follow the menu just like the rest of the Slackware installation.

It'll ask you which HD you want to install Lilo on, usually /dev/hda then if you want to install it to MBR or elsewhere.

Then you add your linux and or windows OS and that's it.

Easy.

kool_kid 02-02-2005 08:31 AM

YeaH GOTCHA U ppl but what prblem am having is lilo is unable o install in automatic n manual mode its just saying that "due to some error lilo couldnt be installed plz install lilo manually"...... and also i dont have any lilo.conf or lilo.conf.anaconda file in /etc no file mean no neither in hidden mode nor so if u ppl can tell me how to create a new text file in kosole using "vi" it would be great or anyother alternative for my problem i have tried all the above methods but none works :(
With regards
Kool_kid

freeka 02-02-2005 08:35 AM

when u have no /etc/lilo.conf, how should lilo know what to write in ya mbr?

make a /etc/lilo.conf and write in the stuff u need and want, then type /sbin/lilo and everythin is fine

for question about lilo.conf, manpage and google should help

sporks 02-02-2005 08:35 AM

Boot up using your rescue disk using your HD as your / .

Run package manager.

Install lilo.

Then rerun the configuration script (I think) maybe you just run /sbin/lilo.

I can't remember. I did this once before.

kool_kid 02-02-2005 08:37 AM

freeka >>
how to create a text file using "vi" after booting with slackware disk1 i

freeka 02-02-2005 08:39 AM

mount your root device and edit the file /etc/lilo.conf (when non-existing it will be created) and write the stuff ya want... if u want to use vi type i for insert mode, then fill the /etc/lilo.conf, when you are ready hit esc and :wq and enter... for detailed information about vi look out for documention about it

kool_kid 02-02-2005 09:06 AM

nothig gr8 happened some old error ppl y dont u plz tell me how to inmstall grub instead of this lilo ... i am now irritated with lilo being tryiong to solve this problem from past week

freeka 02-02-2005 09:17 AM

i would submit you to learn some gnu/linux basic... editing a file and execute a command shouldnt be a problem, and without posting ya errors we cant help....

with grub u will run into the same problems imho

kool_kid 02-02-2005 09:24 AM

Ohhh no man i did it correctly but it aint working dunno why

kool_kid 02-02-2005 09:39 AM

okay here is everything abt lilo

i installed my slackware10.0 from 2 cd i downloaded everything went great installation completed nicely...configuration part came iw as aske to choose where i want to install boot loader i choosed MBR then i was asked abt lilo installation i selectec simple(automatic) and some simple question regarding that and at lilo installation end i got this error "due to some fatal error lilo couldnt be installed plz install lilo manually and also read man pages ( it gave me some address to folder i forgot that addyres it shd be /usr/doc/lilo i guess )" umm hmm yeah thatw as the error then i after installation was dont i booted again with cd n typed liloconfig n selected manual this time but i got the same error....and when i got out the setup screen i was able to find /etc/lilo.conf file but when i rebooted the file vanished.
thats what all happened and i am able to edit lilo.config when it is there but after rebooting that file vanishes i said b4
hope u got what all i spoke if u have any extra questions ask me will answer
With regards
kool_kid

gnashley 02-02-2005 01:45 PM

During installation choose liloconifg 'expert' mode and:
start a new header
add a lilo partition
add any other partitions
install lilo

DaHammer 02-02-2005 02:23 PM

The lilo.conf file is likely "vanishing" because you are booting into a different root filesystem (ie /) than where Slackware is installed. Generally, when you use a bootdisk, rescue disk, installation CDROM or other media not specifically customized for your system it will load it's own root filesystem, which is usually running in RAM. RAM is volatile, meaning when you reboot any changes you made, any files you added, and etc to that root filesystem are no more. In short you need to manually mount Slackware's filesystem and then "chroot" into it before you can edit /etc/lilo.conf and run lilo.

kool_kid 02-03-2005 12:40 PM

yeah gr8 help u ppl im outta the problem now thanks all


All times are GMT -5. The time now is 11:10 PM.