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

Re: LILO.. Where ???



- ----- Original Message -----
From: Karthik K H <karthik_kh@xxxxxxxxxxxx>
To: <linux-india@xxxxxxxxx>
Sent: Monday, June 21, 1999 2:17 AM
Subject: LILO.. Where ???


>  During installation , the install program failed to write it in the MBR
or the other choice.
>
>   I have Win95 , Win NT 4.0 server & also RH Linux 5.2. on the same
machine.
>     Where actually should the LILO be written & would it conflict with the
WINNT OS Loader ?? ( though I feel there should not be a conflict
technically )

LILO *should* be written on the Linux root partition, NOT the MBR. NT boot
loader is capable to boot Linux if you make it aware of the bootstrap
loader(?) for Linux. For that You have to take a dump of the first boot
sector of the Linux to a file.
Assuming your Linux root partition is in /dev/hda2, enter the following
command in the root bash prompt.
dd if=/dev/hda2 of=/bootsect.lnx bs=1024 count=1
This will create a file /bootsect.lnx of size 1k.
copy this file to a ms-dos formatted floppy
mcopy /bootsect.lnx a:
Now copy the the bootsect.lnx file on c:\
Change the attribute of the file to Readonly and hidden.
Change the boot.ini to make it aware of the Linux OS
C:\BOOTSECT.LNX="Linux"
My boot.ini is as follows:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation Version
4.00"
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation Version
4.00 [VGA mode]" /basevideo /sos
C:\BOOTSECT.LNX = "RedHat Linux 5.2"

You can change to  "800x600" by just pressing <ctrl><alt><+> (with the
default color depth). If your default color depth is 8(256 color) then you
can start X  with 16 color by
startx -- -bpp 16
To start 800x600 and 16 color depth you have to edit your XF86Config file
(screen section)

- ------------------------------------------------
Kousik Bera
Tata Consultancy Services
Offshore Development Centre
SEEPZ, Andheri(E)
Mumbai - 400 096
Tel(O) - +91-22-8291680 Ext 316





- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------