Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2015 17:13:17 -0700
From:      Lacey Powers <lacey.leanne@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Softlayer VPS: Loading FreeBSD
Message-ID:  <557A241D.5090307@gmail.com>
In-Reply-To: <B6B22B33-980C-444B-874A-EE9ED0784FDD@hub.org>
References:  <6277AB8E-EDF5-436A-B1A9-5C041041E165@hub.org> <CAKE2PDtCki%2B7v3wN5BNoao8v3eiqgZb_0q27hocjqgANObaEbg@mail.gmail.com> <64385A15-591B-4933-BD83-45EAA5A372C5@hub.org> <557A0B64.9050808@sysconfig.org.uk> <B6B22B33-980C-444B-874A-EE9ED0784FDD@hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On 06/11/2015 16:00, Marc Fournier wrote:
> Marc G Fournier
> Owner, Hub.Org <http://hub.org/>; Hosting Solutions S.A.
>
>> On Jun 11, 2015, at 15:27, Carsten Heesch <ch@sysconfig.org.uk> wrote:
>>
>>
>>> That gave us IPMI access for the Bare Metal server we put in place,
>>> but no KVM access for VPS … for VPS, I need to create an ISO of my
>>> install, upload that and then they effectively ‘dd’ it to the VPS,
>>> which is cool, but I need to figure out how to create an image based
>>> on a VirtualBox build on a Mac OS X system :)
>> If they really just "dd" it, then a RAW image of your Virtualbox
>> instance should work, shouldn't it?
> I knew when I typed this that I shouldn’t have .. :)   I don’t know what they do exactly, getting info out of htem is like pulling teeth … so far, I’m not even sure what I should be setting for ethernet configuration, although I’m suspecting “DHCP”, else I’d have to load a new ISO for each VPS I’m setting up …
>
>> Choose QCOW as the disk format in VirtualBox, and then use "qemu-img
>> convert" to make a raw image.
> I have several FreeBSD boxes, so if there is a method of converting from “XYZ -> ISO” using FreeBSD, that is cool too … I can make / configure the image on my desktop, upload to my server and do the conversion there …
>
> I can use qemu-img to pretty much convert to any format (except ISO) … but how do I get to that final step?
>
> Thinking this through … ppl make livecd’s, so this is obviously possible … does it make sense that that is all I need to do?   Although I’ve never done it, mind you, but if I were to upload a regular liveCD, and they installed / booted that, that should be it … or am I overlookign something?
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Hello Marc,

Sounds like the last thing you need is to mount the image, and use 
mkisofs to make your own iso

There are examples here,

https://www.freebsd.org/doc/handbook/creating-cds.html

and there are also tools for making releases or custom releases in 
/usr/src/releaseoutlined in

man 7 release

Which might be easier to use and customize than coercing a VirtualBox 
image into something useful.

But, the basic command for making an ISO is something like this:

|# mkisofs -R -o /tmp/FreeBSD-Custom.iso /path/to/my/mounted/disk/image|

You might need to change the options to suit your needs, though.

It's been awhile since I last made custom CDs.

Hope that helps.=)

Regards,

Lacey



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?557A241D.5090307>