|
LOADLIN Step by Step |
|
|
1. Download and install "Loadlin" in C:\Loadlin directory in Windows 95, 98 or ME. 2. In the Loadlin directory, modify the linux.bat file to "point" to the drive and partition that contains your Linux installation. ie: If you have Linux on the second partition on your 'D' drive, you could use: loadlin c:\vmlinuz root=/dev/hdb2 ro ie: If you have Linux on a UMSDOS directory on your 'C' drive, you could use: loadlin c:\vmlinuz root=/dev/hda1 rw 3. Copy your compressed kernel (vmlinuz) from your linux partition to your Windows partition (C:\). 4. Edit your C:\msdos.sys file to change the following values to zeros: [Options] BootGUI=0 BootDelay=0 BootMenu=0 Logo=0 (If any of the above lines are missing from your msdos.sys, carefully add them in the order as shown above) 5. For Windows 95, replace the contents of C:\config.sys with the following: [Menu] menuitem=Win95, start Windows 95... menuitem=dos, start MS-DOS... menuitem=Linux, start Linux... menudefault=Win95,5 [Win95] DEVICE=WINDOWS\HIMEM.SYS DEVICE=WINDOWS\EMM386.EXE NOEMS DOS=HIGH,UMB [dos] DEVICE=WINDOWS\HIMEM.SYS DEVICE=WINDOWS\EMM386.EXE NOEMS DOS=HIGH,UMB [Linux] 5a. For Windows 98, replace the contents of C:\config.sys with the following: [Menu] menuitem=Win98, start Windows 98... menuitem=dos, start MS-DOS... menuitem=Linux, start Linux... menudefault=Win98,5 [Win98] [dos] [Linux] 5b. For Windows ME, replace the contents of C:\config.sys with the following: [Menu] menuitem=WinME, start Windows ME... menuitem=dos, start MS-DOS... menuitem=Linux, start Linux... menudefault=WinME,5 [WinME] DEVICE=C:\WINDOWS\IFSHLP.SYS [dos] DEVICE=C:\WINDOWS\IFSHLP.SYS [Linux] 6. For Windows 95 or 98 add the following to the BOTTOM of your C:\autoexec.bat file: goto %config% :Win95 (or :Win98) c:\windows\win.com goto end :dos goto end :Linux cd loadlin linux :end 6a. For Windows ME add the following to the BOTTOM of your C:\autoexec.bat file: goto %config% :Linux cd loadlin linux :WinME c:\windows\win.com goto end :dos goto end :end 7. If you are using Windows 95 or 98, skip to step 8. If you are using Windows ME, CLICK HERE. 8. When you boot up your computer, you will be presented with a "Start Up" menu that displays 3 choices: Start Windows 95 (or Windows 98) (or Windows ME) Start MS-DOS Start Linux 9. If you do NOTHING, Windows will auto-boot in 5 seconds. If you want to boot Dos or Linux, use the arrow keys to select one within the 5 seconds. 10. Loadlin will let you pass commands to the kernel, if necessary. (just like Lilo) Making your Linux Boot Floppy: A. Place a blank 1.44 Mb. floppy into your A Drive. B. Using the Dos Prompt, type: format a: /s and then press enter. C. Copy loadlin.exe from the C:\loadlin directory onto the floppy. D. Copy your vmlinuz file from C:\ onto the floppy. E. Create an autoexec.bat file on the floppy with the following lines: @ECHO OFF rem rem Loadlin rem rem Other information may need to be passed to the kernel through Loadlin. rem See llmanual.txt included with Loadlin for more information. rem LOADLIN a:\vmlinuz root=/dev/hda1 ro (the hda1 is an example only: see below) (following the examples from step 2 above, use hda, hdb, hdc, or hdd to denote your drive and partition number where your linux is installed) As a bonus, when you use Loadlin as your boot manager, you will ALWAYS skip any compiling steps that refer to the use of Lilo. Loadlin is much better than Lilo because it DOES NOT ALTER THE MBR ! NEVER again will you see that annoying "Li" without the "lo" !!!!! |