Re: [gentoo-user] Anybody have a Gentoo KVM image to share?

2013-05-13 Thread Michael Mol
On 05/13/2013 03:36 AM, Alexander Berntsen wrote:
 If anyone have a Gentoo KVM image (preferably 10G or less) to share,
 please email the details on how to obtain a copy. I will be using it
 for development, so the simpler it is the better, with working networking.
 
 The reason I'm asking here is because I'm lazy and don't want to do
 work that somebody else has already done. Hopefully sharing it here
 will save someone else time as well, so please reply to the list and
 CC me (in case I forget to check the archives, as I don't subscribe to
 this list).

I wrote a Gentoo install script last spring that I was beginning to
update for building KVM guests a couple weeks ago (until my VM host
hardware up began spontaneously rebooting on me without leaving a trace
in hardware logs...).

I can have another go at it. Any preference for disk size or layout?
Running the script involves (obviously) a great deal of compiling, but
it results in a fully up-to-date system CFLAGS and USE settings as
specified up front...

https://github.com/mikemol/gentoo-install



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Anybody have a Gentoo KVM image to share?

2013-05-13 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 13/05/13 14:29, Michael Mol wrote:
 Running the script involves (obviously) a great deal of compiling,
 but it results in a fully up-to-date system CFLAGS and USE settings
 as specified up front...
I'm looking for a more minimal thing that's 5-10G and comes without X
or any other heavy software. I will be using it for OpenRC testing and
similar things, so a big and complicated image is not desirable. I'd
like networking to work though.
- -- 
Alexander
alexan...@plaimi.net
http://plaimi.net/~alexander
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlGQ3WYACgkQRtClrXBQc7WvawD+M9YGJn9WXiBYJVxyUuXopAUp
GoOhAs3QSSyiVbrbLEoA/24UTrhITK9HqXrd3Q8cS/5iOAI5785PnrpoTioL+c63
=vvXs
-END PGP SIGNATURE-



Re: [gentoo-user] Anybody have a Gentoo KVM image to share?

2013-05-13 Thread Michael Mol
On 05/13/2013 08:32 AM, Alexander Berntsen wrote:
 On 13/05/13 14:29, Michael Mol wrote:
 Running the script involves (obviously) a great deal of compiling,
 but it results in a fully up-to-date system CFLAGS and USE settings
 as specified up front...
 I'm looking for a more minimal thing that's 5-10G and comes without X
 or any other heavy software. I will be using it for OpenRC testing and
 similar things, so a big and complicated image is not desirable. I'd
 like networking to work though.
 

Hm. I've never tried building a Gentoo system that...small. Looks
doable, though.

Uncomplicated USE flags are no sweat; a lot of the machinery of the
script is there to cope with quirks of updates involving large sets of
USE flags.

Minimal networking should be no sweat; I'll just enable everything KVM
supports in the kernel configuration. How *much* networking support do
you want, though? Do you need anything more beyond basic layer 3
(IPv4/IPv6) autoconfiguration (DHCP, RAs and IPv4/IPV6 LL), or do you
want netfilter?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Anybody have a Gentoo KVM image to share?

2013-05-13 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 13/05/13 14:41, Michael Mol wrote:
 Do you need anything more beyond basic layer [stuff]
No.

Thanks for looking into this. Much appreciated.
- -- 
Alexander
alexan...@plaimi.net
http://plaimi.net/~alexander
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlGQ4AgACgkQRtClrXBQc7V36AD/e4FgrFlQ7VaHZ0d119NC597f
L67vcZvNT7QE3Q8Z9zsA/AlhS/sifwk9GFT7oLDOYvWRtHJEzAoh5DDwapjnBsvd
=hLfO
-END PGP SIGNATURE-



Re: [gentoo-user] Anybody have a Gentoo KVM image to share?

2013-05-13 Thread Michael Mair-Keimberger
Hi,

I can give you my minimal gentoo vm(s). It's a stable gentoo minimal system 
with following aditional software installed (copied from world file):
app-editors/nano
app-misc/screen
app-portage/gentoolkit
dev-util/lafilefixer
net-fs/nfs-utils
net-misc/dhcpcd
net-misc/ntp
sys-apps/portage
sys-boot/grub-static
sys-devel/libtool
sys-kernel/gentoo-sources
sys-power/acpid

The vm has a 50gb harddisk, but the compressed file (qcow2) has ~3gb 
(/usr/portage/* stuff deletetd)
The system is pretty much up-to-date and i have both 32bit and 64bit versions.

However, you need the virtio drivers on the host, because i'm using those 
drivers for the harddisk and network.

Uploading it somewhere shouldn't be a problem but it will take quite some time 
since my upload speed is really slow ;)

mike

On Monday 13 May 2013 09:36:35 Alexander Berntsen wrote:
 If anyone have a Gentoo KVM image (preferably 10G or less) to share,
 please email the details on how to obtain a copy. I will be using it
 for development, so the simpler it is the better, with working networking.
 
 The reason I'm asking here is because I'm lazy and don't want to do
 work that somebody else has already done. Hopefully sharing it here
 will save someone else time as well, so please reply to the list and
 CC me (in case I forget to check the archives, as I don't subscribe to
 this list).
 --
 Alexander
 alexan...@plaimi.net
 http://plaimi.net/~alexander



Re: [gentoo-user] Anybody have a Gentoo KVM image to share?

2013-05-13 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 13/05/13 18:36, Michael Mair-Keimberger wrote:
 The vm has a 50gb harddisk
I'm not sure how KVM works with this -- is it a static file at 50G?
I'm looking for an image I can use on my SSD, so it really has to be
quite small (preferably maximum 10G).

Thank you for the offer though, and if I can't get a small image
anywhere I could use yours via an external HDD.
- -- 
Alexander
alexan...@plaimi.net
http://plaimi.net/~alexander
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlGRFzUACgkQRtClrXBQc7VqIgD9HB2r9I9rVhYsgN72b0R9L4qa
gzWsYsaErtGldBM3JpUBAIwvLOF9wTF36APYnXb5/rpit7UWtkLcRW1uSjnqisxj
=K16i
-END PGP SIGNATURE-



Re: [gentoo-user] Anybody have a Gentoo KVM image to share?

2013-05-13 Thread Michael Mair-Keimberger
The uncompressed image has ~11gb and it would grow as you use it.

However it should be easy to shrink that.
The image has 3 (boot/swap/root) partitions, where the boot partition has 
32mb. If i'm correct you only have to create a new image, make 2 or 3 (depends 
if you need swap) partitions on it, where the first one (/boot) must have the 
same size like in the original image (means 32mb). 
Than you dd the boot partition and copy the files of the root partiton to your 
new image. The files should fit perfectly on a ~10gb hd too since they just 
need 
~1,5 gb.

I could try it on my own, but than i would take some time...

mike

On Monday 13 May 2013 18:39:17 Alexander Berntsen wrote:
 On 13/05/13 18:36, Michael Mair-Keimberger wrote:
  The vm has a 50gb harddisk
 
 I'm not sure how KVM works with this -- is it a static file at 50G?
 I'm looking for an image I can use on my SSD, so it really has to be
 quite small (preferably maximum 10G).
 
 Thank you for the offer though, and if I can't get a small image
 anywhere I could use yours via an external HDD.
 --
 Alexander
 alexan...@plaimi.net
 http://plaimi.net/~alexander



Re: [gentoo-user] Anybody have a Gentoo KVM image to share?

2013-05-13 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 13/05/13 19:24, Michael Mair-Keimberger wrote:
 The uncompressed image has ~11gb and it would grow as you use it.
That is largely acceptable. I would prefer even smaller, but it's more
than sufficient for now. If you have anywhere I can get hold of this
image that would be great.
- -- 
Alexander
alexan...@plaimi.net
http://plaimi.net/~alexander
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlGRI4gACgkQRtClrXBQc7UirQD9HdeNX5HjM03sydOz2xWSaKgN
e9FmzgVe71HTPKt9EzYA/1BWcsXa6TU4g9X0v6YSHEnXcd1ltILfwvQ9+JHDaIv4
=BEcw
-END PGP SIGNATURE-



Re: [gentoo-user] Anybody have a Gentoo KVM image to share?

2013-05-13 Thread Michael Mair-Keimberger
Well, i don't have any online storage were i could upload it. Looking at 
google i found this site www.transferbigfiles.com but i never tried it and 
uploads will expire in 5 days. If you don't have anything else i would upload 
it there..

mike

On Monday 13 May 2013 19:31:52 Alexander Berntsen wrote:
 On 13/05/13 19:24, Michael Mair-Keimberger wrote:
  The uncompressed image has ~11gb and it would grow as you use it.
 
 That is largely acceptable. I would prefer even smaller, but it's more
 than sufficient for now. If you have anywhere I can get hold of this
 image that would be great.
 --
 Alexander
 alexan...@plaimi.net
 http://plaimi.net/~alexander