LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2004, 04:29 PM   #1
chibiace
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 27

Rep: Reputation: 15
could somebody help me with my lilo.conf


im running slackware 10, i have two harddrives hda1 is linux and teh hdd is a nonworking dos patition. the default boot device is the dos one. could someone rewrite my lilo.conf so there isnt useless stuff and that linux is default?
--
4x768x64k
# vga=791
# VESA framebuffer console @ 1024x7# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/hdd1
label = Windows
table = /dev/hdd
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
# Linux bootable partition config ends
--
 
Old 10-28-2004, 04:39 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Add the line
default = Linux
before
prompt

Save, run lilo, done .... you can safely remove
the commented mode-lines for the framebuffer



Cheers,
Tink
 
Old 10-28-2004, 04:42 PM   #3
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
what exactly is your problem? what error do you get? to make it default just type below the message line: default = Linux and you should be all set there.
 
Old 10-28-2004, 04:48 PM   #4
chibiace
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 27

Original Poster
Rep: Reputation: 15
hmmm that didnt work
 
Old 10-28-2004, 04:50 PM   #5
chibiace
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 27

Original Poster
Rep: Reputation: 15
it still wants to go to the other one
 
Old 10-28-2004, 05:21 PM   #6
chibiace
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 27

Original Poster
Rep: Reputation: 15
and i typed it in correctly >.>
 
Old 10-28-2004, 05:58 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What does lilo.conf look like now, and what output
did you get when you ran lilo?


And please learn to edit posts, rather than making
consecutive 1-liners in individual posts...



Cheers,
Tink
 
Old 10-28-2004, 06:04 PM   #8
chibiace
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tinkster
What does lilo.conf look like now, and what output
did you get when you ran lilo?


And please learn to edit posts, rather than making
consecutive 1-liners in individual posts...



Cheers,
Tink

aww but i like one liners :P

http://chibi.zapto.org/lilo.conf
 
Old 10-28-2004, 06:10 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
And where's the output of you running lilo
after those changes?


:P


Cheers,
Tink
 
Old 10-28-2004, 06:12 PM   #10
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
But what are you getting for an error when trying to boot? and did you run /sbin/lilo after editing lilo.conf?
 
Old 10-28-2004, 06:12 PM   #11
chibiace
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tinkster
And where's the output of you running lilo
after those changes?


:P


Cheers,
Tink
output? :S

it starts up and gives me two choices, windows and linux and windows is highlighted and there is a counter, counting down from like 2 minutes lol :S
 
Old 10-28-2004, 06:16 PM   #12
chibiace
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mAineAc
But what are you getting for an error when trying to boot? and did you run /sbin/lilo after editing lilo.conf?
no error.... it just boots with a partition that doesnt work as default and i have to select linux. and no
 
Old 10-28-2004, 06:25 PM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
*sigh*

If you edit lilo.conf you need to RUN (e.g, in a
terminal, as root, type
lilo<enter>
)
for changes to take effect.


Cheers,
Tink
 
Old 10-28-2004, 06:26 PM   #14
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
you need to run /sbin/lilo as root after making changed to lilo.conf or you have essentially made no changes.
 
Old 10-28-2004, 06:32 PM   #15
chibiace
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tinkster
*sigh*

If you edit lilo.conf you need to RUN (e.g, in a
terminal, as root, type
lilo<enter>
)
for changes to take effect.


Cheers,
Tink
:P this IS the newbie section.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 04:15 AM
lilo.conf.anaconda v. lilo.conf rbaird2001 Red Hat 1 04-01-2004 01:16 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 09:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 04:53 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration