|
爱科技、爱创意、爱折腾、爱极致,我们都是技术控
您需要 登录 才可以下载或查看,没有账号?立即注册
x
开机菜单:
空闲空间
方法简介:
1. 磁盘分区:
-------------------------------
引导分区 fat16 32M 左右即可
系统1 ext4 128M 以上
系统2 ext4 128M 以上
2. 写系统:
openwrt官网下载 [backcolor=rgba(255, 255, 255, 0.6)]generic-ext4-rootfs.img.gz ,解压缩
DiskGenius “磁盘”->"打开虚拟磁盘“ 打开img文件
用克隆分区功能写入 硬盘的两个系统分区
3. 引导
引导分区建目录 boot\grub
openwrt官网下载 generic-kernel.bin ,放入引导分区的 boot 目录
下载grub4dos , 把 grub 放入 引导分区根目录
用bootice 工具把硬盘主引导记录改为 grub4dos
新建一个menu.lst 放到 boot\grub 目录下
menu.lst
- timeout 5
- default 0
- title Openwrt On sda3
- kernel (hd0,0)/boot/openwrt-22.03.0-x86-64-generic-kernel.bin root=/dev/sda2 rootwait console=tty0 console=ttyS0,115200n8 noinitrd
- title Openwrt On sda3 (failsafe)
- kernel (hd0,0)/boot/openwrt-21.02.3-x86-64-generic-kernel.bin failsafe=true root=/dev/sda2 rootwait console=tty0 console=ttyS0,115200n8 noinitrd
- title Openwrt On sda2
- kernel (hd0,0)/boot/openwrt-22.03.0-x86-64-generic-kernel.bin root=/dev/sda3 rootwait console=tty0 console=ttyS0,115200n8 noinitrd
- title Openwrt On sda2 (failsafe)
- kernel (hd0,0)/boot/openwrt-21.02.3-x86-64-generic-kernel.bin failsafe=true root=/dev/sda3 rootwait console=tty0 console=ttyS0,115200n8 noinitrd
复制代码
完毕
|
打赏
-
查看全部打赏
|