RetroAndMore
2012-11-05 17:51:32 UTC
I added the infos from another thread, only with the important things and a
new title, that it could be better found.
This will be a guide to install Android to HD, and how to integrate it into
another Linux GRUB2 bootloader. So an operating system using GRUB2 is
neccessary. If you want to install Android to a hard drive, you'll need a
EXT3 formatted partition, no matter if it's primary or logical. DON'T
INSTALL GRUB from the Android installer, otherwise you can't boot only
Android. Booting Android from hard drive from is much faster, but it has
one disadvantage: It doesn't allow booting from another installation from
an USB stick, because it always searches for the first Android folder, and
this is always the one on the harddisk. But it is possible to install more
than one Android installation on one partition, you just have to use other
names for the Android root directory.
Actually after a fresh installation without Android GRUB can't boot Android
at all, you'll need an operating system which uses GRUB2. These are the
most operating systems, I'm using AROS, but all Ubuntu versions have it and
other Linux distros, too. These are the entries for *grub.cfg* to make
Android bootable:
submenu *"Android x86 4.0 RC2"* {
menuentry *"Android x86 4.0 RC2"* --class android --class linux --class os {
set root="*(hd0,7*)"
linux */android-4.0-RC2/*kernel root=/dev/ram0 androidboot.hardware=*
thinkpad* quiet **video=*1400x1050* dpi=*145* i915downclock=1
i915.powersave=1 usbcore.autosuspend=2 SRC=*/android-4.0-RC2/
*initrd */android-4.0-RC2/*initrd.img
}
menuentry *"Android x86 4.0 RC2 text output"* --class android --class linux
--class os {
set root="*(hd0,7*)"
linux */android-4.0-RC2/*kernel root=/dev/ram0 androidboot.hardware=*
thinkpad*** video=*1400x1050* dpi=*145* i915downclock=1 i915.powersave=1
usbcore.autosuspend=2 SRC=*/android-4.0-RC2/*****
initrd */android-4.0-RC2/***initrd.img
}
menuentry *"Android x86 4.0 RC2 debug mode"* --class android --class linux
--class os {
set root="*(hd0,7*)"
linux */android-4.0-RC2/*kernel root=/dev/ram0 androidboot.hardware=*
thinkpad* **video=*1400x1050* dpi=*145* i915downclock=1 i915.powersave=1
usbcore.autosuspend=2 SRC=*/android-4.0-RC2/*** DEBUG=1
initrd */android-4.0-RC2/*initrd.img
}
}
This entry creates a submenu with the three entries to boot Android normal,
with text output, or in debug mode. You have to change these settings if
you are not using a Thinkpad:
*"Android x86 4.0 RC2"* - This is the name of the submenu displayed in GRUB.
*"Android x86 4.0 RC2"* - This is the name of the boot entries.
*(hd0,7*)-This is your drive/partition in which Android is installed. hd0,1
- hd0,3 are primary partitions, the first logical partition begins with
hd0,5
*/android-4.0-RC2/ *- This is the path where Android is installed.*
*androidboot.hardware=*thinkpad* - This is your hardware model. You have to
replace 'thinkpad' with your model, you could get the name from the file
/isolinux/isolinux.cfg from your Android installation CD.
video=*1400x1050* - I'm not sure if this option has effect, change the
value to your displays native resolution.
dpi=*145* - I'm also not sure if that option has effect, check if you find
something about your displays density value. You also can skip this option.
The standard 1024x768 displays of the Thinkpads have 106 dpi.
To modify your grub bootlist in Ubuntu, open a Terminal or press Alt-F2.
Then enter *gksu nautilus* and your password, to get full read/write
access. A new desktop window will pop up, and navigate to the */boot/grub/**
grub.cfg*. Best make a copy of *grub.cfg* first, then open it and add the
entries above. Fix the shown vales to your system, save the file. After a
reboot one Android entry should appear. If you open it, a submenu with
three entries will open, these are the boot entries. Press Escape to return
to the main menu. If your bootloader is messed up or won't work at all,
boot from the Live DVD, make the system read/writeable and check *<ubuntu
partition>/boot/grub/grub.cfg*, or restore it from the backup.
Info: with *gksu nautilus* you also have full read/write access to your
Android partition! That makes changes very easy.
Well, I hope it works on your system as good as on mine. Good luck!
new title, that it could be better found.
This will be a guide to install Android to HD, and how to integrate it into
another Linux GRUB2 bootloader. So an operating system using GRUB2 is
neccessary. If you want to install Android to a hard drive, you'll need a
EXT3 formatted partition, no matter if it's primary or logical. DON'T
INSTALL GRUB from the Android installer, otherwise you can't boot only
Android. Booting Android from hard drive from is much faster, but it has
one disadvantage: It doesn't allow booting from another installation from
an USB stick, because it always searches for the first Android folder, and
this is always the one on the harddisk. But it is possible to install more
than one Android installation on one partition, you just have to use other
names for the Android root directory.
Actually after a fresh installation without Android GRUB can't boot Android
at all, you'll need an operating system which uses GRUB2. These are the
most operating systems, I'm using AROS, but all Ubuntu versions have it and
other Linux distros, too. These are the entries for *grub.cfg* to make
Android bootable:
submenu *"Android x86 4.0 RC2"* {
menuentry *"Android x86 4.0 RC2"* --class android --class linux --class os {
set root="*(hd0,7*)"
linux */android-4.0-RC2/*kernel root=/dev/ram0 androidboot.hardware=*
thinkpad* quiet **video=*1400x1050* dpi=*145* i915downclock=1
i915.powersave=1 usbcore.autosuspend=2 SRC=*/android-4.0-RC2/
*initrd */android-4.0-RC2/*initrd.img
}
menuentry *"Android x86 4.0 RC2 text output"* --class android --class linux
--class os {
set root="*(hd0,7*)"
linux */android-4.0-RC2/*kernel root=/dev/ram0 androidboot.hardware=*
thinkpad*** video=*1400x1050* dpi=*145* i915downclock=1 i915.powersave=1
usbcore.autosuspend=2 SRC=*/android-4.0-RC2/*****
initrd */android-4.0-RC2/***initrd.img
}
menuentry *"Android x86 4.0 RC2 debug mode"* --class android --class linux
--class os {
set root="*(hd0,7*)"
linux */android-4.0-RC2/*kernel root=/dev/ram0 androidboot.hardware=*
thinkpad* **video=*1400x1050* dpi=*145* i915downclock=1 i915.powersave=1
usbcore.autosuspend=2 SRC=*/android-4.0-RC2/*** DEBUG=1
initrd */android-4.0-RC2/*initrd.img
}
}
This entry creates a submenu with the three entries to boot Android normal,
with text output, or in debug mode. You have to change these settings if
you are not using a Thinkpad:
*"Android x86 4.0 RC2"* - This is the name of the submenu displayed in GRUB.
*"Android x86 4.0 RC2"* - This is the name of the boot entries.
*(hd0,7*)-This is your drive/partition in which Android is installed. hd0,1
- hd0,3 are primary partitions, the first logical partition begins with
hd0,5
*/android-4.0-RC2/ *- This is the path where Android is installed.*
*androidboot.hardware=*thinkpad* - This is your hardware model. You have to
replace 'thinkpad' with your model, you could get the name from the file
/isolinux/isolinux.cfg from your Android installation CD.
video=*1400x1050* - I'm not sure if this option has effect, change the
value to your displays native resolution.
dpi=*145* - I'm also not sure if that option has effect, check if you find
something about your displays density value. You also can skip this option.
The standard 1024x768 displays of the Thinkpads have 106 dpi.
To modify your grub bootlist in Ubuntu, open a Terminal or press Alt-F2.
Then enter *gksu nautilus* and your password, to get full read/write
access. A new desktop window will pop up, and navigate to the */boot/grub/**
grub.cfg*. Best make a copy of *grub.cfg* first, then open it and add the
entries above. Fix the shown vales to your system, save the file. After a
reboot one Android entry should appear. If you open it, a submenu with
three entries will open, these are the boot entries. Press Escape to return
to the main menu. If your bootloader is messed up or won't work at all,
boot from the Live DVD, make the system read/writeable and check *<ubuntu
partition>/boot/grub/grub.cfg*, or restore it from the backup.
Info: with *gksu nautilus* you also have full read/write access to your
Android partition! That makes changes very easy.
Well, I hope it works on your system as good as on mine. Good luck!
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/4KYiJJpk0PYJ.
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/4KYiJJpk0PYJ.
To post to this group, send email to android-x86-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to android-x86+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.