LILo BooT

Alright. I have made a boot disk. For lilo boot. So now if I put that in the a drive it will load Lilo. But my computer still is starting Lilo. I have to type dos in to load win98. I want that to go away so my computer laods win98 on startup.
Specs:
Linux Redhat 6.1
Windows 98
13gb *partitioned into 7 2gb drives*
38megs of ram
Micron
kinger2000Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mzehnerCommented:
1.  Boot into Linux.
2.  Log in as root.
3.  Type "emacs /etc/lilo.conf"
4.  You'll see a file that looks similar to this:

boot = /dev/hda       
delay = 60      
install = /boot/boot.b
image = /vmlinuz  
label = linux         
root = /dev/hda1  
read-only         
other = /dev/hda2
table = /dev/hda  
label = msdos         

5.  Change the label that says "msdos" to "win98".
6.  Type <CTRL X>, then <CTRL C>.  Answer yes to save the file.
7.  Type "lilo", or "/sbin/lilo" which will install your update in the boot record.
The next time you boot your old "dos" selection will say "win98".

0
kinger2000Author Commented:
I dont think you understood my questoined when I did what you said, all it did was instead of me typing in " dos " to laod windows now I have to type win98. I want it so that it just loads win98. I mean no typing nothin like a new computer. Like where I can press the power on and go to the bathroom and when i come back win98 is laoded. get it? I want to get rid of that boot starting for linux cause i made a boot disk for it.
0
DVBCommented:
To remove lilo, use lilo -u. If you still want to use lilo, but want the default boot to be win98, do this :
Your current /etc/lilo.conf :

 boot = /dev/hda    
 delay = 60        
 install = /boot/boot.b
 image = /vmlinuz  
 label = linux    
 root = /dev/hda1  
 read-only    
 other = /dev/hda2
 table = /dev/hda  
label = msdos    

Change this to :

 boot = /dev/hda    
 delay = 60
 other = /dev/hda2
 table = /dev/hda  
label = msdos    
 install = /boot/boot.b
 image = /vmlinuz  
 label = linux    
 root = /dev/hda1  
 read-only    

save the file and run lilo. Note : You have to do this as root. This will allow you to start win98 without typing anything (after a short delay) , to get to linux, type linux.

I would recommend the second method, simply because the chances of a HD failing are so much less than that of a floppy.
Note : I just copied the above sample lilo.conf to illustrate the changes. :)
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

mzehnerCommented:
OK, all you have to is add the lines:
default = win98
timeout=50
prompt
to the /etc/lilo.conf file, then type lilo to install it.  The "delay=50" makes it wait 5 seconds for a response.  This means if you want to boot into something other than the default, you will have 5 seconds.
Example lilo.conf file:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=win98

image=/boot/vmlinuz-2.2.12-20
     label=linux
     initrd=/boot/initrd-2.2.12-20.img
     read-only
     root=/dev/hda5
other=/dev/hda2
     label=win98

Of course if any of the 3 lines described above are already in your file, you won't need to add them.  Also your hard drive configuration will probably be different.  If you don't want a prompt at all (even with a 5 second delay) just don't enter the line "prompt" line.  Type "man lilo.conf" for more information.  Sorry I didn't understand your question the first time.
0
nvdieuCommented:
You should change default boot, type
$ man lilo
you will get what you want.
Good luck
0
kinger2000Author Commented:
I cant give you the points man. mzehner I used his idea and it worked. So please ask for the points man.
0
jebrightCommented:
Boot into window98 and then open a dos box. Type fdisk /mbr and press enter. Next time you reboot you will no longer see a lilo prompt at all and you will go straight into Win98... now you will need that boot disk in order to get into Linux from this point on unless you reinstall lilo.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mzehnerCommented:
What do these guys think they are doing?  They are trying to tell you how to remove LILO from your system.  You already have it working.  You wanted LILO set up to boot to windows.  I can't ask for the points as long as they keep giving incorrect answers.
0
DVBCommented:
Too funny, man lilo would have given you lilo -u to remove lilo and replace with previous version of the MBR. mzenher deserved the points. BTW, fdisk/mbr does not always work (personal experience).
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.