How to install an OS with 2 installation iso file

Harsh chopra serviceprovider.tester at gmail.com
Tue May 5 15:16:36 UTC 2020


Sorry for the late reply but I was finally able to install and run
Centos2.1 thanks to Filip.
Previously I was trying to edit the xml file while setup was currently
running due to which changes would be implemented on next reboot.
I tried to work with virsh too but it was of not much help.

On Tue, 5 May 2020 at 19:51, Daniel P. Berrangé <berrange at redhat.com> wrote:

> On Tue, May 05, 2020 at 03:14:25PM +0100, Richard W.M. Jones wrote:
> > On Sun, May 03, 2020 at 03:31:38PM +0530, Harsh chopra wrote:
> > > Hi everyone,
> > > I was trying to install Centos 2.1 on the virtual machine,
> >
> > Ambitious!  Note that older operating systems often don't work in
> > qemu, not for any particular reason but just because they don't get
> > much attention and things regress, drivers in particular.  Or the
> > drivers such as IDE don't emulate corners which are needed by the old
> > OS.  For example I tried running some really ancient Linux versions in
> > qemu a while back with no success at all.
> >
> > Having said that I have run RHEL 3 recently on qemu and that's fairly
> > similar to 2.1.
> >
> > > the installation
> > > was complete 50% but then it asked to insert the second installation
> iso
> > > file.
> > > i.e. "Please insert disc 2 in cdrom"
> > > I tried to change the XML file and insert the line
> > > <source file = "/home/..."/>
> > > under device name  but nothing helped.
> >
> > When you say you "tried to change the XML file" - how did you do that?
> > You should use ‘virsh edit <guest>’ only, and not attempt to edit any
> > XML file directly.  Or of course you can use virt-manager as the other
> > reply suggested - it essentially does the same thing as virsh edit.
>
> Actually "virsh edit" is not what you need in this case.
>
> That will update the persistent XML config only.
>
> For a multi-stage installer, you need to perform a CD media change
> in the live VM. IIRC the following should work:
>
>   $ virsh change-media $GUESTNAME /dev/hdc --update /path/to/iso
>
> This is equivalent to using  "--eject" followed by "--insert /path/to/iso"
>
>
> Regards,
> Daniel
> --
> |: https://berrange.com      -o-
> https://www.flickr.com/photos/dberrange :|
> |: https://libvirt.org         -o-
> https://fstop138.berrange.com :|
> |: https://entangle-photo.org    -o-
> https://www.instagram.com/dberrange :|
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20200505/e8a97dff/attachment.htm>


More information about the virt-tools-list mailing list