我有一个小问题。我有七个分区:
Device    Boot   Begin       End         Blocks     Id   System
/dev/sda1   *      206848   219013119   109403136    7  HPFS/NTFS/exFAT     <-- wINDOWS 7
/dev/sda2       219013120   735516671   258251776    7  HPFS/NTFS/exFAT     <--Musik,....
/dev/sda3       735516672   815638527    40060928    7  HPFS/NTFS/exFAT     <-- Android
/dev/sda4       815640574   976771071    80565249    5  Erweiterte          <-- No Idea:D
Partition 4 does not start at a physical sector boundary.
/dev/sda5       815640576   872494091    28426758   83  Linux               <--Kali Linux
/dev/sda6       970151936   976771071     3309568   82  Linux Swap / Solaris
/dev/sda7       872495104   970149887    48827392   83  Linux               <-- Ubuntu
我找到了一个教程,但是我尝试了一下,但是没有用。这里是链接:
http://www.webupd8.org/2012/03/how-to-dual-boot-android-x86-and-ubuntu.html
我从android-x86.org和版本android-x86-4.4-r1.iso使用了这个Android。
这是我的40_Costum文件:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Android-x86" {
set root='(hd0,3)'
linux /android-x86-4.4-r1/kernel quiet root=/dev/ram0 androidboot_hardware=eeepc acpi_sleep=s3_bios,s3_mode SRC=/android-x86-4.4-r1
initrd /android-x86-4.4-r1/initrd.img}
如果启动我的PC,GRUB引导管理器将出现,并且我可以选择Android,但是它不能引导Android。背景为紫色,没有任何反应。
什么是完整且有效的40_Customm脚本?
如果我在Grub Customizer中创建脚本并将其保存,将无法正常工作。如果再次打开Grub自定义程序,该脚本不会显示在启动菜单上。
这是我的代码:
set root='(hd0,3)' 
`search --no-floppy --fs-uuid --set=root 28D9FDF951298246  
linux android-x86/kernel root=UUID=28D9FDF951298246  quiet 
androidboot.hardware=generic_x86 SRC=/android-x86 acpi_sleep=s3_bios,s3_mode 
initrd Android-x86/android-4.4-r1/initrd.img
现在我还有一个问题:
如果我启动我的笔记本电脑,它会显示Ubuntu,Windows,Kali Linux和Android(这不起作用),但是如果我启动GRub Costumizer,则未列出Windows?但为什么?
/androidx86/kernel。否则,我收到有关找不到文件的错误。