Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LILO Question

0 views
Skip to first unread message

Toly Dedes

unread,
Apr 26, 2002, 12:58:19 PM4/26/02
to
Linux Gurus,

I had my DUAL Boot Laptop working ( Win2k+RH7.2 ) working fine
until I decided to install Windows 2k Recovery Console! (Don't ask
me why *&^%$#@!)

Boom, my Dual Boot menu disappeared! My laptop now always boot
in Win2k! I know my RH7.2 is there? How do I install back lilo ONLY!!!

Thank you for any assistance!

-Toly


Toly Dedes

unread,
Apr 26, 2002, 1:01:14 PM4/26/02
to
Linux Gurus! Hi There!!!!

Everything was working fine on my Dual-Boot Laptop (Win2k+RH7.2) until
I decided to load Win2k Recovery Console! (Do not ask me why ^%@!)
Boom, my dual boot menu is gone! I know Linux is there but how do I
put back lilo ONLY?

Thank you for any assistance!!!
-Toly


Dave Rich

unread,
Apr 26, 2002, 2:14:23 PM4/26/02
to
You will have to boot into linux with a boot (rescue) floppy.. You made one
right?? ;-)

At the lilo prompt from the floopy, type root=/dev/xxxxx where xxxxx is
your Linux root drive.
login as root at the console, and run lilo again

That will restore lilo to the MBR on the drive.
You MAY want to check /etc/lilo.conf 1st tho, and make any changes that you
need to, if you changed something in the Win2k partition.


Toly Dedes

unread,
Apr 26, 2002, 1:34:18 PM4/26/02
to
Dave,

Thank you so much 4 your quick response.

Few problems :

1st : Nop. I don't have a rescue disk for Linux.....I know I should have
made
one....So, how do I make one.

2nd : Initially I didn't have lilo installed on the MBR. I had it installed
on /tmp/hda2
which I made as a bootable disk. So, I guess my question is shouldn't I have
to
put it back there again?

Here's the topology for my laptop. It had Win2k+Linux RH7.2!!!!

Bootable Flag
|
V
/tmp/hda1 4GB C: Win95/FAT32 <--- Primary
/tmp/hda2 * 16MB /boot Linux <-- Primary That's where I put LILO
initially!!!!)
/tmp/hda3 20GB D: HPFS/NTFS
/tmp/hda4 4.6GB Extended
/tmp/hda5 3.8GB Linux
/tmp/hda6 787MB SWAP

Thanx for all your help,

-Toly


"Dave Rich" <dr...@nucorar.com> wrote in message
news:aac1tu$95edt$1...@ID-136223.news.dfncis.de...

Lee Vang

unread,
Apr 26, 2002, 7:30:13 PM4/26/02
to
I have the same problem happened to me. I had to use DOS fdisk to change
the Linux partition to active. After doing that, I am now boot to Linux
boot menu, which let me choose to either boot to Windows 2000 or Linux.

"Toly Dedes" <ade...@yahoo.com> wrote in message
news:ucgy8.136533$XV5.12...@bin4.nnrp.aus1.giganews.com...

Toly Dedes

unread,
Apr 27, 2002, 9:46:22 AM4/27/02
to
Lee, Thank You!!!
I did it and I am back to my dual boot!!!
I have a different problem now....
...Kernel panic: VFS: Unable to mount root fs on 03:05....

Thank you though for all your help!!! FDISK did it!!!

Cheers,

-Toly

"Lee Vang" <txoo...@vamntaubntawv.org> wrote in message
news:9qly8.58575$rC2.11...@twister.rdc-kc.rr.com...

J.O. Aho

unread,
Apr 27, 2002, 10:04:21 AM4/27/02
to
Toly Dedes wrote:

> Boom, my Dual Boot menu disappeared! My laptop now always boot
> in Win2k! I know my RH7.2 is there? How do I install back lilo ONLY!!!

There is two ways to do this

1. The slow way: Take your RH7.2 CD, choose to make an update, this will in
the end allow you to let to reinstall the lilo. Takes a long time on a slow
computer as it will really try to update your RH7.2

2. The fast way: Take your RH7.2 CD, choose 'linux rescue', say yes to
scan/mount your system. When you get the shell prompt, type 'chroot
/mnt/sysimage' (can be that the path is wrong, you find it in /mnt), when the
new prompt appears, just type '/sbin/lilo', when finished, just type 'exit'
and then 'exit' and all you have to do is to remove the CD and you will reboot
to lilo-menu.


//Aho

0 new messages