On Fri, 29 Dec 2000 03:10:28 -0800 (PST), Pinku Hussain said:
> Hi,
>
> I have a m/c with win95 and linux6.2 in two partition.
> Due to some problem I had to reinstall Win95. As a
> result I lost LILO and unable to boot in Linux. Linux
> partition is already there but I am unable to boot.
>
> Now with me I have Linux6.2 CD and a linux bootable
> disk of another PC. How can I bring back the original
> LILO???
>
This will be rather detailed response.
I had the same problem and I could sort this out today.
My config
Using WIN98 and SuSE 7.0.
Sequence of operation as follows.
1. Boot with CD.
2. Choose upgrade option
3. It will give you choice of linux partions to choose from for /root
where it can find your original /etc/fstab file.
4. System mounted the following partitions .
/dev/hda7 /mnt/boot
/dev/hda9 /mnt
/dev/hda10 /mnt/home
this will vary depending on your partitions.
5. locate your original lilo.conf file. it was found in /mnt/etc
6. make a copy of this cp /mnt/etc/lilo.conf /mnt/etc/lilo1.conf
7. Now edit this file.
I have kept only functional lines.
--------------lilo1.conf-------------
boot = /dev/hda
read-only
prompt
timeout = 50
map = /mnt/boot/map #where to write map file !! NEW LINE
install = /mnt/boot/boot.b #file to use for boot !! NEW LINE
image = /mnt/boot/vmlinuz # use your boot image as is in file
lable = linux # need not change from original
root = /dev/hda9 # this is my conf. Keep your original setting
---------------end---------------
8 now run lilo command
/mnt/sbin/lilo -C /mnt/etc/lilo1.conf # -C tells lilo which config
to use
This will give error message
crea /boot/boot.0300 canoot creat file path not found
9. now use this file name and run lilo as
/mnt/sbin/lilo -C /mnt/etc/lilo1.conf -s /mnt/boot/boot.0300
you shold see normal completion message of lilo.
10. now you are ready to reboot.
>init 6
11. After rebooting do login
12. Once again run lilo
/sbin/lilo -v
This will restore all your original settings.
####
you can find your editor at /mnt/usr/bin
Suse had created five ttys. I could work on tty2 and tty5 by switching
using ALT-F2 and ALT-F5
--
Deepak Joglekar
[EMAIL PROTECTED]
/usr/games/fortune -s
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/