[4508] in RedHat Linux List
MS-DOS, Windows NT 4.0, and Linux using NT Boot Loader
daemon@ATHENA.MIT.EDU (Steve Scoggins)
Fri Nov 15 09:34:01 1996
Date: Fri, 15 Nov 1996 07:25:17 -0800
To: redhat-list@redhat.com
From: Steve Scoggins <sscoggin@evergreen.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
The following notes from installation of MS-DOS, RedHat Linux 4.0, and
Windows NT
may be of help to some of the RedHat mailing list.
Send me any comments or corrections via email to: sscoggin@evergreen.com
------
How can I start MS-DOS, Windows NT 4.0, and Linux from a single Boot Menu?
You can configure the Window NT boot loader to setup a menu allowing you to
boot MS-DOS, Windows NT 4.0, or Linux. You can follow the setup procedure
listed below to configure the Windows NT 4.0 boot loader. The procedures
below are based on the use of two SCSI hard disks, where MS-DOS & Linux are
installed on disk1 and Windows NT is installed on disk2.
Note: You can also use IDE drives if you edit the device names to correspond
to your version of Linux.
1. Using MS-DOS Version 6.XX FDISK utility, setup a single, active boot
partition of 200 MB or larger for MS-DOS.
2. Reboot the computer and install MS-DOS on the partition created in step
1. (Drive C:)
3. Reboot when the MS-DOS install is completed and confirm you can cold boot
the system to a MS-DOS prompt.
4. Using the MS-DOS setup floppy supplied by your CD-ROM manufacturer,
install your CD-ROM drivers on Drive C:
5. Install Linux using one of the popular Linux distributions, such as the
RedHat distribution. (I highly recommend that you use the Red Hat Linux
release 4.0 official distribution, see the details at the following RedHat
web site http://www.redhat.com/news/rhl-intel.html. The RedHat distribution
is easy to install and includes a recent version of the Linux Kernel. The
Linux Kernel includes a built-in SMB daemon supports peer-to-peer networking
with other WFWG 3.X, Windows 95 or Windows NT based computers.
6. You should following the basic install process the RedHat official users
manual, the setup will give you an opportunity to use the Linux FDISK to
edit or create partitions. You should verify the proper partitions using
the Linux FDISK p command which prints the partition information to the
monitor screen.
PARTITION DESCRIPTION SIZE DEVICE MOUNT FILESYSTEM LILO Type
Partition 1 MS-DOS 200 MB /dev/sda1 /dosc MS-DOS FAT16 6
Partition 2 Linux (Root) 100 MB /dev/sda2 / Linux ext2fs 83
Partition 3 Linux (User) 600 MB /dev/sda3 /usr Linux ext2fs 83
Partition 4 Linux (Swap) 32 MB /dev/sda4 Linux ext2fs 81
Partition 5 Windows NT 600 MB /dev/sdb1 NTFS 7
7. The Linux distribution setup program will prompt you to choose the setup
options for LILO. You should choose the option allowing you to write to the
superblock Linux root partition to Partition 2 where Linux resides. Since,
we are going to use the Windows NT boot loader menu so you should not choose
to let the Linux setup write to /dev/sda. The LILO lilo.conf file (located
in the /etc directory) is as listed below:
compact
boot=/dev/sda2
map=/boot/map
install=/boot/boot.b
prompt
timeout=5
image=/boot/vmlinuz
label=linux
root=/dev/sda2
read-only
other=/dev/sda1
label=dos
table=/dev/sda
8. You Linux boot partition MBR is 512 bytes long.
9. Use the Linux "dd" utility to copy out the first 512 bytes of your Linux
partition which has the booting information. Use the dd command syntax
shown below:
dd if=/dev/sda2 of=/bootsect.lnx bs=512 count=1
Hint: You can also use the dd utility to copy the bootsector of your Windows
NT bootdrive. You should also verify that you can bootup Linux from a bootdisk.
Copy bootsect.lnx to your boot partition into the / directory.
Add the following line to your boot.ini file
C:\bootsect.lnx="RedHat Linux Version 3"
The actual boot.ini file actually looks like this:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(1)partition(1)\WINNT40
[operating systems]
multi(0)disk(0)rdisk(1)partition(1)\WINNT40="Windows NT Server Version 4.00"
multi(0)disk(0)rdisk(1)partition(1)\WINNT40="Windows NT Server Version 4.00
[VGA mode]" /basevideo /sos
C:\bootsect.lnx="RedHat Linux"
C:\="MS-DOS"
You should be able to boot your computer and select Linux from Windows NT's
boot loader menu. After you select Linux from the boot loader menu press
Enter to boot Linux on the /dev/sda2 partition.
Many Linux users prefer to use the Windows NT boot-loader instead of LILO
because Windows NT's boot-loader prompts you with a nice selection menu to
boot from, and this method is supported by future versions of Windows NT.
Steve Scoggins (Email: sscoggin@evergreen.com)
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null