Robert: This is more along the lines of what I was thinking about. Ryan Nelson was pretty convinced yesterday that Clonezilla was the only way to achieve my objective. Greg Treantos also recommended Clonezilla. However, what you describe seems very intuitive as to what should be "supported", i.e. essentially transferring the "raw" disk image into a KVM zfs dataset.
I wonder if Jonathan Perkin could cast a deciding vote on what he would do. Since your recommendation seems to be something I could probably do and the tone of your response seems confident, I'm leaning to trying it first. Clonezilla is a little bit intimidating to me at this moment with my limited SmartOS experience. I'll be better next month after I finish the SmartOS training with Max Bruning. Regards, Marc -----Original Message----- From: Robert Mustacchi [mailto:[email protected]] Sent: Saturday, January 10, 2015 12:22 PM To: [email protected]; J Marc Edwards Subject: Re: [smartos-discuss] Running Chrome OS in SmartOS KVM zone...some advice/guidance... On 01/09/2015 08:15 PM, J Marc Edwards via smartos-discuss wrote: > I have booted SmartOS on an Intel D54250WYKH NUC unit. The NUC has 16GB of > memory and a 256GB SSD mSATA. SmartOS has booted fine off of the SmartOS USB > boot stick. I have imported (“imgadm import”) some of Joyent’s public images > for Ubuntu, SmartOS, and Centos. I have a SmartOS zone and an Ubuntu zone. > No problems. Everything looks fine. So far, so good. I’m only planning on > running a few zones at a time on this little NUC. > > > > Now…I want to run the Chromium OS in a KVM zone. So, in my naïve thinking, I > decided to build a Chromium OS KVM “raw” image from Google’s Chrome OS > developer page on my Ubuntu 15 Linux workstation with the intent of moving > the Chromium OS KVM image over to the NUC and boot the image on a KVM zone. > > > > I kind of thought that there would be a relatively straightforward method to > take the image tar/compressed on a USB stick and “import” the image onto the > global zone of the NUC. However, I found out that this is much harder than I > thought, and that I don’t have enough understanding of how to proceed. > > > > I’m hoping that someone in the community would kindly inform me of how they > would expertly perform this task to migrate a Chromium OS KVM image to a > SmartOS KVM zone. What I'd do is first count the total number of disks that you have in your Chromium OS KVM image, sounds like it just has a single disk. Next, I'd go ahead and just create a KVM VM via vmadm and just specify a disk size that matches the disk size of the disks you have for Chromium OS. Note, as opposed to specifying an image_uuid for those disks, you can just describe the disk size. From there, that'll create a zvol which I would then dd the raw image you said you have to. Once you do that, you should just be able to vmadm start the VM. Robert ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
