Hi Bob (& Moblin'ers),
With the latest version available of MIC I went into the following file:
/usr/share/pdk/platforms/menlow-lpia-moblin2/initramfs/usb
In this file I've changed two things to get it to work in the Qemu/KVM VM and
on my Crownbeach development platform. I've left much of the text from the file
so it's easy to see where I put my changes. The first (which was submitted by
another helpful Moblin user) is to eliminate that crazy looping that checks for
the device (i.e., commenting out the if statements and putting in dummy if 1 eq
1 statements). The next was to add the "mdev -s" call in two locations (see
below). With these changes I can run my image in the VM and write this image to
a USB stick and boot my Crownbeach development platform.
If someone could test this out to make sure it works for them I could add this
workaround to an existing bugzilla bug if there is one. :-)
# Find the USB flash drive
while true
do
for device in 'sda' 'sdb' 'sdc' 'sdd'; do
echo "checking device /dev/${device} for installation source..."
# if [ -e /sys/block/${device}/removable ]; then
# if [ "$(cat /sys/block/${device}/removable)" = "1" ]; then
# Add if calls here to eliminate dev. check looping
if [ 1 -eq 1 ];then
if [ 1 -eq 1 ];then
echo "Found Removable drive at /dev/${device}"
# Add mdev -s call here
mdev -s
mount /dev/${device} /mnt
if [ -f /mnt/rootfs.img ] ; then
echo "Found Boot drive at /dev/${device}"
found="yes"
fi
umount /dev/${device}
if [ "$found" = "yes" ]; then
break;
fi
echo "/dev/${device} does not contain a rootfs"
fi
fi
done
if [ "$found" = "yes" ]; then
break;
fi
echo "Sleeping for 5 seconds"
/bin/sleep 5
echo "Sleeping finished"
done
# Add mdev -s call here
mdev -s
echo "will mount root from /dev/${device}"
Brian Wood
Intel Corporation
UMG Platform Software Group (UPSG)
[EMAIL PROTECTED]
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Spencer, Bob
>Sent: Monday, October 27, 2008 5:22 PM
>To: Moblin Mailing List; Karur Mohan, Prajwal
>Subject: [Moblin Dev] Errors running netbook moblin2 image on EeePC
>
>
>I created an install image and put it on the EeePC (with a rolled-back image
>creator from Oct8).
>The PC starts to boot and then hangs midway.
>
>...
>Enabling /etc/fstab swaps: [OK]
>RTNETLINK answers: File exists
>/etc/rc.d/rc.sysinit: line 631: hald: command not found
>INIT: Entering runlevel: 5
>Entering non-interactive startup
>Starting system logger: Starting system logger: [OK]
>/etc/rc.d/rc.sysinit: line 633: connmand: command not found
>
> <system stalls for 5-10mins then continues until...>
>
>Id "x" respawning too fast: disabled for 5 minutes.
>
> <at this point it stalls again and I gave up>
>
>Bob
>
>_______________________________________________
>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