Android、Ubuntu、win三系统引导求教
androidx86吧
全部回复
仅看楼主
level 8
先装win XP,然后装Android,用Android安装过程中的自带grub引导,然后安装Ubuntu。使用安装过程中自带grub2引导。然而重启后只可以进入安卓的grub引导页面。我一定要在安装Android时跳过grub安装,然后用Ubuntu的grub2引导安卓吗?三个系统分别在三个分区且Android和Ubuntu的引导直接在该分区。以及grub.cfg可以用ext2fsd挂载了以后在win下改吗?
2018年02月05日 00点02分 1
level 11
最好用乌班图的,否则它一更新就会破坏别的。在乌班图用命令添加安卓86的,就可以了,安卓86的参考你的安装包里的cfg菜单就可以,记得改上路径就行。
2018年02月05日 01点02分 2
https://tieba.baidu.com/p/4201561230?share=9105&fr=share&see_lz=0 照这个贴改?以及可以在win里面改吗?
2018年02月05日 02点02分
以及这个贴是直接在Ubuntu里装。我单独开分区的话那句root hd(x,y)加在哪里?
2018年02月05日 02点02分
level 11
search -f 路径/kernel。不要那句
2018年02月05日 03点02分 3
呃,没看懂可以帮我写个例子吗?假设安卓在sda3
2018年02月05日 05点02分
level 11
menuentry "启动Bliss 64 8.1.0" --class Bliss{
search --file /路径/kernel --set=root
linux /路径/kernel root=/dev/ram0 androidboot.hardware=android_x86_64 androidboot.selinux=permissive DATA= HWACCEL= INSTALL= DEBUG= DPI=
initrd /路径/initrd.img
}
androidboot.hardware=android_x86_64新包不需要这句android_x86_64这部分需要跟包对应androidboot.selinux=permissive 7.0 8.0和技德才需要,别的包不需要
2018年02月05日 09点02分 4
差不多明白了,那个路径就是dev/sda3/android-7.0/这种的?因为我装在其他分区的。
2018年02月05日 12点02分
level 8
menuentry 'Ubuntu, with Linux 4.10.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-recovery-e3dd59e1-a4f6-4dbd-909b-c978ced25284' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod
lz
opio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 e3dd59e1-a4f6-4dbd-909b-c978ced25284
else
search --no-floppy --fs-uuid --set=root e3dd59e1-a4f6-4dbd-909b-c978ced25284
fi
echo'载入 Linux 4.10.0-28-generic ...'
linux/boot/vmlinuz-4.10.0-28-generic root=UUID=e3dd59e1-a4f6-4dbd-909b-c978ced25284 ro recovery nomodeset
echo'载入初始化内存盘...'
initrd/boot/initrd.img-4.10.0-2
这是我用ext2fsd抠出来的,和你那个格式比多出来的部分省略就行?然后,也不知道win下修改是否可行。
@窄口牛
2018年02月05日 12点02分 5
level 11
/android-7.0/kernel
2018年02月05日 12点02分 6
呃,不用管分区吗?比方说我现在安卓在sda2里,然后我整个Ubuntu包括boot都在sda3。
2018年02月05日 14点02分
level 11
看不懂你后面的意思
2018年02月05日 12点02分 7
说实话,我也看不懂,那就不管了。
2018年02月05日 14点02分
level 11
嗯。那个看的懂,看不懂你的意思,什么抠出来,省略啥的。
2018年02月05日 14点02分 8
我在win下用ext2fsd挂载Ubuntu的分区。然后从grub.cfg里复制出来了这么一段。然后,从格式来说不是和你的不一样吗?我就想着那个是不是缺省值?然后,恩 的意思是真不用管分区?search了会自己找?
2018年02月05日 14点02分
level 11
2018年02月05日 15点02分 9
level 11
无忧论坛,grub2区
2018年02月05日 15点02分 10
了解,谢谢。
2018年02月05日 15点02分
1