On Wed, Oct 29, 1997 at 01:50:14PM -0600, Manoj Srivastava wrote:
>       There is an HOWTO about this topic, which I used to set up my
>  system. I seem to remember I had captaliztion problems editing the

This did not work for me. I did have to use bootpart.
It works well though, for Linux; the promised booting of DOS and Win95
separate did not work (but I had tried that by hand and it did not work
either.)

>   5.  The Linux part of the work
> 
>   You have to boot from diskettes until the NT-part is fixed.
> 
>   Now you have to peel the bootsector from your Linux-root-Partition.
>   With /dev/hda2 as your linux-partition, the dd-command is:
> 
>        # dd if=/dev/hda2 of=/bootsect.lnx bs=512 count=1
> 
>   There is something wrong if your bootsect.lnx has more than 512 bytes.
> 
>   Now copy the file bootsect.lnx to a DOS-formated floppy if this is
>   your way to transfer files to the NTFS-Windows-partition.
> 
>   You can copy it with
> 
>        # mcopy /bootsect.lnx a:
> 
>   or with
> 
>   # mount -t msdos /dev/fd0 /mnt
>   # copy /bootsect.lnx /mnt
>   # umount /mnt
> 
>   6.  The Windows NT part of the work
> 
>   Copy the file from the diskette to C:\bootsect.lnx. I don't tell you
>   how to do that.
> 
>   What lilo.conf is for linux is c:\boot.ini for Windows NT.  Remove
>   the, system- and the read-only-attribute before you can modify it
>   with:
> 
>        C:\attrib -s -r c:\boot.ini
> 
>   Now change the file boot.ini with an editor, notepad for example, 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 ...
>        multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ...
>        C:\BOOTSECT.LNX="Linux"
> 
>   Only the last line has been added in this example.  Restore the
>   attributes after you have saved boot.ini with:
> 
>        C:\attrib +s +r c:\boot.ini
> 
>   After a shutdown of your Windows NT and a restart your should see the
>   following:
> 
>     OS Loader V4.00
> 
>     Please select the operating system to start:
> 
>     Windows NT Workstation Version 4.0
>     Windows NT Workstation Version 4.0 [VGA mode]
>     Linux
> 
>   Select Linux and see
> 
>     LILO loading zImage ....
> 
>   7.  Play it again Sam
> 
>   A new copy of bootsect.lnx must be transfererd to C:\BOOTSECT.LNX evry
>   time the bootsector of your linux-partition has been modified.  This
>   happens for example when you install a new kernel with lilo.  As you
>   can see such a system in not ideal for testing experimental kernels.
> 
>   8.  Troubleshooting
> 
>   If things do not work as expected, check bootability with a floppy
>   disk.  With /dev/hdb1 as your Linux-partition, your /etc/lilo.conf has
>   the following entries:
> 
>        root=/dev/hdb1
>        boot=/dev/fd0
> 
>   Run lilo with a diskette inserted. Now try to boot from the diskette.
>   If your Linux on /dev/hdb1 can't be started, the NT OS loader will
>   also fail to start it.  If you see a lot of 01 01 01 01, your root-
>   disk is not accessible.  Check whether all your disks are known by the
>   bios.
> 
>   If the floppy boots your Linux partition, you can peel of your boot-
>   sector for the NT OS loader with:
> 
>        # dd if=/dev/fd0 of=/bootsect.lnx bs=512 count=1
> 
>   You can keep this diskette as your rescue-diskette just in case your
>   Windows NT installation breaks.
> 
>   9.  References
> 
>   ·  The Linux+WindowsNT mini-HOWTO
> 
>   ·  The FAQ for FreeBSD 2.X
> 
>   10.  Acknowledgements
> 
>   ·  Thanks to Xiaoming Yi <[EMAIL PROTECTED]> for the tip that the
>      procedures work also with other disks than the first one.
> 
>   ·  Thanks to Frank Dennler <[EMAIL PROTECTED]> for the diskette-
>      trick.
> 
>   11.  Feedback
> 
>   Any comments are welcome.
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> [EMAIL PROTECTED] . 
> Trouble?  e-mail to [EMAIL PROTECTED] .
> 

-- 
Hamish Moffatt, StudIEAust              [EMAIL PROTECTED], [EMAIL PROTECTED]
Student, computer science & computer systems engineering.    3rd year, RMIT.
http://hamish.home.ml.org/ (PGP key here)             CPOM: [*****     ] 58%
Your train has been cancelled due to defective government at Spring Street..


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to