Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> Windows 技巧

打造 Linux + Windows 多重引導:用 NT Loader 統管 Win98/2K/Linux 雙/多系統

編輯:Windows 技巧

背景:Windows 主流與 Linux 崛起,雙系統共存成剛需

Linux 免費、穩定、網路強、圖形介面成熟(KDE/GNOME/StarOffice),但易用性、軟體生態仍遜 Windows。多重引導讓兩全其美。

實作環境假設

  • /dev/hda1 (C:) → Win98 SE
  • D: → Win2000
  • /dev/hda6 → RedHat Linux 6.1
  • /dev/hda8 → Turbo Linux 4.0

關鍵限制: LILO 不可安裝在 MBR,必須裝在 Linux root 分區的超級區塊;LILO 不支援 8GB 以上分區。

核心步驟:提取 Linux 開機磁區映像供 NTLDR 呼叫

  1. Linux 安裝光碟 DOSUTILS 目錄複製 loadlin.exe 到硬碟。
  2. 同光碟 DOSUTILS\AUTOBOOT 複製核心映像 vmlinuz 到同目錄。
  3. DOS 下執行 loadlin vmlinuz root=/dev/hda6 進入 RedHat(root 登入)。
  4. 掛載 C 盤:mount -t vfat /dev/hda1 /mnt/c(無 /mnt/c 需 mkdir)。
  5. 提取開機磁區:dd if=/dev/hda6 of=/mnt/c/redhat.lnx bs=512 count=1。
    dd 參數:if輸入、of輸出、bs區塊大小、count區塊數。
  6. umount /dev/hda1 → reboot。
  7. 同法處理 Turbo Linux (/dev/hda8 → turbo.lnx)。

編輯 C:\BOOT.INI 納入 Linux 選項

  1. attrib -s -r -h boot.ini 移除屬性。
  2. 編輯內容:
[boot loader]
timeout=30
default=C:
[operating systems]
C:="Windows 98 SE"
C:redhat.lnx="RedHat Linux 6.1"
C:turbo.lnx="Turbo Linux 4.0"
multi(0)disk(0)rdisk(0)partition(8)\WINNT="Microsoft Windows 2000 Advanced Server" /fastdetect
  • 調整 [operating systems] 行順序改變選單順序;修改 default 改變預設系統;修改 timeout 改變等待秒數。

原理說明

NTLDR 能引導非 NT 系統:讀取 redhat.lnx(Linux 開機磁區 512 bytes)→ 啟動 LILO → 載入 Linux。Windows 98/2000/Linux 多系統和平共存,互不干擾。


用 Windows 自己的 NTLDR 統管 Linux,避開 LILO 裝 MBR 風險,也是當年經典的「雙系統最佳實踐」。如今 Grub2/UEFI 時代,此法成經典回憶,但邏輯依然通用。

Copyright © Windows教程網 All Rights Reserved