Unix Technical Forum

Setting the defaults for LILO

This is a discussion on Setting the defaults for LILO within the Linux Operating System forums, part of the Unix Operating Systems category; --> How do I set the default system for LILO, and possibly the timeout? For now I want Windoze to ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 08:47 AM
CBFalconer
 
Posts: n/a
Default Setting the defaults for LILO

How do I set the default system for LILO, and possibly the
timeout? For now I want Windoze to be the default, and later I
will change my mind. What if I want a third (or more) possibility?

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 08:47 AM
Bit Twister
 
Posts: n/a
Default Re: Setting the defaults for LILO

On Sat, 11 Jun 2005 00:07:27 GMT, CBFalconer wrote:
> How do I set the default system for LILO, and possibly the
> timeout?


change default and timeout in the config file.

> For now I want Windoze to be the default, and later I
> will change my mind. What if I want a third (or more) possibility?



man lilo
man lilo.conf
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 08:47 AM
dave stanton
 
Posts: n/a
Default Re: Setting the defaults for LILO

On Sat, 11 Jun 2005 00:07:27 +0000, CBFalconer wrote:

> How do I set the default system for LILO, and possibly the timeout? For
> now I want Windoze to be the default, and later I will change my mind.
> What if I want a third (or more) possibility?


Learn how to write the stanzas for it, its not hard. BT has given you some
hints. Most important, always run lilo -v after you alter anything.

Dave

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 08:47 AM
CBFalconer
 
Posts: n/a
Default Re: Setting the defaults for LILO

dave stanton wrote:
> On Sat, 11 Jun 2005 00:07:27 +0000, CBFalconer wrote:
>
>> How do I set the default system for LILO, and possibly the timeout?
>> For now I want Windoze to be the default, and later I will change
>> my mind. What if I want a third (or more) possibility?

>
> Learn how to write the stanzas for it, its not hard. BT has given
> you some hints. Most important, always run lilo -v after you alter
> anything.


Thanks. Now I have run into another stupid difficulty. I swear I
know just what password I put in for root, but the installation
doesn't seem to agree with me. So I guess I will just have to
reformat/partition those areas and start over. I don't think I can
modify or uninstall LILO without it. Fdisk /mbr would probably do
it though.

I installed a 5 year old RH6.1 I had lying about, but I think I'll
try the redo with a Mandrake 8.0 that is also handy. The machine
is a PIII with 128 MB memory, and about 20 GB disk space available.

I would like a distribution with the maximum simplicity - i.e.
first install CLI. Then compilers. Then optional X etc. Besides
the two above I have old Slackware, Caldera, and Corel
distributions available. All about 5 years old.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 08:47 AM
dave stanton
 
Posts: n/a
Default Re: Setting the defaults for LILO

you alter anything.
>
> Thanks. Now I have run into another stupid difficulty. I swear I know
> just what password I put in for root, but the installation doesn't seem to
> agree with me. So I guess I will just have to reformat/partition those
> areas and start over. I don't think I can modify or uninstall LILO
> without it. Fdisk /mbr would probably do it though.


Just google in groups for alter root password. You have to go into single
user mode when booting and I cant remember the exact sequence, sorry.
There are very few times with Linux that require you to format and
reinstall, its NOT like windows.

Dave

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 08:47 AM
Bit Twister
 
Posts: n/a
Default Re: Setting the defaults for LILO

On Sat, 11 Jun 2005 18:13:29 GMT, CBFalconer wrote:
>
> Thanks. Now I have run into another stupid difficulty. I swear I
> know just what password I put in for root, but the installation
> doesn't seem to agree with me. So I guess I will just have to
> reformat/partition those areas and start over. I don't think I can
> modify or uninstall LILO without it. Fdisk /mbr would probably do
> it though.


No, as soon as lilo shows you a selection, hit the Tab or Esc key,
enter
inux 1
or linux single

>
> I installed a 5 year old RH6.1 I had lying about, but I think I'll
> try the redo with a Mandrake 8.0 that is also handy.


Better to download the lastest Mandrake/Mandriva 10.2 (LE 2005)
8.0 is years old and will not upgrade gracefully.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-18-2008, 08:47 AM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: Setting the defaults for LILO


"CBFalconer" <cbfalconer@yahoo.com> wrote in message
news:42AB1E44.D4BDB253@yahoo.com...
> dave stanton wrote:
>> On Sat, 11 Jun 2005 00:07:27 +0000, CBFalconer wrote:
>>
>>> How do I set the default system for LILO, and possibly the timeout?
>>> For now I want Windoze to be the default, and later I will change
>>> my mind. What if I want a third (or more) possibility?

>>
>> Learn how to write the stanzas for it, its not hard. BT has given
>> you some hints. Most important, always run lilo -v after you alter
>> anything.

>
> Thanks. Now I have run into another stupid difficulty. I swear I
> know just what password I put in for root, but the installation
> doesn't seem to agree with me. So I guess I will just have to
> reformat/partition those areas and start over. I don't think I can
> modify or uninstall LILO without it. Fdisk /mbr would probably do
> it though.


In most cases, you can boot with a CD and use it to mount your / partition,
then "chroot" to it and run the "passwd" command already acting as root.
It's a common trick, beatable only by preventing CD or other boot processes
in the BIOS.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-18-2008, 08:47 AM
CBFalconer
 
Posts: n/a
Default Re: Setting the defaults for LILO

Bit Twister wrote:
> On Sat, 11 Jun 2005 18:13:29 GMT, CBFalconer wrote:
> >

.... snip on resetting root password via LILO ...
>
> or linux single


Thanks - that worked out nicely. That means security is about NIL
with physical access.

>
>> I installed a 5 year old RH6.1 I had lying about, but I think I'll
>> try the redo with a Mandrake 8.0 that is also handy.

>
> Better to download the lastest Mandrake/Mandriva 10.2 (LE 2005)
> 8.0 is years old and will not upgrade gracefully.


That would mean downloading at 56 kbaud. The others are here and
on CDs to start with. The RH6.1 is certainly behind the times -
gcc --version says egcs 2.9 something. Setting up terminal windows
to have suitable sizes and fonts is a pain. Switching between them
is also a pain, because I hate mice and want to use the keyboard.
So if I play with a few of the versions that are here I may get
some clues.

I should probably do lilo -u before mounting a new system.




--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-18-2008, 08:48 AM
Bit Twister
 
Posts: n/a
Default Re: Setting the defaults for LILO

On Sun, 12 Jun 2005 04:01:15 GMT, CBFalconer wrote:
> Bit Twister wrote:
>> On Sat, 11 Jun 2005 18:13:29 GMT, CBFalconer wrote:
>> >

> ... snip on resetting root password via LILO ...
>>
>> or linux single

>
> Thanks - that worked out nicely. That means security is about NIL
> with physical access.


Same as your Window 98 system you are using.

> That would mean downloading at 56 kbaud.


That does byte.
http://cart.cheapbytes.com/cgi-bin/cart

> up terminal windows to have suitable sizes and fonts is a pain.


never was for me.
xterm -fn font_name_found_with_xlsfonts_here
or place fontname in .Xresources

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-18-2008, 08:48 AM
dave stanton
 
Posts: n/a
Default Re: Setting the defaults for LILO


> Thanks - that worked out nicely. That means security is about NIL with
> physical access.


Yes, but in this case its saved you a whole lot of work. With win98 you
would have reformatted the disk, reinstalled win, hunted for the required
drivers, waited while it rebooted several times etc etc.

Dave

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 04:07 AM.


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