LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-15-2004, 08:30 AM   #1
LordGoddard
Member
 
Registered: Apr 2004
Posts: 39

Rep: Reputation: 15
Lilo...


ok, this is going to sound really stupid...but i'm really new... so i get into the lilo file typing "emacs /etc/lilo.conf" and i make the necessary changes to boot windows...how do i exit and save the changes?
 
Old 04-15-2004, 08:35 AM   #2
Razza2004
Member
 
Registered: Mar 2004
Location: Australia
Distribution: Slackware 10
Posts: 32

Rep: Reputation: 15
I dont know about emacs, but if u use "vi /etc/lilo.conf" u can edit it then press press " : then w then ENTER"( not held together), then " : q ENTER" to exit.
Once that is done, type "lilo" in the command prompt and it should say some stuff then u can reboot if there was no errors.
 
Old 04-15-2004, 08:36 AM   #3
LordGoddard
Member
 
Registered: Apr 2004
Posts: 39

Original Poster
Rep: Reputation: 15
thank you...i'm reinstalling right now...so i'll reply back with any more questions i may have.
 
Old 04-15-2004, 09:05 AM   #4
LordGoddard
Member
 
Registered: Apr 2004
Posts: 39

Original Poster
Rep: Reputation: 15
ok, this is what i added to the bottom of the lilo.conf file:

# Windows bootable parition begins
other = /dev/hda1
Label = Windows
Table = /dev/hda
# Windows bootable partition ends

is there something wrong with that? because when i restart i don't see the windows option in the lilo...and i if i try to type in windows it doesn't work...
 
Old 04-15-2004, 10:15 AM   #5
KaruppuSwamy.T
Member
 
Registered: Apr 2004
Location: Chennai, India
Distribution: Mandrake 10.0/Redhat 8.0/Ubuntu 5.04/Windows XP (SP2)
Posts: 30

Rep: Reputation: 15
Hai,

your lilo.conf seems to be perfect. good. After editing and saving, you run "lilo" at command prompt? once you run "lilo", it should say
----------------------
"Added linux
Added Windows"
----------------------
If it is not saying, then there is an error in file. And also ensure that /dev/hda1 and /dev/hda are right partition for Windows.

All the best

swamytk
 
  


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
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 12:21 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 06:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 05:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 07:21 PM


All times are GMT -5. The time now is 03:02 AM.

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