On Jul 24, 2007, at 11:25 AM, Paul Raulerson wrote:
The command you showed will copy the entire drive - the extra
commands cause dd to copy only the boot sector. You really need to
run a mkinitrd before you run the zipl, so as far as I can see,
traditional or not, zipl does not seem to do the job until you can
IPL from the pack.
Running mkinitrd has nothing to do with whether or not the pack is
already IPLable.
If the following does not work, then it is, I believe, a reportable
defect in zipl:
1) mount the new disk somewhere; let's call it /mnt
2) copy the files to the new disk (cp -ax / /mnt, or (cd /; tar clf -
| (cd /mnt; tar xf -))
3) create enough static devices to get yourself going--I *think* this
is just /dev/console, but different distros might have different
ideas: mknod /mnt/dev/console c 5 1). Probably MAKEDEV -d /mnt/dev
is the safest way although it will eat a little diskspace for devices
you don't need before the /dev overmount
4) mount --bind /proc /mnt/proc (might not be needed, but won't hurt)
5) mount --bind /dev /mnt/dev
6) chroot /mnt
7) run mkinitrd with the appropriate-to-your-site parms
8) zipl
9) exit the chroot
10) umount /mnt/dev
11) umount /mnt/proc
Adam