aquaballoon

Android x86 Multiboot with Ubuntu

Feb 29th, 2012
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.99 KB | None | 0 0
  1. 1.Important: DO NOT INSTALL GRUB, IT WILL NOT DETECT YOUR EXISTING OS
  2.  
  3. 2.After the installation reboot to Ubuntu
  4.  
  5. 3.Editing Grub
  6. *Refer to /grub/menu.list on Android partition
  7. *Change kernel to linux
  8.  
  9. nano /etc/grub.d/40_custom
  10.  
  11.  
  12. #!/bin/sh
  13. exec tail -n +3 $0
  14. # This file provides an easy way to add custom menu entries.  Simply type the
  15. # menu entries you want to add after this comment.  Be careful not to change
  16. # the 'exec tail' line above.
  17.  
  18. menuentry "Android-x86 2.2 (MDPI)" {
  19. set root=(hd0,4)
  20. linux /android-2011-03-28/kernel quiet root=/dev/ram0 androidboot_hardware=aspire1825 acpi_sleep=s3_bios,s3_mode SRC=/android-2011-03-28 DATA= DPI=160
  21. initrd /android-2011-03-28/initrd.img
  22. }
  23.  
  24. menuentry "Android-x86 2.2 (Debug mode)" {
  25. set root=(hd0,4)
  26. linux /android-2011-03-28/kernel root=/dev/ram0 androidboot_hardware=aspire1825 acpi_sleep=s3_bios,s3_mode DEBUG=1  vga=788 SRC=/android-2011-03-28 DATA=
  27. initrd /android-2011-03-28/initrd.img
  28. }
  29.  
  30.  
  31. 4.Update Grub  
  32. sudo update-grub
Advertisement
Add Comment
Please, Sign In to add comment