How can I make a .img or .iso file by the image in chroot..

853 views
Skip to first unread message

teke...@gmail.com

unread,
Jan 22, 2013, 8:37:36 PM1/22/13
to chromium-...@chromium.org
  I want send the image to a friend, then he can simply make a USB key, and he don't need to do it in a chroot..Dose someone have any suggestion to achieve that?
  and can chromium os build in 64bit Ubuntu run on 32bit cpu? Or it is decide by the board I choose? 
  • x86-generic - builds a generic image suitable for computers with a x86-compatible CPU (32 bit)
  • amd64-generic - builds a generic image suitable for computers with a x86_64-compatible CPU (64 bit)
  • arm-generic - builds a generic image suitable for computers with an ARM CPU (32 bit)

but I build a x86-generic image,it can boot normal on a 64bit cpu notebook,but when boot from a 32bit cpu ,just blackscreen after Chromium icon appeared..

Richard Barnette

unread,
Jan 22, 2013, 8:57:50 PM1/22/13
to teke...@gmail.com, chromium-...@chromium.org
On Jan 22, 2013, at 5:37 PM, teke...@gmail.com wrote:

> I want send the image to a friend, then he can simply make a USB key, and he don't need to do it in a chroot..Dose someone have any suggestion to achieve that?

Ah! If that's all you want to do, just build the chromiumos_image.bin, and
make your .iso image with a file system containing just that file. Then your
friend can copy it to his USB stick.


> and can chromium os build in 64bit Ubuntu run on 32bit cpu? Or it is decide by the board I choose?
> • x86-generic - builds a generic image suitable for computers with a x86-compatible CPU (32 bit)
> • amd64-generic - builds a generic image suitable for computers with a x86_64-compatible CPU (64 bit)
> • arm-generic - builds a generic image suitable for computers with an ARM CPU (32 bit)
> but I build a x86-generic image,it can boot normal on a 64bit cpu notebook,but when boot from a 32bit cpu ,just blackscreen after Chromium icon appeared..
>
>
> --
> 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

-- jrb



long di

unread,
Jan 22, 2013, 9:20:34 PM1/22/13
to Richard Barnette, chromium-...@chromium.org
eee,is the  chromiumos_image.bin in the folder I build by the ./build_image --board=${BOARD}command? And how to make a bootable .iso file by it? Use mkisofs seems not work easy.

Richard Barnette

unread,
Jan 22, 2013, 9:31:34 PM1/22/13
to long di, Richard Barnette, chromium-...@chromium.org
On Jan 22, 2013, at 6:20 PM, long di <teke...@gmail.com> wrote:

> eee,is the chromiumos_image.bin in the folder I build by the ./build_image --board=${BOARD}command? And how to make a bootable .iso file by it? Use mkisofs seems not work easy.

You don't make a _bootable_ .iso that way. Basically, it's not possible to make
a bootable Chromium OS image with media that's read-only. The point is to
make a simple data disk that you can give to your friend.

OTOH, if you can give him a disk, you can give him a USB stick.
Unless you're trying to send it in the mail, and the DVD is a more
convenient package...


> On Wed, Jan 23, 2013 at 9:57 AM, Richard Barnette <jrbar...@chromium.org> wrote:
> On Jan 22, 2013, at 5:37 PM, teke...@gmail.com wrote:
>
> > I want send the image to a friend, then he can simply make a USB key, and he don't need to do it in a chroot..Dose someone have any suggestion to achieve that?
>
> Ah! If that's all you want to do, just build the chromiumos_image.bin, and
> make your .iso image with a file system containing just that file. Then your
> friend can copy it to his USB stick.
>
>
> > and can chromium os build in 64bit Ubuntu run on 32bit cpu? Or it is decide by the board I choose?
> > • x86-generic - builds a generic image suitable for computers with a x86-compatible CPU (32 bit)
> > • amd64-generic - builds a generic image suitable for computers with a x86_64-compatible CPU (64 bit)
> > • arm-generic - builds a generic image suitable for computers with an ARM CPU (32 bit)
> > but I build a x86-generic image,it can boot normal on a 64bit cpu notebook,but when boot from a 32bit cpu ,just blackscreen after Chromium icon appeared..
> >
> >
> > --
> > 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
>
> -- jrb
>
>
>
>
>
>

-- jrb



Richard Barnette

unread,
Jan 22, 2013, 10:12:47 PM1/22/13
to long di, chromium-os-discuss@chromium.org discuss, Richard Barnette
On Jan 22, 2013, at 6:43 PM, long di <teke...@gmail.com> wrote:

> yes,I want to send to him on the internet...so I am try to find a way..I wonder
> other people how make out a .iso file for user to download, is that hard--?

If you just want to provide something for download, provide the
chromiumos_image.bin created by build_image: that's the thing that goes
onto USB in the first place.
-- jrb



long di

unread,
Jan 22, 2013, 10:24:57 PM1/22/13
to Richard Barnette, chromium-os-discuss@chromium.org discuss
then how to run chromium os by the chromiumos_image.bin?~~

Richard Barnette

unread,
Jan 22, 2013, 10:30:11 PM1/22/13
to long di, Richard Barnette, chromium-os-discuss@chromium.org discuss
On Jan 22, 2013, at 7:24 PM, long di <teke...@gmail.com> wrote:

> then how to run chromium os by the chromiumos_image.bin?~~
>
You have to dump the contents of the file onto a USB stick.
The 'dd' command will do that for you; that's how image_to_usb.sh
works. That's a standard UNIX command available on Linux and
Mac OS X. If all your friend has to work with is Windows, you should
probably just mail him a USB stick. :-(
-- jrb



long di

unread,
Jan 22, 2013, 10:43:13 PM1/22/13
to Richard Barnette, chromium-os-discuss@chromium.org discuss
ok,thanks Richard, I let him try~
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages