Hi all,
I have successfully compiled from source an eeepc ISO image.
First, I tried to boot via Unetbootin. So I imported the ISO in that tool, and it modified my /boot/grub/grub.cfg. After rebooting, when I choose the Unetbootin entry, it works perfect. However, when I choose one of the other options (Live CD options, and Install to hard disk option), I get a
These are the entries added by Unetbootin:
menuentry "Unetbootin" {
set root=(hd0,1)
linux /boot/ubnkern root/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode quiet SRC= DATA=
initrd /boot/ubninit
}
menuentry "Live CD - Run Android-x86 without installation" {
set root=(hd0,0)
linux /kernel root=/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode quiet SRC= DATA=
initrd /initrd.img
}
(other two entries are similar)
When I choose the second (or other Live options), I get an error that the kernel is not found. Changing set root=(hd0,1) in the LiveCD entries did not work.
Unfortunately, I have no success. I tried two approaches: setting correctly the paths, or loading from ISO. Here are my modified 40_custom file entries.
menuentry "Android-x86 DEBUG" {
set root=(hd0,1)
linux /home/pieter/android-x86/out/target/product/eeepc/kernel root=/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode quiet DEBUG=1 SRC= DATA=
initrd /home/pieter/android-x86/out/target/product/eeepc/initrd.img
}
menuentry "Android-x86 DEBUG from ISO" {
set isofile="/home/pieter/android-x86/out/target/product/eeepc/eeepc.iso"
loopback loop (hd0,1)$isofile
linux (loop)/kernel root=/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode DEBUG=1 SRC= DATA=
initrd (loop)/initrd.img
}
Now, when I try to boot the first of these two options (Android-x86 DEBUG), I get the following error:
No filesystem could mount root, tried: ext3, ext4, ext2, squashfs [...]
Kernel panic - not syncing: VFS: unable to mount root fs on unknown block (1,0)
When I try to boot the second of these options (Android-x86 DEBUG from IS?O), I get:
VFS: could not find a valid VD7 on sda (and some other things)
It seems to repeat this for EXT2-FS, EXT3-FS, EXT4-FS
This is the output of "sudo fdisk -l"
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000aca5a
Device Boot Start End Blocks Id System
/dev/sda1 * 1 12158 97656250 83 Linux
/dev/sda2 18663 19458 6384641 5 Extended
/dev/sda5 18663 19458 63844640 82 Linux swap/Solaris
Could someone help me out, how I can install it on my harddisk? Googling did not bring me much wisdom, on this group I only found this thread
For the record, I do not know if it matters, but in the Ubuntu entries in grub.cfg (which boot perfectly), I see they do an "insmod ext2".
Q1: why does it not work via Unetbootin? Should I change something?
Q2: did somebody else install directly the ISO within GRUB? Or is there some other/better way to install Android-x86 on my hard disk?
Q3: sometimes people add some directives to the SRC= or DST=. What is this? Should I configure these?
Sorry for the lengthy post, but I wanted to give as many details as possible.