On Thu, Mar 28, 2002 at 08:33:40AM +0000, liyju janardhan wrote:
> 
> I still have some doubt on lilo.
> As i have said earlier my linux native is in hdc3
> win2k in hda1
> and hdc1 is my e drive in windows.
> hdc5 -- fdrive
> 
> I did, dd if=/dev/hdc1 of=/mnt/cdrive/boot.lnx bs=512 count=1
>

This is not correct. Your /dev/hdc1 does NOT have the LILO boot
record. It should be on /dev/hdc3 or on MBR of /dev/hda

> 
> When I select Linux in nt boot option, Lilo appears.
>

This is normalcy. It is supposed to.

For NT multiple boot, the philosophy lies in ability of NT/2k/XP
to execute raw executable boot image code  through  boot.ini. If
you have installed Linux in  /dev/hdc3 and placed  LILO  on boot
record of /dev/hdc3 at the time of Linux installation, the  boot
sequence would occur, otherwise you'd be faced with a  hung sit-
uation since boot record of /dev/hdc3 (the raw image)  does  not
have a valid LILO record. What this raw image  LILO  boot record
file does is to call the appropriate  boot  code  from the Linux
partition and achieves the boot. NT  dual  boot is  not a stand-
alone situation and depends on  LILO correctly  installed  to do
the rest.

I get the feeling that you have somehow put LILO boot record on
the MBR of the second HDD (/dev/hdc), that is why hdc3 is hang-
ing. If the following works, you have done just that:

dd if=/dev/hdc of=/mnt/cdrive/trial.lnx bs=512 count=1

[Note: /dev/hdc NOT hdc1]. See if you can boot with this trial.
lnx image.
 
> <question>
> What if I format my e drive in windows? Does it remove my lilo?
>

No it does not. Win of any variant does not see Linux partitions
as yet by design. Your E: is /dev/hdc1 which does not (or should
not) contain Linux.

> 
> Is there any way to cut paste lilo to my linux native partition?
>

LILO consists of the folowing components: a boot record (for which
you are doing dd), and certain .b files in /boot and /boot/map.

>
> (Remember when my machine boots lilo appears first, I select 'dos' 
> nt boot loader appears, I select Linux lilo appears)
>

This is a recursion. Your boot.ini is calling Linux, but you have
/etc/lilo.conf simultaneously configured to do  a dual  boot. Cut
out the "other" section. Pl post your lilo.conf to  sort out this
issue. You can dual boot either through boot.ini or LILO, but not
both together.  
 
> </question>
> 
> Every disk has an master boot record and every drive has an boot 
> record. My nortron av show 2 mbr and 3 br while scanning.
> <question>

Every HDD has a MBR and every partition has a boot record. You have
2 HDDs (hda and hdc) and probably 3 NTFS/ 32bit partitions (C,D,E).

> Is my lilo in one of the mbr?
> </q>
>

If the first thing that you get is the NT Loader menu, it is NOT.

HTH

Bish
 

--
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Linux Commands (#1)                            LOST #021

No consolidated command list. Do an ls for the following dirs:

/sbin, /usr/sbin               ... for system related commands
/bin, /usr/bin, /usr/local/bin           ... for user commands
/usr/X11R6/bin                      ... for X program commands

####<[EMAIL PROTECTED]>####################################
:

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to