[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: lilo boot

         There r many solutions to this problem.
1) i keep a copy of vmlinuz (my linux kernel) and loadlin.exe on windows
        Boot into DOS.
         Enter the following command:-
        loadlin vmlinuz root=/dev/hda2 ro

( here i am keeping both loadlin & vmlinuz in the same directory otherwise u
have to give path of vmlinuz ; and /dev/hda2 is the linux's root partition
in my case)
    if u don't have these files, u can find them on Red Hat linux CD.
2) make a dos boot disk. copy loadlin.exe and vmlinuz on this disk. boot
into dos using this disk. issue the command mentioned above.
3)  download linux boot disk from Slackware's site. there r many.

i use bare.i or scsi.s    and a dos program rawrite.exe( u can also find
rawrite.exe on Red Hat CD)
Boot into DOS
Enter the following command:

rawrite  bare.i a:

rawrite scsi.s  a:

This way u will get a very useful boot disk.
Just boot with boot disk.
At boot promt type the following command:

mount root=/dev/hda2 ro

( it will boot into ur linux system. here i am assuming  /dev/hda2 as root
In all these cases:-
login as root and run lilo command to again get lilo at MBR.

In fact more ways can be suggested.
Now u can make linux boot disk in many ways.
login as root.
use any of the following methods:
1) dd </boot/vmlinuz>/dev/fd0
     rdev  /dev/fd0         /dev/hda2
2) use the following command :-
    mkbootdisk   /dev/fd0
(this program is available on Red Hat)

There r many more methods.

                                                 Vinod Nayak
-----Original Message-----
From: Vavi <vava@xxxxxxxxxxxxxxx>
To: linux-delhi@xxxxxxxxxxxxxxxxxxxxx <linux-delhi@xxxxxxxxxxxxxxxxxxxxx>
Date: Monday, June 18, 2001 8:31 PM
Subject: [linux-delhi] lilo boot

>taking the queue... i wanted to ask one more thing...
>i know its a bit off topic, but quite relevant..
>on a computer, i had both win/linux dual boot using lilo. now when i
>reinstall win, the MBR gets over-written, and so the dual boot option is
>unavailable.. ofcourse i had a boot floppy for rescue.. but isnt there any
>app in dos which can atleast copy a minimal lilo , wherein, atleast we
>give a "root=/boot/KERNEL" etc... because, otherwise , without a boot
>floppy, its a chicken and egg problem. you need lilo for linux, and linux
>for lilo. !!
>----- Original Message -----
>> hi charmie this is
>> kshounish
>> just boot with disk and after enterring into linux
>> just do#lilo
>> if it shows something with 1024 cylineder then try to
>> install linux iwithin 8 gb or use loadlin option
>> or else if it doesnt show u error that means it will
>> overrride the mbr u  have to run lilo once.
>An alpha version of a web based tool to manage
>your subscription with this mailing list is at