Does this mean the usb initramfs script requires some fix? Suggest we track this if it is a real issue.
Regards, Nithish Mahalingam -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mathias Krueger Sent: Tuesday, October 21, 2008 7:07 PM To: Wagner, Marcel Cc: Moblin Mailing List Subject: Re: [Moblin Dev] Problems with creating of a mccaslin-lpia-ume basedimage Hi Marcel, > You find the mountroot script in the directory (it is important that you do > this for your specific platform) > /usr/share/pdk/platform/<your platform>/initramfs/usb > > In this script, you have the lines > if [ -e /sys/block/${device}/removable ]; then > if [ "$(cat /sys/block/${device}/removable)" = "1" ]; then > > Remove the "removable" condition, e.g., replace by > If [1 -eq 1]; then > If [1 -eq 1]; then thanks for that solution. With a little modification it works :) Posting them here for the archives. If [ 1 -eq 1 ]; then If [ 1 -eq 1 ]; then Shell script needed the whitespaces after the '[' . Thanks, Mathias > Hi Greg and Mathias, > > I had recently the same problem. Here is a workaround which worked at least for me with the menlow-lpia-ubuntu-hardy platform. Since I am new to the list, my apologies if this has been already discussed/solved elsewhere. > > The problem seemed to be in my case that the mountroot script is assuming that you boot from a removable device. This is true if you boot from a real USB-stick. However, when you use the live-image with a VM then the image is treated as regular harddisk and, thus, is not removable. This leads to the problem that the rootfs.img will never be found. > > You find the mountroot script in the directory (it is important that you do this for your specific platform) > /usr/share/pdk/platform/<your platform>/initramfs/usb > > In this script, you have the lines > if [ -e /sys/block/${device}/removable ]; then > if [ "$(cat /sys/block/${device}/removable)" = "1" ]; then > > Remove the "removable" condition, e.g., replace by > If [1 -eq 1]; then > If [1 -eq 1]; then > > After that, create a new liverw-image with your platform/target and try to boot it with the VM. > > Regards, > Marcel > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Pangrazio > Sent: Donnerstag, 16. Oktober 2008 17:50 > To: Mathias Krueger > Cc: Moblin Mailing List > Subject: Re: [Moblin Dev] Problems with creating of a mccaslin-lpia-ume based image > > I have the same problem when ever i try to use the VM and I am useing a > menlow-lpia-ume. There is another thread in this list talking about this > issue. > > > Greg Pangrazio > > > > On Thu, Oct 16, 2008 at 10:37 AM, Mathias Krueger < > [EMAIL PROTECTED]> wrote: > > >> Hi, >> >> I tried to build a moblin image based on a mccaslin-lpia-ume platform with >> the Moblin Image Creator. For the targets I added the fsets "core", >> "samsung-q1-ultra-config", "gnome-mobile" and "ubuntu-mobile". >> After creating a Live-USB-Image I tried to test it in a virtual machine. >> But it doesn't boot. >> >> In the virtual machine the following message repeats itself over and over: >> >> checking device /dev/sda for installation source... >> checking device /dev/sdb for installation source... >> checking device /dev/sdc for installation source... >> checking device /dev/sdd for installation source... >> Sleeping for 5 seconds >> Sleeping finished >> ... >> >> >> If I try to make an image for a menlow platform the virtual machine works. >> >> >> I have a Ubuntu 8.04-32bit based PC with a Intel Core 2 duo and the >> MIC-version 0.45. >> >> >> did anybody have the same problem? >> >> thanks a lot, >> mathias >> >> _______________________________________________ >> Moblin dev Mailing List >> [email protected] >> >> To manage or unsubscribe from this mailing list visit: >> https://lists.moblin.org/mailman/listinfo/dev or your user account on >> http://moblin.org once logged in. >> >> For more information on the Moblin Developer Mailing lists visit: >> http://moblin.org/community/mailing-lists >> >> > _______________________________________________ > Moblin dev Mailing List > [email protected] > > To manage or unsubscribe from this mailing list visit: > https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. > > For more information on the Moblin Developer Mailing lists visit: > http://moblin.org/community/mailing-lists > --------------------------------------------------------------------- > Intel GmbH > Dornacher Strasse 1 > 85622 Feldkirchen/Muenchen Germany > Sitz der Gesellschaft: Feldkirchen bei Muenchen > Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer > Registergericht: Muenchen HRB 47456 Ust.-IdNr. > VAT Registration No.: DE129385895 > Citibank Frankfurt (BLZ 502 109 00) 600119052 > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. > > _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
