Could the latest code be built to x86 vmware image?

34 views
Skip to first unread message

Matt Yung

unread,
May 28, 2010, 3:05:22 AM5/28/10
to chromium-...@chromium.org
I tried to do this by using image_to_vmware.sh, but got the following error.

... ...
Postinst running
 Set boot target to /dev/sda3: Partition 3, Slot A
Updating /boot/extlinux.conf target
Updating grub target for EFI BIOS
.: 10: Can't open /usr/lib/shflags

and when I copy shflags from ($chroot)/build/x86-generic/usr/lib to /usr/lib and run the script again
I got this error message:

 Set boot target to /dev/sda3: Partition 3, Slot A
Updating /boot/extlinux.conf target
Updating grub target for EFI BIOS
/tmp/tmp.54HJw8nBKU/usr/sbin/chromeos-setimage: 14: rootdev: not found
/tmp/tmp.54HJw8nBKU/usr/sbin/chromeos-setimage: 16: 1: parameter not set
mount: special device /dev/sda12 does not exist


The source code I used is updated on May. 26, 2010.

Did anybody do this successfully?

--
Matt

Vinit

unread,
May 28, 2010, 3:46:09 AM5/28/10
to matt.yan...@gmail.com, chromium-...@chromium.org
While trying to confirm/test this thing I noticed that the script "image_to_vmware.sh" assumes that "unpack_partitions.sh" and "chromiumos_image.bin" are under "x86_generic" ($FLAGS_from, in image_to_vmware.sh) but actually they are present under "x86_generic/0.7.47.201005272220-a1"
 
I checked $FLAGS_from and it was pointing to /home/superman/chromiumos/chromiumos.git/src/build/images/x86-generic
  

--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en



--
Vinit

Matt Yung

unread,
May 28, 2010, 4:15:12 AM5/28/10
to Vinit, chromium-...@chromium.org
You can use "--from" parameter to point the folder of your x86 binary like:
 (cros-chroot)   $ ./image_to_vmware.sh --from=($your_x86_bin_folder)

but it's not the reason of my problem :(

2010/5/28 Vinit <shorte...@gmail.com>

Jun OKAJIMA

unread,
May 28, 2010, 5:23:30 AM5/28/10
to matt.yan...@gmail.com, chromium-...@chromium.org
I have same issue.
To sole shflags one, that is easy.
You download shflags.tgz and cp shflags to /usr/lib.
But the real problem is chromeos-setimage.
this ends up with below.

I did mknod all /devs, but did not work.
I guess the google team has not checked VMware image build.

TRY VMWARE IMAGE PLEASE!!!! > the google team.

--- Okajima, Jun. Tokyo, Japan.

----
512 bytes (512 B) copied, 3.446e-05 s, 14.9 MB/s


Postinst running
Set boot target to /dev/sda3: Partition 3, Slot A
Updating /boot/extlinux.conf target
Updating grub target for EFI BIOS

/tmp/tmp.d7FU965l76/usr/sbin/chromeos-setimage: 14: rootdev: not found
/tmp/tmp.d7FU965l76/usr/sbin/chromeos-setimage: 16: 1: parameter not set
Error: Unable to find block device: /dev/sda


2010/5/28 Matt Yung <matt.yan...@gmail.com>:

Jun OKAJIMA

unread,
May 28, 2010, 6:52:37 AM5/28/10
to matt.yan...@gmail.com, chromium-...@chromium.org
sole -> solve.

Anyway, debug image_to_vmware please!.

2010/5/28 Jun OKAJIMA <oka...@digitalinfra.co.jp>:

Jun OKAJIMA

unread,
May 28, 2010, 6:53:35 AM5/28/10
to matt.yan...@gmail.com, chromium-...@chromium.org
BTW, I am using
Ubuntu Lucid 64bit.

This is the problem?
Karmic is better?


2010/5/28 Jun OKAJIMA <oka...@digitalinfra.co.jp>:

mrseb

unread,
May 28, 2010, 8:06:46 AM5/28/10
to Chromium OS discuss
There's already a thread for this...!

But yes, I have the same issue.

Someone mentioned on IRC that he would look at it... but he didn't say
when :)

-S

On May 28, 11:53 am, Jun OKAJIMA <okaj...@digitalinfra.co.jp> wrote:
> BTW, I am using
> Ubuntu Lucid 64bit.
>
> This is the problem?
> Karmic is better?
>
> 2010/5/28 Jun OKAJIMA <okaj...@digitalinfra.co.jp>:
>
>
>
> > sole -> solve.
>
> > Anyway, debug image_to_vmware please!.
>
> > 2010/5/28 Jun OKAJIMA <okaj...@digitalinfra.co.jp>:

Jun OKAJIMA

unread,
May 29, 2010, 10:43:03 AM5/29/10
to mrseb...@gmail.com, Chromium OS discuss
It is okay to mount /tmp/tmp.*/part_3.
# mount -o loop /tmp/tmp.*/part3 /mnt
this works.
# chroot /mnt
this also works.
So, disk image is okay.

ANY HELP?

--- Okajima, Jun. Tokyo, Japan.

2010/5/28 mrseb <mrseb...@gmail.com>:

Jun OKAJIMA

unread,
May 30, 2010, 6:40:28 AM5/30/10
to mrseb...@gmail.com, Chromium OS discuss
Come on...

I still have the problem.
image_to_vmware did not work.

Any patch comes?
Anybody succeeded?

Steve Pirk

unread,
May 30, 2010, 11:24:30 AM5/30/10
to oka...@digitalinfra.co.jp, mrseb...@gmail.com, Chromium OS discuss
Jun, I do not have an answer, but this is the "discuss" the OS issue group. Ypu might try asking in cros-dev and see if anyone on that list has some information... It looks like someone got it to work earlier in the thread, but I did not see confirmation that the work-around helped in your case.

--steve
steve pirk
refiamerica.org - bremerton, wa usa
google profile: pirk.com
"father... the sleeper has awakened..." paul atreides - dune




--

Jun OKAJIMA

unread,
May 30, 2010, 11:43:33 AM5/30/10
to Steve Pirk, mrseb...@gmail.com, Chromium OS discuss
Hahaha... you are right....

--- Okajima.

2010/5/31 Steve Pirk <pirk...@gmail.com>:

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages