How to I move the disk containing Solaris from the ATAPI primary master controller to the secondary controller or slave connector (or both)?

How to I move the disk containing Solaris from the ATAPI primary master controller to the secondary controller or slave connector (or both)?


  • Move the disk with Solaris to the new location
    (secondary master controller or primary or secondary slave controller).
  • Boot from the "1 of 2" Solaris installation CDROM
  • mount the root boot partition at /mnt
  • Reconfigure the device tree:

    drvconfig -r /mnt/devices
    devlinks -r /mnt
    disks -r /mnt

    Verify that the links /dev/dsk/c1d0s* to ../../devices/*
    exist.
  • Type "rm /etc/path_to_install"
      (or remove all lines but comments in this file)
  • Edit file /boot/solaris/bootenv.rc.
    For example if you're moving from the primary master to
    secondary master, change "ide@0" to "ide@1":


    setprop bootpath '/pci@0,0/pci-ide@4,1/ide@0/cmdk@0,0:a' to


    setprop bootpath '/pci@0,0/pci-ide@4,1/ide@1/cmdk@0,0:a'
  • Remove the CDROM and /usr/sbin/reboot
    (if you removed /etc/path_to_install
    then, at the booting Solaris prompt, type "b -a")



Once Solaris is on the secondary master, you must enable booting to it.
Here's three methods:


  • Change the BIOS settings to boot to D: (the secondary master)
  • Boot from the DCA diskette on A: and choose the secondary master device.
  • If you have Linux LILO on the primary master, you can add an entry
    to /etc/lilo.conf similar to the following
    (and type /sbin/lilo on Linux to re-read the new lilo.conf
    file):

    # Solaris 2.7 in secondary master booted by Linux Red Hat 6.1
    # /boot/chain.b simply starts the boot sector on the specified partition.
    # /dev/hdc1 is the first partition on the third (hdc) disk.
    other = /dev/hdc1
    loader = /boot/chain.b
    label = solaris




[Thanks to Michael Wang and Alexander Yu]




Home
FAQ