无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 1105|回复: 3
打印 上一主题 下一主题

[求助] 光盘/随身碟 系统安装、维护工具整合ISO无法加载新版本的linuxmint-mate与ubuntu-d...

  [复制链接]
跳转到指定楼层
1#
发表于 2022-4-12 12:03:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
请问:

①我是使用光盘/随身碟 系统安装、维护工具整合ISO,制作USB

②我下载新版本的linuxmint-mate-64bit.iso和ubuntu-desktop-amd64.iso

③然后修改了:

/boot/grub/mint

set isoname=/iso/linuxmint-18.3-mate-64bit.iso

find --set-root %isoname%

map --heads=0 --sectors-per-track=0 %isoname% (0xff) || map --mem %isoname% (0xff)

map --hook

root (0xff)

kernel /casper/vmlinuz boot=casper iso-scan/filename=%isoname% locale=zh_TW.UTF-8 quiet splash

initrd /casper/initrd.lz



/boot/grub/ubuntu

set isoname=/iso/ubuntu-16.04.4-desktop-amd64.iso

find --set-root %isoname%

map --heads=0 --sectors-per-track=0 %isoname% (0xff) || map --mem %isoname% (0xff)

map --hook

root (0xff)

kernel /casper/vmlinuz.efi boot=casper iso-scan/filename=%isoname% locale=zh_TW.UTF-8 quiet splash

initrd /casper/initrd.lz



④也修改了/efi/boot/xorboot.xor和/efi/xorboot_2nd_uefi/efi/boot/xorboot.xor

但是就是无法正常进入linuxmint-mate-64bit.iso和ubuntu-desktop-amd64.iso

点击进入时,点了又回来原来的画面,只有闪一下画面而己,完全没加载的现像

可否请教一下,这是怎么回事呢?

2#
发表于 2022-5-9 14:07:32 | 只看该作者
本帖最后由 liuzhaoyzz 于 2022-5-9 14:17 编辑

你的菜单不对,可以参考下面的:
linuxmint-mate-64bit.iso
#grub4fdos:
title /iso/linuxmint-18.3-mate-64bit.iso
find --ignore-floppies --ignore-cd --set-root /iso/linuxmint-18.3-mate-64bit.iso
map /iso/linuxmint-18.3-mate-64bit.iso (hd32)
map --hook
kernel (hd32)/casper/vmlinuz boot=casper iso-scan/filename=
/iso/linuxmint-18.3-mate-64bit.iso quiet splash --
initrd (hd32)/casper/vmlinuz


#grub2
menuentry "/iso/linuxmint-18.3-mate-64bit.iso" "/iso/linuxmint-18.3-mate-64bit.iso" {
set gfxpayload=keep
search --no-floppy --set --file $2
loopback loop $2
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/iso/linuxmint-18.3-mate-64bit.iso quiet splash --
initrd (loop)/casper/vmlinuz
}

ubuntu-desktop-amd64.iso
#grub4dos
title /iso/ubuntu-16.04.4-desktop-amd64.iso
find --ignore-floppies --ignore-cd --set-root /iso/ubuntu-16.04.4-desktop-amd64.iso
map /iso/ubuntu-16.04.4-desktop-amd64.iso (hd32)
map --hook
kernel (hd32)/casper/vmlinuz boot=casper iso-scan/filename=/iso/ubuntu-16.04.4-desktop-amd64.iso noprompt noeject
initrd (hd32)/casper/initrd


#grub2
menuentry "/iso/ubuntu-16.04.4-desktop-amd64.iso-loopback.cfg" "/iso/ubuntu-16.04.4-desktop-amd64.iso" {
search --no-floppy --set --file $2
export iso_path=$2
loopback -d loop;loopback loop $2
set root=loop
configfile (loop)/boot/grub/loopback.cfg
}
menuentry "/iso/ubuntu-16.04.4-desktop-amd64.iso" "/iso/ubuntu-16.04.4-desktop-amd64.iso" {
set gfxpayload=keep
search --no-floppy --set --file $2
loopback loop $2
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/iso/ubuntu-16.04.4-desktop-amd64.iso noprompt noeject
initrd (loop)/casper/initrd
}



回复

使用道具 举报

3#
发表于 2022-5-11 10:14:45 | 只看该作者
回复

使用道具 举报

4#
发表于 2022-5-17 22:41:34 | 只看该作者
学习了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-12-11 03:49

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表