[H-GEN] Linux distributions

Gary Curtis gazilla at gmail.com
Thu Sep 20 01:52:57 EDT 2012


On Thu, Sep 20, 2012 at 2:51 PM, Russell Stuart <russell-humbug at stuart.id.au
> wrote:

> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
> On Thu, 2012-09-20 at 14:30 +1000, Peter Robinson wrote:
> > I thought I would give Debian a trial (I am currently using Ubuntu  +
> > xfce) so I tried to install debian-6.0.5-amd64 in VirtualBox but it
> > bombed out when trying to install software. Anyone know if there is a
> > problem with this version of debian or with installing on VirtualBox -
> > it's probably just me :(
>
> I don't know if there is, but I run Debian under kvm on a regular basis.
> Kvm doesn't have a pretty GUI like Virtual Box, but I never had it fail
> to do what is says on the box.
>

There is a GUI.  virt-manager is the package name (in Ubuntu)
It connects you to the VNC console which can be either GUI or CLI
If you want CLI on the host then use virsh from the libvirt-bin package.


> In your case these commands should work:
>
>   HDD_SIZE=4096  # Size of HDD in MiB
>   dd bs=1M count=1 seek=$(($HDD_SIZE - 1)) </dev/zero >debian-6.0.5.img
>   kvm -hda debian-6.0.5.img -cdrom debian-6.0.5-i386-netinst.iso
>
>
I never create virtual disks this way.  Try qemu-img from the qemu-utils
package.
Command is:   qemu-img create -f FMT debian-6.0.5.img 4G
Where:  FMT = raw or qcow2 or a bunch of others
This will create a disk that is 4GiB in size.

Gaz



> Make sure you have hardware virtualisation enabled in the BIOS, and
> either yourself in the kvm group or run kvm as root.
>
> _______________________________________________
> General mailing list
> General at lists.humbug.org.au
> http://lists.humbug.org.au/mailman/listinfo/general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20120920/ff3ac5f6/attachment.html>


More information about the General mailing list