|
我的笔记本是神舟精盾k480N-i5 D2,想做一个用u盘启动、运行的veket,试了网上的很多种办法都不行,刚刚看到一种办法把veket 安装到ubuntu,想起我还有一个优麒麟的iso可以u盘启动,ubuntukylin-16.04.1-enhanced-amd64.iso,于是就把这个iso写到u盘上,不过文件结构跟ubuntu里不太一样,
没有看到贴子里所说的文件,不过在\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选项,不过选中后回车,屏幕闪一下又马上回到了菜单,我是那里弄错了呢? |
|