LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-17-2004, 04:22 AM   #1
Rettie
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
Lilo - ("win98se") CollegeLinux


I did install win98 on the first partion the second partition is for data (fat) and the 3de is where i installed CL.
After the installation the lilo only showed CL, so i need to use a win-boot-disk to boot my win98.
How can i get my LILO to show and make it possible to boot CL aswell as win98se.

Thnx 4 reading,

Linux-noob aka windows-hero
 
Old 03-17-2004, 05:06 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
1. Boot into CL.

2. Open "File Manager- Super User". I've used CL, and I know it uses KDE by default, but I don't so much use KDE, so I can't tell you offhand where it is in the menu. It is there, though-- try System, or System=>More Programs. Alternatively, you can get root access via a terminal, by typing "su" (without the quotes) and typing the root password, then hitting Enter.

3. If using Konqueror (SU), browse to /etc/lilo.conf, right-click it and open it with the text editor of your choice. If using a terminal, type "name_of_text_editor /etc/lilo.conf" (without the quotes). Either way, you will now have the file open in a text editor with root access (only root may edit this file).

4. Under the lines that boot CL, add this-- or wait, here's my lilo.conf as an example:

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb7
label = Slack-2.6.3
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
label = Win2K
table = /dev/hda

# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-2.4.22
root = /dev/hdb8
label = Mepis
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
image = /boot/vmlinuz-2.4.25
root = /dev/hdb7
label = Slack-2.4.25
append="hdc=ide-scsi"
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
image = /boot/vmlinuz.orig
root = /dev/hdb7
label = Slack-2.4.22
read-only # Non-UMSDOS filesystems should be mounted read-only for checking/
# Linux bootable partition config ends

This is under Slackware 9.1, so the comments are extra, and there's a lot of framebuffer settings in [global], so I haven't copied it. However, you need to add an "other" section like the one highlighted above to lilo.conf (changing the example to reflect the drive you have Win98 installed on, and of course the label to reflect the correct OS).

When you've made the changes, save and close the text editor (but not the terminal if you're using one, and not the file manager if you're using that, in case you've made a mistake and need to open the file again).

5. You must run LiLO to set the changes. This must be done in a terminal with root access, so if you opened one before (to start the text editor), just run 'lilo' (or '/sbin/lilo' if just 'lilo' does not work. Without the quotes). If you don't have a terminal with root access open, open Konsole and type 'su' (no quotes), the root password, and hit Enter, then type 'lio' (or '/sbin/lilo'). LiLO will run and should show that it added the new entry. If not, it will tell you why it did not; reopen lilo.conf in the text editor and fix whatever typo you made , save, and run lilo again from the terminal.

When successful, the boot menu will show both OSes, and you will be able to choose the one you want to use when you boot up.

Hope this helps.
 
Old 03-17-2004, 06:29 AM   #3
Rettie
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thnx alot, for reply

Thnx alot, looks like its gonna work. Now i got something to try and i will asap.
 
  


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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
lilo says, "L 01 01 01" and fdisk says, "Unable to seek on /dev/hda1" clausawits Linux - General 3 12-31-2007 10:33 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 04:07 PM
how can i replace "lilo" with "grub"....... b0nd Linux - Newbie 5 04-18-2005 05:52 AM
Reinstalling Win98SE when "drive swapping" is required OldBob Linux - Laptop and Netbook 8 10-29-2004 09:19 AM


All times are GMT -5. The time now is 08:45 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