https://bbs.deepin.org/post/148122 好像我写的帖子。。。 不是efi引导的话 直接改/boot/grub/grub.cfg就行
Featured Collection
Popular Ranking
Popular Events
翻了以前的帖子,并不懂啥叫二级grub,修改/etc/default/grub通过update-grub
具体做法是
编辑
/boot/grub/grub.cfg
添加
menuentry 'Phoenix OS(x64)' --class android-x86 {
linux /Phoenix/kernel root=/dev/ram0 androidboot.hardware=android_x86_64 androidboot.selinux=permissive quiet DATA=/Phoenix/data CREATE_DATA_IMG=1
SRC=/Phoenix SDCARD=/sd/sdcard.img
initrd /Phoenix/initrd.img
}
menuentry 'Phoenix OS' --class windows --class os{
insmod ntfs
set root=(hd0,1)
linux /grub.exe
}
重启后,
发现还是原样。
所以改grub,到底用啥姿势。改etc的那个,怎么加参数?