how_to_clone_tru64_and_digital_unix
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
how_to_clone_tru64_and_digital_unix [2018/12/11 16:05] – sgriggs | how_to_clone_tru64_and_digital_unix [2018/12/11 17:02] – [Fix the Sysconfigtab] sgriggs | ||
---|---|---|---|
Line 212: | Line 212: | ||
Another file you //might// have to alter is your **/ | Another file you //might// have to alter is your **/ | ||
+ | |||
+ | |||
+ | === Final Steps === | ||
+ | |||
+ | Insure that you have completed these steps. | ||
+ | |||
+ | - Install the boot loader using disk label | ||
+ | - Edit the disklabel on your target disk | ||
+ | - Re-create UFS or AdvFS file systems | ||
+ | - Copy files over from the original | ||
+ | - Fix the **/ | ||
+ | |||
+ | You should have done all these steps before you attempt the new disk. | ||
+ | |||
+ | ==== Final Boot ==== | ||
+ | |||
+ | Now the system is ready to reboot. You probably want to understand a bit of interaction with what we call the SRM console. The main thing you want to do is to check the values of the following. | ||
+ | |||
+ | - **show dev** This will show you all the devices (NICs, HBAs, and of course disks). You need to know which disk is your target versus destination disk. The device list should have clues like the manufacturer name and the device model. | ||
+ | - The **boot** command takes the disk name as an argument. For example: "boot dka0" or "boot dqa0" would boot each of those disks respectively. Also, if you'd like to try single user mode you'll want to use the "-fl s" argument to boot into single user mode (if you do then remember to use **bcheckrc** command to make single user mode usable). | ||
+ | - The **show** command is the compliment of the **set** command. These allow you to view and alter the names of SRM variables which alter boot and system behavior. | ||
+ | - Understand the variables that matter most like **BOOTDEF_DEV** which points to the default boot device on the system. Another you might want to understand is **AUTO_ACTION** which governs if the system will automatically try to boot up the system or halts at the SRM chevron prompt. The action names are **boot** or **halt**. | ||
+ | |||
+ | So, what do you normally need to do? Try to boot the clone but don't yet change the default boot device until you are ready to completely switch over to the clone. | ||
+ | |||
+ | ==== Troubleshooting | ||
+ | |||
+ | Cloning was something that DEC intended folks to use **sysman** for. Unfortunately, | ||
+ | |||
+ | ===== The Drive will not Boot ===== | ||
+ | |||
+ | If you issue the **boot** command from the SRM console but you never see the kernel line saying "UNIX Boot" then you probably had an issue with the boot sector. Do the following. | ||
+ | |||
+ | - Re-mount the target disk and make double sure that you have the kernel on the root file system. These would be in the form of two files named **vmunix** and **genvmunix**. Without a kernel, you can't boot the system. They should be there as a result of your file copy effort. | ||
+ | - Unfortunately, | ||
+ | |||
+ | ===== It Hangs During Boot ===== | ||
+ | |||
+ | Depends on why and where it hangs. The most common issues are these. | ||
+ | |||
+ | - You forgot to edit out some kind of reference to the swap device. Check the post-copy steps again. One of the startup scripts probably tried to activate swap on a device that won' | ||
+ | - You are using UFS and you forgot to fix the reference to the **/ | ||
+ | - Make sure your copy method preserved all the permissions, | ||
+ | - Do NOT try to eliminate one of the AdvFS file domains. As mentioned earlier, the startup scripts reference both **root_domain** and **usr_domain** and if you change their names or eliminate one of them the startup scripts will fail. | ||
+ | |||
+ | If you have problems beyond the ones documented, then consider contacting PARSEC for some consulting work to help you! | ||
+ | |||
+ | |||
how_to_clone_tru64_and_digital_unix.txt · Last modified: 2023/09/08 23:04 by sgriggs