veket官方网站论坛

veket

 找回密码
 要注册
搜索
查看: 1767|回复: 2

请问怎样把veket安装到优麒麟的iso里?

[复制链接]
发表于 2016-10-17 14:18 | 显示全部楼层 |阅读模式
我的笔记本是神舟精盾k480N-i5 D2,想做一个用u盘启动、运行的veket,试了网上的很多种办法都不行,刚刚看到一种办法把veket 安装到ubuntu,想起我还有一个优麒麟的iso可以u盘启动,ubuntukylin-16.04.1-enhanced-amd64.iso,于是就把这个iso写到u盘上,不过文件结构跟ubuntu里不太一样,
捕捉-1.jpg
没有看到贴子里所说的文件,不过在\boot\grub\中有一个grub.cfg,里面有启动菜单的选项:


if loadfont /boot/grub/font.pf2 ; then
        set gfxmode=auto
        insmod efi_gop
        insmod efi_uga
        insmod gfxterm
        terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Try Ubuntu Kylin without installing" {
        set gfxpayload=keep
        linux        /casper/vmlinuz.efi locale=zh_CN keyboard-configuration/layoutcode?=cn file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
        initrd        /casper/initrd.lz
}
menuentry "Install Ubuntu Kylin" {
        set gfxpayload=keep
        linux        /casper/vmlinuz.efi locale=zh_CN keyboard-configuration/layoutcode?=cn file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
        initrd        /casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
        set gfxpayload=keep
        linux        /casper/vmlinuz.efi locale=zh_CN keyboard-configuration/layoutcode?=cn file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
        initrd        /casper/initrd.lz
}
menuentry "Check disc for defects" {
        set gfxpayload=keep
        linux        /casper/vmlinuz.efi locale=zh_CN keyboard-configuration/layoutcode?=cn boot=casper integrity-check quiet splash ---
        initrd        /casper/initrd.lz
}

于是我在后面加了这一段:
menuentry "start Veket" {
set root=/veket/vmlinuz
root=/dev/ram0 PMEDIA=hd
initrd veket/initrd.gz
}
并把veket目录复制到u盘根目录上,保存,重启。。。。。。。
启动菜单上确实多了一个start veket选项,不过选中后回车,屏幕闪一下又马上回到了菜单,我是那里弄错了呢?
 楼主| 发表于 2016-10-17 14:26 | 显示全部楼层
刚刚把加进去的一段改成了这样:
"start Veket" {
set gfxpayload=keep
linux /veket/vmlinuz
root /dev/ram0 PMEDIA=hd
initrd veket/initrd.gz
}

不过结果还是一样
 楼主| 发表于 2016-10-17 14:47 | 显示全部楼层
"start Veket" {
set gfxpayload=keep
linux /veket/vmlinuz
initrd veket/initrd.gz
}

删掉中间那句,还是一样
您需要登录后才可以回帖 登录 | 要注册

本版积分规则

QQ|手机版|Archiver|veket官方网站论坛 ( 粤ICP备 11052856 )

GMT+8, 2024-4-29 14:17

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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