if you look at previous postings you should not have to build the ram disk this way.
-Cameron

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Volker Sameske
Sent: Wednesday, October 27, 2004 01:06
To: [EMAIL PROTECTED]
Subject: Re: FW: Cloneing Linux Guests on FCP SCSI


The problem is the ramdisk on your SCSI disk. This ramdisk contains
the information, where to find your root file system (adapter devno,
WWPN and LUN). Hence you have to change this information on the
ramdisk. A simple mk_initrd will do the job on the mounted SCSI disk.
But make sure, not to overwrite your ramdisk from the system, where
you have mounted the SCSI disk.

I have tried this out and here are the steps:
- attach your SCSI disk (target SLES9) to a working SLES9 system
  (source SLES9) (SCSI or DASD) and mount it
- rename the ramdisk (/boot/initrd-...) from the source system to
  save it, make sure to rename the ramdisk and not only the link
- call mk_initrd without any parameter and the system will build
  a new ramdisk, using all active modules including the zfcp device
  driver and the current path to your target SCSI disk
- move the new build ramdisk to your target disk (/mnt/boot/) and
  set the link accordingly
- run zipl on your mounted target disk to make the SCSI disk bootable
  with the new ramdisk
- finally restore your source system by copying the originally
  saved ramdisk back, make sure to use the original initrd with
  its original name!

Maybe there is an easier way to do this, e.g. building the ramdisk
directly on the target disk and not on the source disk, but I had
not the time to try this out.

regards,
Volker

Linux on zSeries Development
Tel.: +49-(0)7031-16-2019
IBM Deutschland Entwicklung GmbH

> What do i change in zipl.conf, and what scsi config files do i need to
change?
> -Cameron

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390



[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential and/or 
exempt from disclosure under applicable law.  If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, or use of the 
information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. 
If you received this transmission in error, please immediately contact the sender and 
destroy the material in its entirety, whether in electronic or hard copy format.  
Thank you.   A2

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to