|
buy fioricet cheap NT OS Loader + Linux mini-HOWTO Bernd Reichert, v1.11, 2 buy fioricet cheap September 1997 1. Abstract This document describes the use of the Windows NT boo buy fioricet cheap loader to start Linux. This procedures have been tested with Windows NT 4.0 WS a buy fioricet cheap d Linux 2.0. 2. How does the NT OS Loader work The NT OS loader likes to have t buy fioricet cheap e boot sector from the other operating systems available as a file. It reads this buy fioricet cheap ile and starts the operating system selected, i.e. either Windows NT in different buy fioricet cheap Modes or any other OS. 3. Tips on how to install Windows NT and Linux on the same buy fioricet cheap System 3.1. Windows NT installation Try to install Windows NT first. If you want buy fioricet cheap to use NTFS for your Windows NT-partition, keep in mind, that the todays productio buy fioricet cheap version of Linux cannot access NTFS partitions. An alpha driver that can read N buy fioricet cheap FS-Partitions is available at http://www.informatik.hu- berlin.de/~loewis/ntfs. Y buy fioricet cheap u may create a separate FAT-Partition for data exchange or you have to use DOS-for buy fioricet cheap atted floppies. 3.2. Partitioning Another Mini-howto recommends not to use NTs " buy fioricet cheap isk Administartor" to create the Linux swap- and root-partitions. It is sufficient buy fioricet cheap to see the free space there. I also recommend to use linux's fdisk later. 3.3. L buy fioricet cheap nux installation Now boot linux from diskettes, create the swap and root-partition buy fioricet cheap Fdisk assumes the ntfs-partition to be a HPFS-partition. This is normal. Boot buy fioricet cheap gain from diskettes and install Linux as you like. Just in case the installation p buy fioricet cheap ocedure suggests that you could mount the HPFS partition which it has found: Ignor buy fioricet cheap it. 3.4. Lilo When you come to the Lilo-Section, specify your Linux-root-partit buy fioricet cheap on as your boot device because the Master Boot Record (MBR) of your harddisk is o buy fioricet cheap ned by Windows NT. This means that the root-entry and the boot-entry in your /etc/ buy fioricet cheap ilo.conf have the same value. If you have a IDE-harddisk and your Linux-partition buy fioricet cheap is the second partition, your boot-entry in /etc/lilo.conf looks like: boot= buy fioricet cheap dev/hda2 If you have two disks and your Linux resides on the first partition of y buy fioricet cheap ur second disk, your boot-entry in /etc/lilo.conf looks like: boot=/dev/hdb1 buy fioricet cheap Run lilo with a kernel that matches your system. Check the kernel by booting from buy fioricet cheap diskette first if you are not sure. If you cannot boot Windows NT now, you have a buy fioricet cheap roblem. I hope you have created a repair-disk recently. 4. Bootpart There is a buy fioricet cheap NT-programm called bootpart written by G. Vollant that can do the jobs from the ne buy fioricet cheap t two points for you. Bootpart is available at http://ourworld.compuserve.com/home buy fioricet cheap ages/gvollant/bootpart.htm. If you want to know how things are working together, u buy fioricet cheap e the procedures described in point 5 and 6. 5. The Linux part of the work You buy fioricet cheap ave to boot from diskettes until the NT-part is fixed. Now you have to peel the bo buy fioricet cheap tsector from your Linux-root-Partition. With /dev/hda2 as your linux-partition, th buy fioricet cheap dd-command is: # dd if=/dev/hda2 of=/bootsect.lnx bs=512 count=1 There is s buy fioricet cheap mething wrong if your bootsect.lnx has more than 512 bytes. Now copy the file boot buy fioricet cheap ect.lnx to a DOS-formated floppy if this is your way to transfer files to the NTFS buy fioricet cheap Windows-partition. You can copy it with # mcopy /bootsect.lnx a: or with # buy fioricet cheap mount -t msdos /dev/fd0 /mnt # copy /bootsect.lnx /mnt # umount /mnt 6. The Win buy fioricet cheap ows NT part of the work Copy the file from the diskette to C:\\bootsect.lnx. I don buy fioricet cheap t tell you how to do that. What lilo.conf is for linux is c:\\boot.ini for Window buy fioricet cheap NT. Remove the, system- and the read-only-attribute before you can modify it wi buy fioricet cheap h: C:\attrib -s -r c:\boot.ini Now change the file boot.ini with an editor, buy fioricet cheap otepad for example, as follows: [boot loader] timeout=30 default buy fioricet cheap multi(0)disk(0)rdisk(0)partition(1)\WINNT [operating systems] multi(0)d buy fioricet cheap sk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ... multi(0)disk(0)rd buy fioricet cheap sk(0)partition(1)\WINNT="Windows NT Workstation ... C:\BOOTSECT.LNX="Linux" buy fioricet cheap nly the last line has been added in this example. Restore the attributes after yo buy fioricet cheap 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
|