|
what is tramadol NT OS Loader + Linux mini-HOWTO Bernd Reichert, v1.11, 2 Septe what is tramadol ber 1997 1. Abstract This document describes the use of the Windows NT boot loader to what is tramadol tart Linux. This procedures have been tested with Windows NT 4.0 WS and Linux 2.0. 2. what is tramadol How does the NT OS Loader work The NT OS loader likes to have the boot sector from the what is tramadol ther operating systems available as a file. It reads this file and starts the operating what is tramadol system selected, i.e. either Windows NT in different Modes or any other OS. 3. Tips on what is tramadol how to install Windows NT and Linux on the same System 3.1. Windows NT installation Tr what is tramadol to install Windows NT first. If you want to use NTFS for your Windows NT-partition, kee what is tramadol in mind, that the todays production version of Linux cannot access NTFS partitions. An what is tramadol alpha driver that can read NTFS-Partitions is available at http://www.informatik.hu- be what is tramadol lin.de/~loewis/ntfs. You may create a separate FAT-Partition for data exchange or you h what is tramadol ve to use DOS-formatted floppies. 3.2. Partitioning Another Mini-howto recommends not what is tramadol o use NTs "Disk Administartor" to create the Linux swap- and root-partitions. It is suff what is tramadol cient to see the free space there. I also recommend to use linux's fdisk later. 3.3. L what is tramadol nux installation Now boot linux from diskettes, create the swap and root-partition. Fdi what is tramadol k assumes the ntfs-partition to be a HPFS-partition. This is normal. Boot again from d what is tramadol skettes and install Linux as you like. Just in case the installation procedure suggests what is tramadol hat you could mount the HPFS partition which it has found: Ignore it. 3.4. Lilo When what is tramadol ou come to the Lilo-Section, specify your Linux-root-partition as your boot device becau what is tramadol e the Master Boot Record (MBR) of your harddisk is owned by Windows NT. This means that what is tramadol he root-entry and the boot-entry in your /etc/lilo.conf have the same value. If you ha what is tramadol e a IDE-harddisk and your Linux-partition is the second partition, your boot-entry in /e what is tramadol c/lilo.conf looks like: boot=/dev/hda2 If you have two disks and your Linux reside what is tramadol on the first partition of your second disk, your boot-entry in /etc/lilo.conf looks lik what is tramadol : boot=/dev/hdb1 Run lilo with a kernel that matches your system. Check the kerne what is tramadol by booting from diskette first if you are not sure. If you cannot boot Windows NT now, what is tramadol you have a problem. I hope you have created a repair-disk recently. 4. Bootpart Ther what is tramadol is a NT-programm called bootpart written by G. Vollant that can do the jobs from the ne what is tramadol t two points for you. Bootpart is available at http://ourworld.compuserve.com/homepages/ what is tramadol vollant/bootpart.htm. If you want to know how things are working together, use the proc what is tramadol dures described in point 5 and 6. 5. The Linux part of the work You have to boot from what is tramadol iskettes until the NT-part is fixed. Now you have to peel the bootsector from your Linux what is tramadol root-Partition. With /dev/hda2 as your linux-partition, the dd-command is: # dd if what is tramadol /dev/hda2 of=/bootsect.lnx bs=512 count=1 There is something wrong if your bootsect.lnx what is tramadol as more than 512 bytes. Now copy the file bootsect.lnx to a DOS-formated floppy if this what is tramadol s your way to transfer files to the NTFS-Windows-partition. You can copy it with what is tramadol mcopy /bootsect.lnx a: or with # mount -t msdos /dev/fd0 /mnt # copy /bootsect.lnx /m what is tramadol t # umount /mnt 6. The Windows NT part of the work Copy the file from the diskette to what is tramadol C:\\bootsect.lnx. I don't tell you how to do that. What lilo.conf is for linux is c:\\b what is tramadol ot.ini for Windows NT. Remove the, system- and the read-only-attribute before you can m what is tramadol dify it with: C:\attrib -s -r c:\boot.ini Now change the file boot.ini with an ed what is tramadol tor, notepad for example, as follows: [boot loader] timeout=30 default what is tramadol multi(0)disk(0)rdisk(0)partition(1)\WINNT [operating systems] multi(0)disk(0) what is tramadol disk(0)partition(1)\WINNT="Windows NT Workstation ... multi(0)disk(0)rdisk(0)partit what is tramadol on(1)\WINNT="Windows NT Workstation ... C:\BOOTSECT.LNX="Linux" Only the last line what is tramadol has been added in this example. Restore the attributes after you have saved boot.ini wi what is tramadol h: C:\attrib +s +r c:\boot.ini After a shutdown of your Windows NT and a restart y what is tramadol ur should see the following: OS Loader V4.00 Please select the operating system to what is tramadol start: Windows NT Workstation Version 4.0 Windows NT Workstation Version 4.0 [VGA m what is tramadol de] 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 O
|