ICPUG Home Page

 

Previous Page
PREVIOUS PAGE

 


Lin'N'WinNewB Page List
Lin'N'WinNewB
PAGE LIST

 

Next Page
NEXT PAGE

 

Lin'N'WinNewB Page List


11th Febraury 2007

HOOKING THE LINUX BOOTLOADER INTO THE WINDOWS 9x BOOTLOADER

Brian Grainger


 

You are going to edit the config.sys file. It is located in the C drive. It is not in a folder.

The config.sys file is a system file. Configure Windows Explorer to view such files.

  • Select Tools then Folder options from the menus
  • Click the View tab
  • Under Hidden files select Show all files
  • Under Files and Folders remove the tick from:
    Hide file extensions for known file types
  • Click the OK button in the Folder Options window.

To edit config.sys carry out the following steps.

  • With Windows Explorer select config.sys in the C drive. It is not in a folder.
  • Right click config.sys and select Open with
  • Scroll down the list of programs displayed and select Notepad
  • Make sure there is no tick in the option Always use this program to open this type of file
  • Click the OK button in the Open with window.
  • Add the following lines before all the lines displayed in the notepad window.

    [menu]
    menuitem=WINDOWS, Start Windows
    menuitem=LINUX, Start Linux
    menudefault=WINDOWS,10
    menucolor=7,0

    [LINUX]
    shell=c:\boot\grub\grub.exe

    [WINDOWS]

    Note: The number 10 in the menudefault=WINDOWS,10 line defines how long, in seconds, the list of operating systems is shown before the default automatically starts. The value chosen is a matter of personal choice. The smaller the value, the quicker the default, Windows, will boot. The larger the value, the longer you have to select Linux. I suggest newbies start with a value of 10 to give plenty of time to make a selection. As you gain experience you may find this too slow when booting the default system. For this reason, I use a value of 2 and when I want to choose Linux I get ready with my finger on the keyboard! You can always change the value later if you don't get it right first time.

  • Close the Notepad window and click the Yes button when asked 'Do you want to save the changes?'

If you made any adjustments to Windows Explorer to enable you to view config.sys, you may wish to reverse the adjustments now.


You should end up with a file that looks something like the following, which is how it may appear on my PC. How it looks on your PC depends on the initial Windows setup.

[menu]
menuitem=WINDOWS, Start Windows
menuitem=LINUX, Start Linux
menudefault=WINDOWS,10
menucolor=7,0

[LINUX]
shell=c:\boot\grub\grub.exe

[WINDOWS]
device=c:\realmode\oakcdrom.sys /D:mscd001
dos=high,umb
buffers=40
device=c:\windows\himem.sys /testmem:off
DEVICE=C:\WINDOWS\EMM386.EXE
device=c:\windows\COMMAND\display.sys con=(ega,,1)
Country=044,850,c:\windows\COMMAND\country.sys

That's the end of Step 2

Click HERE to proceed to Step 3


 

 

 

 

Top
TOP