xen live cd

2 posts / 0 new
Last post
#1 Sat, 2014-12-20 01:50
Zenon
  • Zenon's picture
  • Offline
  • Last seen: 3 years 3 months ago
  • Joined: 2014-12-12

I've started to play with alpine xen live cd and I have a problem with storing existing configuration.
Alpine is booted from CD, I run setup-xen-dom0 and alpine-setup scripts which results in root passwd, keyboard, timezone, network configuration etc. and it works OK, but I've not idea how to keep these settings after powering down the server.
I used lbu to store settings in apkovl file, but I can't uderstand how to use this file to burn new CD or to prepare new bootable USB which would use the content of this file.
Burning CD nor preparing bootable USB is not a problem, but I don't know how to prepare data to be recorded to allow me boot alpine with new root passwd, netconf etc. already configured.
Could you please deliver me some hints?

Best Regards,

Zenon

Sat, 2015-03-14 20:48
Tiger
  • Tiger's picture
  • Offline
  • Last seen: 3 years 2 weeks ago
  • Joined: 2013-08-18
  1. boot the XEN CD and configure dom0 and the domU
  2. use lbu commit to create a recent apkovl
  3. create a temporary work folder, e.g. mkdir /tmp/cd-image. Make sure there is enough disk space available to install Alpine in this folder, e.g. df /tmp
  4. install Alpine in the work folder including the apkovl, using setup-disk -v -o {apkovl} /tmp/cd-image
  5. create a bootable ISO image of the work folder with mkisofs or genisoimage and burn it to optical disk

This is a basic guideline, which I haven't tested. Please, share your experiences, suggestions and solutions!

Log in or register to post comments