Archive:
Month: May 2024
Replacing linux system drive over EFI boot while expanding partitions
If only to replace a system drive, doing a dd of old drive to new drive will work. However, in most of cases the driving force of replacing drives is that the drive size is not big enough to host increasing size of system files. In this case, only doing dd will screw you up […]
Stop tcsh log in script from interrupting scp
If you are using tcsh shell, and your login script has screen output like an echo line, scp will be interrupted. To prevent this, knowing that for an interactive ssh session, it will open a tty, but embedded session like scp will not generate a tty. Thus this can be distinguished by checking if the […]