XEN guest // CRUX as HVM

guest-crux | guest-crux-rootfs | guest-crux-hvm

DRAFT

    mkdir -p /root/guests/cruxhvm/
    cd /root/guests/cruxhvm/
    dd if=/dev/zero of=cruxhvm.ext4 bs=1GB count=0 seek=8
    mkfs.ext4 cruxhvm.ext4
    vi cruxhvm

    #type = "hvm"
    builder = "hvm"
    #sdl = 1
vnc = 1
vnclisten = "0.0.0.0"
vncpasswd = "PASSWORD"

    name = "cruxhvm"
    memory = 1024
    vcups = 2
    disk = ['file:/root/guests/cruxhvm/cruxhvm.ext4,xvda,w',
            'file:/root/ISO-IMAGES/crux-3.7.iso,hdc:cdrom,r']
    vif = [ 'bridge=guestbr0,vifname=cruxhvm' ]

    on_reboot = "preserve"
    on_crash = "preserve"

    xl create cruxhvm -c

    fb1280

HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun