【2017.12.16】启动U盘制作BIOS+UEFI的syslinux+grub+boomgr+grub2
Tofloor
poster avatar
comzhong
deepin
2016-04-10 09:03
Author
本帖最后由 comzhong 于 2017-12-16 20:18 编辑


2017.12.16======================================
             更新 grub2 菜单结构,加入无忧论坛大神的 grub2 文件管理器(两个版本,一个简易版,一个增强版),感谢 grub2 文件管理器的作者
2017.12.8   —— 安装Legacy引导_编辑菜单_v1.5.5.bat  更新,错误修复

2017.12.6   —— install_Legacy_bash_shell_v1.1.2.sh 错误修复,目前仅支持 FAT32 ,安装Legacy引导_编辑菜单_v1.5.2.bat 更新
2017.12.5   —— 增加 Linux 下制作启动U盘脚本,目前支持添加 grub2 引导和 grub4dos 引导。
2016.11.23 —— 更新文件及目录结构,新版启动文件,组织结构更加合理
2016.6.5     —— grub4dos更新为 0.4.6a,背景采用jpg格式,更正一些问题,并加入syslinux UEFI支持

=================================================
这就是我们要的效果,更多内容去我在无忧论坛的帖子
(超简单)手动制作BIOS+UEFI的syslinux+grub+boomgr+grub2互转U盘
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=370578#=1##pid3122816
UEFI 各种引导均包含x86和x64

        文件系统为:FAT32,制作过程无需格式化,简单实用才是我的目的,其他美化、隐藏分区等等都可以在此基础上进行,美化需要自己对要美化的引导比较熟悉,隐藏分区可借助bootice工具或者CF卡驱动(cfadisk.inf),CF卡驱动可以帮助用户把U盘识别为电脑的硬盘
               本人U盘为忆捷(EAGET) U50 32G USB3.0高速 铝镁合金防水防尘防静电U盘,文件系统为:FAT32,制作过程无需格式化
               版本说明
Syslinux            6.04                         2016.3.4
Grub4dos         0.4.6a                       2016.6.3
Bootmgr          windows 10 1607      2016.7.30
Grub2              2.02-beta2                Deepin 2015.3

开始
1.下载:u盘多引导文件(不含pe镜像)下载:
百度云链接:http://pan.baidu.com/s/1miJB3cc 密码:5o5g

我的启动U盘 PE文件夹  (包含pe镜像)下载:
百度云链接:http://pan.baidu.com/s/1nvwIhlv 密码:2kfc
2.解压到U盘根目录,像这样


3.安装引导:

Windows下运行 安装Legacy引导_编辑菜单.bat,选择 1 或 2 或 3 或 4 。


Linux下运行 install_Legacy_bash_shell.sh,选择分区,添加引导记录。







          到这里,你就拥有一个完整的支持多种引导的可引导U盘了

4.放置ISO镜像文件,启动deepin Linux livecd
         将ISO镜像文件放置于U盘中,并将镜像文件中:/live文件夹中的vmlinuz、initrd两个文件解压到同一目录。
                  三个文件位置为:
                   /PE/deepin/deepin.iso
                   /PE/deepin/vmlinuz
                   /PE/deepin/initrd.lz
          PS:当然可以放在自己想放的位置,但是要记得将启动菜单中启动项对应路径进行修改。

5.启动 win PE下载 我的启动U盘 PE文件夹  (包含pe镜像)中,/PE/UEFI 目录下的wim 镜像文件,放到U盘对应文件夹。
到这里,就已经完成了!
启动后桌面的安装图标不可用按“Ctrl+Alt+F2”进入字符界面,输入“startx”启动桌面环境,这个时候任务栏不见了,但是桌面的安装图标却可用了。
Deepin15.1.1在livecd模式(或wubi体验)安装自动退出和卡死
https://bbs.deepin.org/post/39069#

(legacy BIOS+UEFI)U盘各种引导启动 Deepin linux15.1.1 ISO 镜像 LiveCD
https://bbs.deepin.org/post/37964




Reply Favorite View the author
All Replies
1 / 2
To page
haored
deepin
2016-04-10 22:25
#1
学习学习,
Reply View the author
comzhong
deepin
2016-05-01 21:00
#2
从原始文件制作,对于学习各种启动非常有用,修复启动分分钟的事
Reply View the author
Comments
zhuzhusky
2017-08-08 01:11
太古神王http://www.jingwuhen.com/绝世武神
comzhong
deepin
2016-06-05 00:13
#3
20160604更新
grub4dos更新为 0.4.6a
背景采用jpg格式
Reply View the author
ads2015
deepin
2016-06-07 05:09
#4
顶,制作成功 grub的兼容性真的挺好的
请问作者以后还更新吗?
Reply View the author
Comments
comzhong
2016-10-14 18:48
这个已经可以满足很长一段时间的需要了,暂时不打算过更新,除非某引导有重大功能更新
laoguang
deepin
2016-06-07 05:25
#5
有个用grub4dos 的软件,不知怎样搞到grub2.0 上,太感谢了!
Reply View the author
A·S·M·X·T 😏😜
deepin
2016-06-09 07:39
#6
请问Ubuntu的sysLinux参数怎么写?硬盘上我easybcd可以引导安装,但U盘用syslinux引导时卡在了Ubuntu的启动logo上!好烦!
Reply View the author
comzhong
deepin
2016-06-09 20:23
#7
https://bbs.deepin.org/post/38714
请问Ubuntu的sysLinux参数怎么写?硬盘上我easybcd可以引导安装,但U盘用syslinux引导时卡在了Ubuntu的启动 ...

我没用Ubuntu,这是别人的菜单写法,你可以试试

label ubuntu
MENU LABEL ^1----Ubuntu 10.04 光盘启动
kernel /ubuntu/vmlinuz boot=casper iso-scan/filename=/ubuntu/ubuntu.iso locale=zh_CN.UTF-8
append initrd=/ubuntu/initrd.lz
Reply View the author
A·S·M·X·T 😏😜
deepin
2016-06-10 08:11
#8
本帖最后由 liululin 于 2016-6-10 00:21 编辑
https://bbs.deepin.org/post/38714
我没用Ubuntu,这是别人的菜单写法,你可以试试

label ubuntu

我ubuntu16.04的syslinux引导内核就跟了
  1. boot=casper ro quiet splash locale=zh_CN.UTF-8
Copy the Code
这几个参数,win系统下easybcd添加grub硬盘启动项没问题。但在u盘,不管是syslinux、grub2、grub4dos都卡在了Ubuntu的启动logo上,气得人吐血


Reply View the author
comzhong
deepin
2016-06-10 09:18
#9
本帖最后由 comzhong 于 2016-6-10 01:23 编辑
https://bbs.deepin.org/post/38714
我ubuntu16.04的syslinux引导内核就跟了这几个参数,win系统下easybcd添加grub硬盘启动项没问题。但在u盘 ...


其实你可以打开镜像里面的菜单文件看看是怎么写的,比如Deepin2016.5.2的ISO镜像中

/boot/grub/grub.cfg 文件grub2菜单配置文件写法
menuentry "Install Deepin" {
        set gfxpayload=keep
        linux        /live/vmlinuz.efi boot=live union=overlay livecd-installer locale=zh_CN quiet splash --
        initrd        /live/initrd.lz
}

/boot/isolinux/live.cfg 文件syslinux菜单配置文件写法
label live
        menu label ^Install Deepin
        menu default
        linux /live/vmlinuz
        initrd /live/initrd.lz
        append boot=live components quiet splash union=overlay livecd-installer locales=zh_CN.UTF-8

同样Ubuntu的你也可以参考镜像文件里菜单写法,当初Deepin2015菜单写法变了,我还研究了一段时间才引导成功的。
还有Grub菜单写法和Syslinux菜单写法很像的,一般稍微改下就可以了
Reply View the author
eagle96
deepin
2016-10-14 05:52
#10
为何1楼那3个软件我这里都不能下载?百度云盘不能下载正常(我们新疆被河蟹了),360为何也不能下?
Reply View the author
Comments
comzhong
2016-10-14 18:49
找个代理或vpn吧
huanhuachengfeng
deepin
2016-10-14 06:21
#11
没用。。。
Reply View the author
comzhong
deepin
2016-10-14 18:51
#12

我的电脑还是10年买的华硕k42de,完全没问题,对于最近两年出的电脑,无法测试
Reply View the author
eagle96
deepin
2016-10-19 06:43
#13
https://bbs.deepin.org/post/38714
为何1楼那3个软件我这里都不能下载?百度云盘不能下载正常(我们新疆被河蟹了),360为何也不能下? ...

我邮箱是load95@qq.com,能单独给我发一封吗?我好几天连着试都打不开360云盘,而百度云盘已经好几年与我们无缘了!
Reply View the author
comzhong
deepin
2016-10-19 21:23
#14
Reply View the author
eagle96
deepin
2016-12-07 07:02
#15
请问为何我这里提示bootice_86.exe文件不存在呢?
Reply View the author
comzhong
deepin
2016-12-07 23:05
#16
https://bbs.deepin.org/post/38714
请问为何我这里提示bootice_86.exe文件不存在呢?

请下载网盘链接中的新版
Reply View the author
eagle96
deepin
2016-12-08 00:34
#17
https://bbs.deepin.org/post/38714
请下载网盘链接中的新版

谢谢,我看你提供的分段压缩包也换了,晚上回去试一试!
Reply View the author
7***9@qq.com
deepin
2016-12-08 07:02
#18
收藏
Reply View the author
cbfjw
deepin
2017-01-06 03:03
#19
这个百度云盘就是个坑呀,就不能换个别的好下载的地址吗?
Reply View the author
yx******cs@yeah.net
deepin
2017-01-06 03:40
#20
学习学习。。
Reply View the author
1 / 2
To page