2012/11/8 RetroAndMore <
retro....@gmail.com>:
> Wow, you're a tough guy if you have an option. But me too ;)
>
> I added ROOT=/dev/sdb1 to the GRUB2 kernel entry. The effect was, that it
> began booting from USB, but then it found no Android directory at all and
> hanged at Detecting Android.... Anyway, it would be useless to assign a
> fixed device entry to an USB device, if a second harddisk or a second USB
> stick is plugged into the system, this installation wouldn't work anymore.
OK. Now you made some progress.
You specified ROOT correctly to cmdline and
it had effect -- that's why it stuck at Detecting stage.
Auto searching is disabled (by ROOT variable), but
/dev/sdb1 is not the correct partition of your USB installation.
So what you need to do now is just find the correct partition
(maybe you have more than one USB plugged? try /dev/sdc1, ...)
and set it to ROOT.
As said before, another way you can try is
rename the installed dir in USB
(say, /android-4.0-RC2 -> /android-4.0-RC2-usb)
and change SRC to /android-4.0-RC2-usb.
This can also avoid the conflict between HD and USB.
> And to complete it, I booted a fresh installation from USB, and it accessed
> it from /dev/sda7. The Android Terminal Emulation showed this output:
>
> quiet /root=/dev/ram0 androidboot.hardware=thinkpad quiet video=1024x768
> i915downclock=1 i915.powersave=1 usbcore.autosuspend=2 SRC=/android-4.0-RC2
>
> The options are different because they are used from the original GRUB
> Legacy bootbloader used from the original installation, not my modified
> version of GRUB2.
The test doesn't make sense since
you didn't specify ROOT or change SRC.
> You can look at it by yourself, I made some photos and some videos of the
> screen.
http://www.mediafire.com/?30637btk17sn9gs
> The archive is 16 MB in size and contains two avis and to jpgs. The video
> quality is not the best, the camera is rather old and wasn't designed for
> videos.
>
> I also tried something different: I replaced BOOT=/dev/sdb1 with
> $BOOT=/dev/sdb1, because it is a variable and not a boot option in upper
> chars. The variable will be parsed to the system, with the result that it
> didn't hang at Detecting Android.... But it continued booting at /dev/sda7.
This doesn't make sense, either.
BOOT is not a variable that the boot script will use.