|
|
then edit /etc/conf/pack.d/vol/space.c, and change the two lines:
#define VOL_ROOTDEV_IS_VOLUME #define VOL_SWAPDEV_IS_VOLUMEto:
#undef VOL_ROOTDEV_IS_VOLUME #undef VOL_SWAPDEV_IS_VOLUME
then edit /etc/conf/init.d/kernel to move the ``swp1'' entry located just after the ``vol2'' entry to just below the ``vol1'' entry, and change the line from:
swp1::sysinit:/sbin/swap -a /dev/vx/dsk/swapvol > /dev/sysmsg 2>&1to:
swp1::sysinit:/sbin/swap -a /dev/swap > /dev/sysmsg 2>&1Change the initdefault entry from ``3'' to ``1'' to avoid having to quickly press the spacebar in Step 6.
then edit /etc/inittab in the same manner as you edited /etc/conf/init.d/kernel.
then edit /etc/vfstab, and make the following type of substitutions
on the non-commented lines:
Replace ``/dev/vx/[r]dsk/home'' with ``/dev/[r]dsk/c0b0t0d0s4''
Replace ``/dev/vx/[r]dsk/var'' with ``/dev/[r]dsk/c0b0t0d0sb''
Replace ``/dev/vx/[r]dsk/home2'' with ``/dev/[r]dsk/c0b0t0d0sc''
Replace ``/dev/vx/[r]dsk/tmp'' with ``/dev/[r]dsk/c0b0t0d0sd''
You should also comment out any other ODM-defined slices.
then edit /etc/swaptab, replacing ``/dev/vx/dsk/swapvol'' with ``/dev/swap''
where MAJOR and MINOR are the major and minor numbers displayed by the ls in the previous step.
If you changed the initdefault entry in Step 4, then you do not need to interrupt the reboot. If you did not change the initdefault entry, when you see the UnixWare logo appear, immediately press <Space> to enter the Bootstrap Command Processor. Enter the command initstate=1, followed by boot. This will cause the machine to boot into single-user mode.