Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Virtual machines, and creating bootable images
Date: Sat, 18 Jun 2016 15:23:24
Message-Id: loom.20160618T162215-684@post.gmane.org
In Reply to: [gentoo-user] Virtual machines, and creating bootable images by Jigme Datse Yli-RAsku
1 Jigme Datse Yli-RAsku <jigme.datse <at> datsemultimedia.com> writes:
2
3
4 > I am looking at creating a gentoo install which I can use for my hosted
5 > servers. The documentation I have seen about doing so is to mount an
6 > "ISO" and then dd the mounted device to a data drive, make the data
7 > drive bootable (set it in the settings for hosting provider) and attach
8 > it to a server.
9
10 Testing::
11 http://user-mode-linux.sourceforge.net/
12
13
14 VM/container images::
15 There are many around.
16 Rich0 put up one of my favorites, which included btrfs::
17
18 https://docs.google.com/document/
19 d/1VJlJyYLTZScta9a81xgKOIBjYsG3_VfxxmUSxG23Uxg/edit?pli=1
20
21 And if you are into openstack cluster images::
22 https://blog.mthode.org/posts/2016/Jun/gentoo-openstack-and-osic/
23
24
25 > I want to be able to build these images and test them in a virtual
26 > machine on my local server, then end up doing what I need on the hosting
27 > provider to get them in place.
28
29 Yes we all want this. Truth is, it is very easy to make a misstep.
30 Catalyst was the traditional tool for this this, but it is still usable
31 (at least some claim so). ymmv. Some of the older scripts are very
32 instructive for the steps, but the details will need to modified
33 to fit your current needs.
34
35 https://wiki.gentoo.org/wiki/Catalyst
36
37
38 GRS::
39 https://wiki.gentoo.org/wiki/Project:RelEng_GRS
40
41
42 Stage 4::
43
44 https://github.com/TheChymera/mkstage4
45 https://forums.gentoo.org/viewtopic-t-312817.html
46 http://www.tutorials.chymera.eu/blog/2014/05/18/
47 mkstage4-stage4-tarballs-made-easy/
48 https://forums.gentoo.org/viewtopic.php?p=1751698#1751698
49
50
51 Random links::
52
53 http://opensource.dyc.edu/tinhat-howtocook
54
55 https://forums.gentoo.org/viewtopic-t-995118.html
56
57 http://www.syslinux.org/wiki/index.php?title=Isohybrid
58
59 https://tails.boum.org/blueprint/bootstrapping/installer/
60
61 https://github.com/mikemol/gentoo-install/blob/master/gentoo-install.sh
62
63
64
65 NEW pathways to robust, automated installation::
66
67 https://github.com/gentoo/stager/blob/master/road_map.md
68
69 https://calamares.io/
70 app-admin/calamares
71
72 Ansible::
73
74 http://blog.jameskyle.org/2014/08/automated-stage3-gentoo-install-using-ansible/
75
76 https://github.com/gentoo-ansible
77
78
79 > Quick research hasn't given me any clear guidance as to how I can export
80 > the virtual machine (ie. what even can do this) to an image that can be
81 > copied to a drive to produce a bootable drive.
82 > Anyone have some good starting points to think about this?
83
84 Once you have worked through the gentoo handbook (maybe a few times)
85 all of the methods do start to make more sense. I have been slowly been
86 gathering and testing up old and new methods to automate gentoo installs,
87 regardless of platform:: on discrete hardware, vm, container, hpc or
88 embedded. All have similarities and mostly differ in how you set up the
89 storage (ram, usb, disk, flash, etc etc).
90
91
92 > Jigme Datse Yli-Rasku
93
94 This list is not exhaustive. Before folks will help you very much, make
95 sure you have gone through at least a few gentoo handbook installs and know
96 those steps well.
97
98 Do post back, as auto/image installs are still a pita for me, as it does
99 take time to smooth out the details on any installation method for gentoo
100 I've been in pursuit of the holy grail of gentoo install. A custom hardware
101 rack/apparatus, where I can plug in anything and perform a myriad of gentoo
102 installs, all with just a few click. ymmv. I have most of the pieces, but
103 ADHD stills has me blocked....
104
105 GOOD HUNTING!
106
107 hth,
108 James