[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] boot from cd

Marco Strullato wrote:
There are at least two reasons:
1)If I would like to upgrade the version of an existing installation (if I'm using a redhat distro), I need to boot from cd and choose to upgrade an existing installation.

This can be achieved by following the method that I described earlier. I have not tested though.

Download the images/xen/{vmlinuz, initrd.img} from the new distro source to /var/lib/xen/images.
Add the below lines to the guest configuration file.

kernel = "/var/lib/xen/images/vmlinuz"
ramdisk = "/var/lib/xen/images/initrd.img"
extra = "upgrade"

Comment out the line starting by "pygrub = ".

Boot the guest as usual and specify nfs/http/ftp repo as the rescue source. Once the upgrade is completed, reverse the configuration file to its old state.

2)If I want to test some live distro, I need to boot from cd.

This is not possible.




2007/12/3, Mark Williamson <mark.williamson@xxxxxxxxxxxx <mailto:mark.williamson@xxxxxxxxxxxx>>:

    You can't boot a PV guest from CD, I'm afraid :-(

    What are you trying to do?  For installing the guest there are
    various tools
    (virt-manager / virt-install, rpmstrap, debootstrap and others)
    that can help
    you create a guest filesystem without needing a boot CD.


    Dave: Just a question. What use is a unicyle with no seat?  And no
    Mark: To answer a question with a question: What use is a skateboard?
    Dave: Skateboards have wheels.
    Mark: My wheel has a wheel!


Xen-users mailing list

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.