How do I modify LILO to point to my Win98 partition too?

mulder

Senior member
Oct 9, 1999
684
0
76
I am doing a system clean up and I got about 10gig's of space to devote to Linux now. I set up my 40GB drive using Partition Magic 6.0 like so:

C:\ FAT32 4GB
D:\ FAT32 25GB
Linux Ext2 9.8GB
Linux Swap 250MB

I already have Win98 installed and I plan on putting Linux on. This will be my first time using Linux and I wanted to make sure that LILO knew to have Win98 as a load option. Can you comment on how I would modify LILO to do this? Thanks.
 

mulder

Senior member
Oct 9, 1999
684
0
76
Well, I just installed Linux Mandrake 7.1 and everything went well in the config and setup. However, when I reboot my computer it goes back into Win98. I see no LILO boot loader or any option to load Linux. What did I do wrong?
 

Zach

Diamond Member
Oct 11, 1999
3,400
1
81
LILO didn't install, or you need to run it so it attaches to the MBR. It might just have gone into the partition's boot record, which wont help you.
 

mulder

Senior member
Oct 9, 1999
684
0
76
Ok, I got Linux and Win98 loaded up. This is cool! Anyway, Linux is only detecting that I have 64MB of Ram, when I actually have 192MB. I specified that in the install, but I guess it didn't do any good. Also, I am not sure how to set this up to work with my DSL line. Any help with either of these? Thanks.
 

perry

Diamond Member
Apr 7, 2000
4,018
1
0
For the memory, you'll need to edit your /etc/lilo.conf file. Someplace near the top, add:

append = "mem=192m"

Rerun lilo (just type lilo at the root prompt), reboot. Look at all that perty memory!

As for the DSL line, how are you connected? Ethernet card to a router or DSL modem? Hopefully not a USB modem. Post what kind of network card you have... Actually, probably the easiest way of getting the network card working is running a program called netconf. Should work at the command line or in X windows. Nice pretty interface for setting up what kind of network card you have, and giving it DNS, gateway, IP, netmask (or just DHCP).
 

Zach

Diamond Member
Oct 11, 1999
3,400
1
81
I don't feel like checking if it matters, but I always used a capitol M in the append link. 128M or 192M.
 

perry

Diamond Member
Apr 7, 2000
4,018
1
0
I'm not going to check either, but I pulled the syntax out of Running Linux. I thought it was M, but since the book had m, that's what I went with.
 

mulder

Senior member
Oct 9, 1999
684
0
76
Well, here is something interesting. I seem to be using some boot loader called GRUB. During the install process I never saw anywhere where it asked me to choose. So, I assumed LILO would be it, but instead I get this thing called GRUB. It seems to be working fine, but is LILO better? How would I change it?

As far the DSL setup I have a D-Link 530TX PCI NIC. It is connected to an 8-port switch, which in turn is connected to a Netgear RT311 router, which is connected to an Alcatel External DSL modem. I tried looking on D-Link's website for Linux drivers, but they don't list any.

Thanks for the help.

Edit
Ok, I went and editted the file and added the appen line about 3 lines from the top. But when I go into the KDE Control Center, it still reports only 64MB. This may be related too, but Linux seems to running kind of slow and laggy. Here is my system:

Celeron 550MHz
192MB PC100 Ram
Maxtor 40GB HDD
and other various hardware.

Any ideas?
 

perry

Diamond Member
Apr 7, 2000
4,018
1
0
Heh. If you aren't using LILO then adding that line to lilo.conf won't do anything. You'll have to find a way to do it in GRUB (I've heard of it, seen it in action once, know nothing about it).

Quick search of groups.google.com brought up this. Give it a whirl and see what happens.
---------------------
---------------- if using grub ---------------------------

edit /boot/grub/menu.lst and add
mem=128M
Next boot should have the change

example:
title linux
kernel (hd1,4)/boot/vmlinuz root=/dev/hdb5 mem=128M

-------------- to replace lilo with grub --------------------

cd /boot/grub
sh install.sh

---------------------
When you run netconf and see something about the kernel module for eth0, choose rtl8139, that's what your DLink card needs to work. Hopefully you have that module compiled and ready to use..
 

mulder

Senior member
Oct 9, 1999
684
0
76
Thanks for the help. I'll try changing to LILO and I will post back with my results.