lotus



previous page: 051. How Do I Install Linux?
  
page up: Linux FAQ
  
next page: 053. How Can Linux Boot from OS/2's Boot Manager?

052. Can Linux Boot from MS-DOS?




Description

This article is from the Frequently Asked Questions for Linux, the Free/Open Source UNIX-like operating system kernel that runs on many modern computer systems. Maintained by David C. Merrill with numerous contributions by others. (v1.0).

052. Can Linux Boot from MS-DOS?

A: If LILO doesn't work, and if the machine has MS-DOS or Microsoft Windows, you may be left with a computer that won't boot. This can also happen on an upgrade to your Linux distribution. Re-installing LILO is the last thing that the installation does.

It is vitally important when installing or upgrading Linux on a dual boot machine, to have a MS-DOS or Windows rescue disk nearby so you can FDISK -MBR. Then you can go about using LOADLIN.EXE instead of LILO.

This config.sys file is one possible way to invoke LOADLIN.EXE and boot MS-DOS or Linux.

[menu] menuitem=DOS, Dos Boot menuitem=LINUX, Linux Boot [LINUX] shell=c: edhatloadlin.exe c: edhatautobootvmlinuz vga=5 root=/dev [DOS] STACKS = 0,0 rem all the other DOS drivers get loaded here.

This creates a menu where you can directly jump to LOADLIN.EXE before all of the MS-DOS drivers get loaded.

The paths and options are peculiar to one machine and should be intuitively obvious to the most casual observer. See the LOADLIN.EXE docs for options. They are the same as LILO, and options are just passed to the kernel, anyhow.

[Jim Harvey]

 

Continue to:















TOP
previous page: 051. How Do I Install Linux?
  
page up: Linux FAQ
  
next page: 053. How Can Linux Boot from OS/2's Boot Manager?