Challenging tips: Start Linux in Windows

Source: Internet
Author: User
Article Title: Challenging tips: Start Linux in Windows. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
   In Windows me:
  
   First:
Start Windows me, assuming the optical drive is g:, Linux is installed in/dev/hda3, And the Linux installation CD is placed in the optical drive, run the following commands at the DOS prompt in the window (note that the Kernel File vmlinuz may start with another name in vmlinuz ):
C:
Md \ linux
Cd \ linux
G:
Cd \ dosutils
Copy loadlin.exe c:
Cd autoboot
Copy vmlinuz c:
  
   Then:
Use real-time DOS in Windows me
  
Windows me has hidden the real-mode DOS. If you want to run the real-mode DOS program, you can (assuming that the Windows installation directory is c: \ windows ):
First, copy c: \ windows \ command.com, c: \ windows \ system \ regenv32.exe, c: \ windows \ command \ ebd \ io in the scripts folder. sys to c: \ winmedos, and then in Windows me DOS mode:
Cd \ winmedos
Attrib-h-s-r *.*
Winmedos
Finally, modify the three files: io. copy sys to c :\, command.com to c :\and c: \ windows, and copy regenv32.exe to c: \ windows \ system, in c: \ Program, because Windows me already contains ):
  
Config. sys content:
  
Device = c: \ windows \ ifshlp. sys
Buffers = 40
FILES = 40
DOS = high, UMB
Lastdrive = Z
[Menu]
Menuitem = 1, Windows me
Menuitem = 2, MS-DOS
Menuitem = 3, Linux
Menudefault = 1, 10
Menucolor = 15, 1
Numlock = on
[1]
[2]
The rem optical drive driver depends on the actual situation:
Device = c: \ tricddvd. sys/d: mscd000
[3]
  
Autoexec. bat content:
  
Goto % config %
: 1
Cd \ windows
Win
Goto end
: 2
@ ECHO OFF
PROMPT $ P $ G
Rem drive optical drive:
C: \ windows \ command \ MSCDEX/D: MSCD000
C: \ windows \ smartdrv
Rem drive mouse:
C: \ mouse
Goto: end
: 3
C:
Cd \ linux
Rem assumes that Linux is installed in/dev/hda3. If not, modify
Loadlin vmlinuz root =/dev/hda3
: End
  
After restarting the computer, you can choose whether to start Windows me, MS-DOS, and Linux! This patch is available in Windows me official edition (Ver 4.90.3000.
  
Start Linux in Windows 9x:
  
In the DOS window
Cdattrib-h-s-r msdos. sys
Use edit.exe to modify c: \ msdos. sys
Add or modify under [Options:
BootGUI = 0
Then refer to the above article: Create c: \ linux, modify config. sys and autoexec. bat
  
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.