Unix Technical Forum

Help with LILO in slackware 9.1

This is a discussion on Help with LILO in slackware 9.1 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I currently need some help with my Slack 9.1 install. Everything is fine except for the fact that I ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 05:16 PM
Juan Valderz
 
Posts: n/a
Default Help with LILO in slackware 9.1

I currently need some help with my Slack 9.1 install. Everything is fine
except for the fact that I have no LiLo.

When installing slack 9.1, when asked to install LiLo, I tried to do an
Expert install of lilo. I entered all the required information but when it
went to install Lilo it came back with a msg saying "Llil install
unsuccessful".

I have reinstalled slack 9.1 a couple of times and each time trying each
combination for Lilo (i.e. MBR, simple install etc) but every I get the same
error.

Evey time I want to boot slack I have to insert the CD and boot from there..

So could someone please tell me how to manually install Lilo to my MBR from
the slackware 9.1 CDs (i.e. without the slackware setup)

Thanking you very much

-Juan


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 05:16 PM
Stanislaw Flatto
 
Posts: n/a
Default Re: Help with LILO in slackware 9.1

Juan Valderz wrote:
> I currently need some help with my Slack 9.1 install. Everything is fine
> except for the fact that I have no LiLo.
>
> When installing slack 9.1, when asked to install LiLo, I tried to do an
> Expert install of lilo. I entered all the required information but when it
> went to install Lilo it came back with a msg saying "Llil install
> unsuccessful".
>
> I have reinstalled slack 9.1 a couple of times and each time trying each
> combination for Lilo (i.e. MBR, simple install etc) but every I get the same
> error.
>
> Evey time I want to boot slack I have to insert the CD and boot from there..
>
> So could someone please tell me how to manually install Lilo to my MBR from
> the slackware 9.1 CDs (i.e. without the slackware setup)
>
> Thanking you very much
>
> -Juan
>
>

Hi!
Just a thought, is your BIOS protecting the MBR from changes?
Some BIOS'es have "Virus protection" of MBR. Check in BIOS setup and
turn it off, if active. You can always turn it on later.
Also a description of your install (partitioning) and sample of
/etc/lilo.conf file would help a lot in answering in depth.

Have fun

Stanislaw.
Slack user from Ulladulla.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 05:16 PM
Martin Boening
 
Posts: n/a
Default Re: Help with LILO in slackware 9.1

Hi there,

"Juan Valderz" <asia-bron@susmofo.com> writes:

>I currently need some help with my Slack 9.1 install. Everything is fine
>except for the fact that I have no LiLo.


>When installing slack 9.1, when asked to install LiLo, I tried to do an
>Expert install of lilo. I entered all the required information but when it
>went to install Lilo it came back with a msg saying "Llil install
>unsuccessful".


>I have reinstalled slack 9.1 a couple of times and each time trying each
>combination for Lilo (i.e. MBR, simple install etc) but every I get the same
>error.


>Evey time I want to boot slack I have to insert the CD and boot from there..


>So could someone please tell me how to manually install Lilo to my MBR from
>the slackware 9.1 CDs (i.e. without the slackware setup)


IIRC, the error does not break off the setup. Just continue to the end
afterwards. Then exit the nifty setup-screens and check /mnt/etc/ for a
newly-created 'lilo.conf'. If its there (as it should be), check its
contents. If it looks fine, I think you could try a
/mnt/sbin/lilo -C /mnt/etc/lilo.conf -M /dev/hd<x> mbr
where /dev/hd<x> denotes your hard disk. (Note: this could fail badly, I've
never tried it - the info comes from reading the man page)

A safer procedure (IMHO) would be to reboot, after having checked the
existence of a proper looking /mnt/etc/lilo.conf. Boot off CD, but read
the first splash screen: you can boot into your newly-installed Slackware
by _not_ just hitting enter at the prompt, but instead typing something
like 'bare.i root=/dev/hd<x> noinitrd ro'. This should start your
installed slackware. (Excuse me, if I describe what you mean by "I have
to insert the CD and boot from there.")

Since that's your "live system", just running '/sbin/lilo' as root should
setup the boot loader as desired. Or, as is more likely, produce an error
message telling you what went wrong (and consequently, what you need to
fix it).

E.g., I had a similar problem with my notebook. Running lilo from the
command line after booting off CD as described, I got a message of
some alignment error between "physical" and "logical" partition tables.
The fix was given too: run lilo -P ignore or lilo -P fix - that cured
my particular problem.

To start a lilo config "from scratch" after booting the system, you can
run 'liloconfig' any time, BTW.

HTH
Martin
--
Martin Boening, mboen@t-online.de

"In order to make an apple pie from scratch, you must first
create the universe." -- Carl Sagan, Cosmos
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 05:16 PM
David
 
Posts: n/a
Default Re: Help with LILO in slackware 9.1

Juan Valderz wrote:
>
> When installing slack 9.1, when asked to install LiLo, I tried
> to do an Expert install of lilo. I entered all the required
> information but when it went to install Lilo it came back with
> a msg saying "Llil install unsuccessful".
>
> I have reinstalled slack 9.1 a couple of times and each time
> trying each combination for Lilo (i.e. MBR, simple install
> etc) but every I get the same error.
>
> Evey time I want to boot slack I have to insert the CD and
> boot from there..


Since you are able to use a bootdisk to get the system running
have you tried running "/sbin/liloconfig" to configure lilo?

Then take a look at /etc/lilo.conf
Then run "/sbin/lilo -v" and see if it has any error messages.

--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.22 i686 (GCC) 3.3.1
Uptime: 3 days, 19:20, 1 user, load average: 1.08, 1.10, 1.09

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 05:16 PM
Juan
 
Posts: n/a
Default Re: Help with LILO in slackware 9.1

I got it fixed. Thanks for the help

It was a simple mistake.

I ran "/sbin/lilo -V" and it gave me the error.

In /etc/lilo.conig the label for my linux install was slackware 9.1.
It didnt like the Idea of the 9.1. As soon as i removed the 9.1 and
left the label as slackware and then ran /sbin/lilo -V all was good.

Thank you all for ya help

-Juan

Slack User from Coffs Harbour


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 05:18 PM
Stanislaw Flatto
 
Posts: n/a
Default Re: Help with LILO in slackware 9.1

Juan wrote:
> I got it fixed. Thanks for the help
>
> It was a simple mistake.
>
> I ran "/sbin/lilo -V" and it gave me the error.
>
> In /etc/lilo.conig the label for my linux install was slackware 9.1.
> It didnt like the Idea of the 9.1. As soon as i removed the 9.1 and
> left the label as slackware and then ran /sbin/lilo -V all was good.
>
> Thank you all for ya help
>
> -Juan
>
> Slack User from Coffs Harbour
>
>

Hi fellow colonial!
Many scripts in Linux don't allow dots in calls, but it is a subject
covered in shell behaviour.
And liloconfig reminds you to use a "single word", remember?
With time and RTFM those mistakes pass.

Have fun[0]

Stanislaw.
Slack user from Ulladulla.

[0] I have a "software patent" on my sig.;^)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 05:27 PM
Richard Adams
 
Posts: n/a
Default Re: Help with LILO in slackware 9.1

On Sat, 11 Oct 2003 00:33:16 +1000, Juan wrote:

> n /etc/lilo.conig the label for my linux install was slackware 9.1.
> It didnt like the Idea of the 9.1. As soon as i removed the 9.1 and
> left the label as slackware and then ran /sbin/lilo -V all was good.



If all you did was lilo -V then nothing has changed, all the -V does is
show the Version number period.

--
If the Linux community is a bunch of theives because they
try to imitate windows programs, then the Windows community
is built on organized crime.

Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-18-2008, 05:28 PM
raf
 
Posts: n/a
Default Re: Help with LILO in slackware 9.1

On 2003-10-14, Richard Adams wrote:
> On Sat, 11 Oct 2003 00:33:16 +1000, Juan wrote:
>
> > n /etc/lilo.conig the label for my linux install was slackware 9.1.
> > It didnt like the Idea of the 9.1. As soon as i removed the 9.1 and
> > left the label as slackware and then ran /sbin/lilo -V all was good.

>
>
> If all you did was lilo -V then nothing has changed, all the -V does is
> show the Version number period.
>

lilo -v ; small V.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:19 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com