This is more linux and not Java (but I will respond to the group at this
information might be useful!; this also assumes x86 platform)

You can have LILO installed as the "Master Boot Record" program just fine.
When you use fdisk for cfdisk under linux, you will notice that your NTFS
partition (if you have one) will appear to be HPFS (High Performance File
System) which is non specific. OS/2 uses that partition type ID as well as
NTFS. Note, you can also use NT on top MSDOS file systems (kind of like
Linux and UMSDOS, but a bit different).

Before experimenting, first (before you mess up your current MBR) use
something like "dd" to backup your MBR:

dd if=/dev/hda of=/root/ntbootrec.mbr bs=512 count=1

Also have an emergency boot disk (have a freshly formatted disk, for 1.44,
fdformat /dev/fd0u1440)

cat /vmlinuz > /dev/fd0

(above is a quick way make your emergency boot disk, there are other ways!)

Next (I like to use the inneractive liloconfig) write a lilo.conf file that
has the following information

Start with a clear lilo.conf (option 1) flag 5 sec pause or whatever, BUT
write this test LILO to floppy disk /dev/fd0!!!
Add your Lnux partition (label someting meaningful like linux)
add your dos partion
add your ntfs/os2/hpfs partion (under liloconfig, add OS/2 partition, even
if NTFS)
write to your floppy!

shutdown linux and test boot from floppy. (i.e. leave your freshly lilo'ed
disk in drive A: /dev/fd0)

You can press TAB to see a list. Try booting to all partitions you have. 

If this lilo configuration works then the same setup will work from your
harddrive. You can VI your /etc/lilo.conf or where ever your store it and
make the quick on line change to point to /dev/hda from /dev/fd0 and run
lilo to write. You should/can also update your linux partition (root linux
ext2 partion of /dev/hda5 for example). I like to have it written to in both
locations.

If all else fails, get the most current HOW-TOs for lilo. I have an older
one printed in a great reference book. Support companies that support Linux,
but Linux related books!!!

I may have missed something as I don't do this often! ;)

-----Original Message-----
From: jim watson [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 12, 1998 2:36 AM
To: [EMAIL PROTECTED]
Subject: Re: what tools do you use for programming


I have NT4 and Linux on separate partitions. NT has a boot loader, which
can run msdos,  i just put a autoexec.bat file to run loadlin with the
kernel in the dos directory, and away it goes  - under this arrangement
i think NT does not have any way to even know linux is there, but it had
to be NT first? but linux can access the NT(dos) partition ok,


>         You can install both OS's, but you must be careful about which
to
> install fisrt... (NT, of course, linux is a little more friendly with
> other OSs:)
>

Reply via email to