请教版主和各位高手,从http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-3.61.zip下载的安装包,如何安装到U盘指定目录下(/boot/syslinux/)?如果仅作为引导器使用时,需要在syslinux目录上放入哪些文件?
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
用 syslinux 來讓usb隨身碟可以多重開機 -update 3.31
【转贴】http://fcuaa.fcu.edu.tw/~d882552 ... ?t=24&view=next
1. 載入dos 6.22的image時不會fail。
2. 可以使用選單程式附加圖片檔(jpg)
使用 syslinux 的程式 讓USB隨身碟可以像光碟一樣有多重開機的功能
1 . 在windows的dos命令模式下用 "syslinux.exe x: " 來讓USB隨身碟有開機的功能。 ( x: USB隨身碟的磁碟代號)
2 . 將 memdisk , vesamenu.c32 和 syslinux.cfg copy 到USB隨身碟裡。
3.用dos或其它系統的開機片來做影像檔,並copy 到USB隨身碟。 ( 可以用winimage 來做影像檔)
4.修改 syslinux.cfg 設定檔。
5. 用USB隨身碟開機時會用syslinux載入開機影像檔。
A: 為開機影像檔的內容
C: USB隨身碟
======================================================================================
syslinux.cfg 設定檔 範例
default vesamenu.c32
prompt 0
timeout 600
MENU BACKGROUND 1.jpg
MENU TITLE Multi Boot Menu Edit by Barry
label 98DOS
MENU LABEL Win98 DOS Simple
kernel memdisk
append initrd=98dos.IMA
label DOS622
MENU LABEL MS-DOS 6.22
kernel memdisk
append initrd=DOS622.IMA
LABEL linux
KERNEL linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal tz=Asia/Taipei initrd=minirt24.gz nomce noapic quiet BOOT_IMAGE=knoppix
=======================================================================================
vesamenu.c32 選單程式
timeout 600 倒數六十秒
MENU BACKGROUND 1.jpg 將 1.jpg設成背景圖片 (JPG 檔一定要是640 x 480 )
label 98DOS 選單標記
MENU LABEL Win98 DOS Simple 選單文字
kernel memdisk 載入的核心(用 memdisk 來模擬 a: 磁碟機)
append initrd=98dos.IMA 載入a: image檔
2 . 將 memdisk , vesamenu.c32 和 syslinux.cfg copy 到USB隨身碟裡。
syslinux -d menua\menuxb x:
Originally posted by 1key at 2008-3-1 23:38:
引导安装目录可以这样设:
syslinux -d menua\menuxb x:
This will alter the boot sector on the disk and copy a file named
LDLINUX.SYS into its root directory (or a subdirectory, if the -d
option is specified.)
All the configurable defaults in SYSLINUX can be changed by putting a file called "syslinux.cfg" in the root directory of the boot disk.
Starting with version 3.35, the configuration file can also be in either the /boot/syslinux or /syslinux directories (searched in that order.)