Uncategorized

How to install starcraft remastered on MX linux 19

Posted on

sudo dpkg –add-architecture i386 sudo cat >> /etc/apt/sourcelist.d/various.list # WineHQ deb https://dl.winehq.org/wine-builds/debian/ buster main ctrl + D sudo apt update sudo apt install libgnutls30:i386 libldap-2.4.2:i386 libgpg-error0:i386 wine-staging winetricks Download the Starcraft installer, then: WINEPREFIX=~/.wine WINEARCH=win32 winetricks corefonts WINEPREFIX=~/.wine wine StarCraft-Setup.exe

Command

Orange Pi resize file system

Posted on

Check partition name $ sudo fdisk -l Print partition information and Check first sector of second partition $ sudo fdisk -c /dev/mmcblk0 input “p” Delete target partition and Create partition based on before partition information input “d” – input “2” – input “n” – Input “p” – input “p” – input “2” – input “first […]

Command

nohup

Posted on

On Unix-like operating systems, the nohup command executes another command, and instructs the system to continue running it even if the session is disconnected. $ sudo nohup example-script.sh > log.out & Nohup is for a single use. Think of a script that will take a long time to run but will still ultimately finish. Maybe there’s a long and […]

Command

Find Alternative Superblocks and Repair

Posted on

Before running dumpe2fs, make sure to run df -hT command to know the filesystem device name $ sudo dumpe2fs /dev/sdaX | grep -i superblock dumpe2fs 1.41.11 (14-Mar-2019) Primary superblock at 0, Group descriptors at 1-29 Backup superblock at 32768, Group descriptors at 32769-32797 Backup superblock at 98304, Group descriptors at 98305-98333 Backup superblock at 163840, Group descriptors at […]

Tips

Siemens Drilling VFD HMI

Posted on

 얼마전 Drilling VFD HMI의 harddisk가 수명을 다해서 교체할 일이 생겼다. 데이터를 백업하고 새로 하드디스크를 구해서 꽂으면 될일 이지만, 기존 데이터 백업에서 문제가 생겼다, bad sector가 나지 않은 부분은 ddrescue 로 어찌 어찍 복구를 했는데, bad sector에 걸린 windows file을 정상인 HMI에서 복사하려니 windows administrator password 가 갑자기 필요해졌다. 부랴부랴 Vendor Engineer Contact시도!! 운이 좋게 빨리 […]