天天减肥网,内容丰富有趣,生活中的好帮手!
天天减肥网 > linux制作多系统启动盘制作工具 制作U盘多系统(老毛桃WinPE Ubuntu MaxDOS CDlin

linux制作多系统启动盘制作工具 制作U盘多系统(老毛桃WinPE Ubuntu MaxDOS CDlin

时间:2018-08-24 09:03:08

相关推荐

linux制作多系统启动盘制作工具 制作U盘多系统(老毛桃WinPE Ubuntu MaxDOS CDlin

有 时系统出现故障的时候,需要找一些工具来进行检测和恢复操作。除了老毛桃WinPE、MaxDOS这些工具箱外,还有一些运行在Linux下的非常优秀的 工具:GParted、TestDisk(这个有Windows版本)。而且现在开发用Linux,平常娱乐用Windows,多个操作系统需要刻录多个 系统安装光盘,光盘保存不好或使用的过程中不小心很容易报废。于是有了一个想法:将它们全部装在一个U盘上,随身携带。在网上搜集资料 ,花了大半天时间,终于大功告成。

一、所需软件 | Software list

二、格式化U盘 | Format the USB flash drive

1、写入grub4dos MBR记录。

在U盘驱动器点击右键,选择“

格式化(A)...

”菜单项,弹出格式化对话框,如下图:

文件系统类型选择“FAT32”,卷标可以根据自己的喜好自定义名称,点击“开始”按钮进行格式化。

二、安装grub4dos | Install grub4dos

1、解压BOOTICE_0.9.rar,执行其中的BOOTICE.EXE。如下图:

点击“

主引导记录M”按钮。弹出对话框。如下图:

选择“

GRUB4DOS 0.4.5b MBR (grldr.mbr)”,点击“

安装/配置(S)”按钮。弹出新对话框,如下图:

选取“

禁止搜索软件盘上的GRLDR”和“

禁止引导分区表无效的原主引导记录(通常是一个操作系统的引导扇区)”两项。点击“

写入磁盘(W)”按钮写入MBR记录。

2、复制grub4dos所需文件。

解压 grub4dos-0.4.4.zip,将其中的

grldr

menu.lst

复制到U盘根目录。

三、配置老毛桃WinPE | setup maotao WinPE 解压WinPE.ISO,把

除AUTORUN.inf以外的所有文件和文件夹复制到U盘的根目录下,再把

WXPE目录下的也复制到

U盘的根目录下。打开menu.lst,加入如下配置:

title MAOTAO WinPE

find --set-root /WXPE/SETUPLDR.BIN

chainloader /WXPE/SETUPLDR.BIN (hd0)+1

boot

四、配置MaxDOS-7.1 | setup MaxDOS-7.1 解压MaxDOS_71plus_iso.rar,把

MAXS.SYS和MEMDISK.GZ这两个文件复制到U盘中的WXPE文件夹中。打开menu.lst,加入如下配置:

title MAXDOS-7.1

find --set-root /WXPE/MAXS.SYS

map --mem /WXPE/MAXS.SYS (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)

boot

五、配置Parted Magic Linux | setup Parted Magic Linux 解压pmagic__2_19.iso,把

pmagic文件夹复制到U盘根目录。并且将

pmagic\pmodules\PMAGIC__2_19.SQFS重命名为小写的pmagic__2_19.sqfs。打开menu.lst,加入如下配置:

title PartedMagic-_2_19

kernel /pmagic/bzImage edd=off noapic load_ramdisk=1 prompt_ramdisk=0 rw loglevel=0 vga=791 livemedia noejectmax_loop=256 keymap=us

initrd /pmagic/initrd.img

六、配置Ubuntu-10.10 | setup Ubuntu-10.10 解压Ubuntu-10.10的ISO文件,复制“

.disk”、“

casper”、“

preseed”这三个目录到U盘的根目录下。打开menu.lst,加入如下配置:

title Ubuntu-10.10 64bit (Try Ubuntu without installing)

find --set-root /casper/initrd.lz

kernel /casper/vmlinuz file=/preseed/ubuntu.seed boot=casper quiet splash --

initrd /casper/initrd.lz

boot

title Ubuntu-10.10 64bit (Install Ubuntu)

find --set-root /casper/initrd.lz

kernel /casper/vmlinuz file=/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --

initrd /casper/initrd.lz

boot

七、配置CDlinux-0.9.7 | setup CDlinux-0.9.7 将CDlinux-0.9.7.iso解压,把解压后得到的

CDlinux文件夹及所有文件复制到

U盘的根目录下。打开menu.lst,加入如下配置:

title CDlinux-0.9.7

find --set-root /CDLINUX/INITRD

kernel /CDLINUX/BZIMAGE quiet CDL_LANG=zh_CN.UTF-8 CDL_DIR=/CDLINUX CDL_IMG=CDlinux.iso

initrd /CDLINUX/INITRD

boot

八、配置Windows XP ISO | setup Windows XP ISO 将WindowsXp_SP3.iso复制到

U盘的根目录下。打开menu.lst,加入如下配置:

title WindowsXp_SP3 (ISO)

find --set-root /WindowsXp_SP3.iso

map /WindowsXp_SP3.iso (0xff) || map --mem /WindowsXp_SP3.iso (0xff)

map --hook

chainloader (0xff)

savedefault --wait=2

八、测试U盘多系统工具 | Test the usb flash drive multi system tools

1、进入BIOS,设置启动顺序:USB HDD优先于本地硬盘。

2、启动后的画面如下图所示:

附录1:完整的menu.lst | The complete menu.lst

完事的menu.lst内容如下:

# This is a sample menu.lst file. You should make some changes to it.

# The old install method of booting via the stage-files has been removed.

# Please install GRLDR boot strap code to MBR with the

# utility under DOS/Win9x or Linux.

color blue/green yellow/red white/magenta white/magenta

timeout 30

default /default

title MAOTAO WinPE

find --set-root /WXPE/SETUPLDR.BIN

chainloader /WXPE/SETUPLDR.BIN (hd0)+1

boot

title MAXDOS-7.1

find --set-root /WXPE/MAXS.SYS

map --mem /WXPE/MAXS.SYS (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)

boot

title PartedMagic-_2_19

kernel /pmagic/bzImage edd=off noapic load_ramdisk=1 prompt_ramdisk=0 rw loglevel=0 vga=791 livemedia noejectmax_loop=256 keymap=us

initrd /pmagic/initrd.img

title Ubuntu-10.10 64bit (Try Ubuntu without installing)

find --set-root /casper/initrd.lz

kernel /casper/vmlinuz file=/preseed/ubuntu.seed boot=casper quiet splash --

initrd /casper/initrd.lz

boot

title Ubuntu-10.10 64bit (Install Ubuntu)

find --set-root /casper/initrd.lz

kernel /casper/vmlinuz file=/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --

initrd /casper/initrd.lz

boot

title CDlinux-0.9.7

find --set-root /CDLINUX/INITRD

kernel /CDLINUX/BZIMAGE quiet CDL_LANG=zh_CN.UTF-8 CDL_DIR=/CDLINUX CDL_IMG=CDlinux.iso

initrd /CDLINUX/INITRD

boot

title WindowsXp_SP3 (ISO)

find --set-root /WindowsXp_SP3.iso

map /WindowsXp_SP3.iso (0xff) || map --mem /WindowsXp_SP3.iso (0xff)

map --hook

chainloader (0xff)

savedefault --wait=2

title commandline

commandline

title reboot

reboot

title halt

halt

参考资料 | References

linux制作多系统启动盘制作工具 制作U盘多系统(老毛桃WinPE Ubuntu MaxDOS CDlinux Parted Magic Linux)引导工具...

如果觉得《linux制作多系统启动盘制作工具 制作U盘多系统(老毛桃WinPE Ubuntu MaxDOS CDlin》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。