Download the Intel network adapter driver I211 from here and follow the instructions from the README file:
tar xvfz igb-126.96.36.199.tar.gz
sudo apt install libelf-dev
sudo make install
sudo rmmod igb
sudo modprobe igb
sudo update-initramfs -u
Here are the commands to fork a GitHub repository and push it with all the commit comments to a GitLab repository.
>> git clone GitHub-repository.git
>> cd GitHub-repository
>> git remote rename origin old-origin
>> git remote add origin email@example.com:your/repo.git
>> git push -u origin --all
>> git push -u origin --tags
Update submodules to the latest versions:
>> git submodule foreach git pull origin master
This time I faced another problem: I had a voucher for a Lidl foto album, created one and wanted to store it on my NAS file server for backup reasons. I searched for the Lidl workspace directory on my harddisk and couldn’t find anything. Also a Google Search and reading the Lidl help site brought no solution. So I had the idea of downloading “Sandboxie” – sandboxed the Lidl app and tracked the folders that were loaded. Here is the result:
To reset your SD card from a Raspberry Pi partition to the default state follow these instructions:
Open a Windows command line shell
diskpart> list disk
diskpart> select disk #
diskpart> create partition primary
diskpart> format fs=fat32 quick
Now you have successfully resetted you SD card.
I got a new Android phone and had the problem that during copy process from the old to the new smartphone the file dates of my images changed to the current date. The gallery app showed them all under the same month… The following script helped me to overcome this problem, just follow the instructions presented in the readme file.
Here is the code: https://code.huber.xyz/pub/image-date-handler
I got a new and bigger HDD for my webserver and so I decided to clone my existing one (128GB) to the new one (512GB). The best thing was that I didn’t need to install and configure all my applications again, so here is a short manual that worked in my case.
- Download Ubuntu Desktop
- Create a bootable USB disk with Rufus
- Start from USB disk and choose “Try Linux from bootable media”
- After Linux has started open a terminal and enter the following commands to copy the disk layout:
>> sudo bash [go to superuser mode]
>> fdisk /dev/sda [source disk]
>> o [dump disk layout to file]
>> q [quit]
>> fdisk /dev/sdb [destination disk]
>> d [delete]
>> I [load disk layout from currently saved sda layout]
>> w [write layout]
- Now clone all data from the source disk to the destination disk by following this command:
>> dd if=/dev/sda1 of=/dev/sdb1 bs=64K conv=noerror,sync [blocksize 64K, don't stop on error and keep syncing] Don't mix up input and output disk!!!
- Now you have to make the destination disk bootable again:
>> mount /dev/sdb1 /mnt
>> grub-install --root-directory=mnt /dev/sdb
- If all worked correctly you can optionally open gparted and resize the cloned partation to your needings.