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

Re: Copieing debian image from LPAR to z/VM



Stephen,

Thanks for your reply.

The answer to my problem is so simple that I think I have given it to much
thought.  I'll try it tomorrow if I get the time

Kind regards,

Michiel Bello.
----- Original Message -----
From: "Stephen Frazier" <stevef@doc.state.ok.us>
To: "Michiel Bello (Wanadoo)" <ml.bello@wanadoo.nl>
Cc: <debian-s390@lists.debian.org>
Sent: Wednesday, June 04, 2003 11:46 PM
Subject: Re: Copieing debian image from LPAR to z/VM


> Your Linux disks are available on the z/VM LPAR. All you need to do is
> to IPL (boot up) your existing Linux in a z/VM guest. Then add your
> minidisks to it and copy using dd any files you want on the minidisk.
> You don't need a boottape. You have a disk you can boot from. The same
> disk that you boot from in an LPAR can be used to boot from in a z/VM
> guest. You only need to run zipl if you wish to change the device you
> are booting from. You do not need to run ftp just mount both the from
> and to disks on the same guest and use dd to copy it.
>
> Michiel Bello (Wanadoo) wrote:
> > Arnd,
> >
> > Thanks for your response.
> >
> > We've already used dd to create backup copies. What I need is a way to
copy
> > it onto a minidisk and then a way to run zipl.
> > Our knowledge of VM is rather limited, we've used it in the past but
that is
> > an odd 15 years ago, so we're almost learning from scratch again.
> > Could you tell me if the creation of a minidisk is a destructive
process? If
> > not it might be possible to somehow convert a 'normal ' dasd device into
a
> > minidisk (I'll try this tomorrow)
> > However I am than still left with the problem of being able to run zipl.
In
> > my opinion I can't really do anything without a driving system under VM.
> > I think the easiest way would be to create a boottape and get ftp up and
> > running to copy the entire image onto a minidisk. I will then be able to
> > change the configuration and run zipl.
> >
> > However I would still be interested in other methods if there are any
> >
> > Kind regards,
> >
> > Michiel Bello
> >
> > "Arnd Bergmann" <arnd@arndb.de> schreef in bericht
> > news:20030603000016$5041@gated-at.bofh.it...
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Tuesday 03 June 2003 00:04, Michiel Bello (Wanadoo) wrote:
> >
> >>Currently we've got Suse and Debian both running native each in their
own
> >>LPAR. We've just installed z/VM on another LPAR and I was wondering if
> >>there is an easy and quick way to copy the entire debian image onto a
> >>minidisk under z/VM thus avoiding another full install of debian under
> >
> > z/VM
> >
> >>?. Our DASD's are shared between all three mentioned LPAR's and also
with
> >>another z/OS LPAR so I've got almost every possible utility at my
> >
> > disposal.
> >
> >>Any tips on this matter (and links to e.g. How To's) are welcome.
> >
> >
> > You can easily copy one dasd to another one with the 'dd' command.
> > Assuming you have two dasds '/dev/dasdb' and '/dev/dasdc' in your
> > LPAR, where both are formatted, partitioned, not mounted and of the
> > same size and /dev/dasdb1 contains the original OS that you want to
> > copy to /dev/dasdc1, one possible command is
> >
> >   dd if=/dev/dasdb1 of=/dev/dasdc1 bs=4096
> >
> > Now you can mount /dev/dasdc1 and update any settings that need
> > changes (most probably /etc/zipl.conf, /etc/fstab,
/etc/network/interfaces
> > and /etc/chandev.conf). To be safe, do a 'chroot' into the copy and
rerun
> > 'zipl'
> > there.
> > You should be able to boot it like to original one, both in LPAR and in
VM.
> > If you need to use a minidisk instead of the full dasd, it gets slightly
> > more
> > complicated.
> >
> > Arnd <><
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.1 (GNU/Linux)
> >
> > iD8DBQE+29gG5t5GS2LDRf4RAmR1AKCUNiVTvP71U3+Ir4K8vlCZkY4GdgCfXrvT
> > wLHYURY1dO2xTy0ypHKyajc=
> > =U+3F
> > -----END PGP SIGNATURE-----
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-s390-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> >
> >
>
>
> --
> Stephen Frazier
> Information Technology Unit
> Oklahoma Department of Corrections
> 3400 Martin Luther King
> Oklahoma City, Ok, 73111-4298
> Tel.: (405) 425-2549
> Fax: (405) 425-2554
> email:  stevef@doc.state.ok.us
>
>



Reply to: