#linux #nvidia #sabayon

Sabayon – nvidia-drivers with old radeon

If You have an older nvidia graphics card you may run into problems trying to install/use Sabayon linux. For example : 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) If you get an error during Sabayon live CD install, try to boot with nvidia kernel module disabled. Edit the kernel parameters at the boot menu, adding: modprobe.blacklist=nvidia xdriver=vesa The newest binary nvidia drivers may not support you card if it is to old. ...

#linux #mdamd #raid

Add a drive to raid1

First get information about the raid array: cat /proc/mdstat Then get information about the drive you’re going to add fdisk -l /dev/DISK_TO_ADD If there are any partitions, delete them and create a one new primary partition with type fd – Auto RAID Add the prepared drive to the array: mdadm --add /dev/RAID /dev/DISK_TO_ADD And expand it: mdadm --grow /dev/RAID --raid-devices= N+1 # N - the number of drives in the raid array before the expansion Seat comfortable and watch the raid being rebuilded: ...

#daemon #linux

ntpd – don’t run late…

NTPD is a daemon that is using the NTP (Network Time Protocol) to synchronize you local watch with servers. NTPD is not changing the time after the synchronization. It calculates the difference (offset) between remote timer and the local one and after that adjusts the timer several times to minimize the offset. Install ntpd on Gentoo/Sabayon emerge ntp vim /etc/ntp.conf #change servers used for sync vim /etc/conf.d/ntpd #set daemon options /etc/init. ...

#bash #linux #redline #tricks

Bash tricks – Some of the useful bash shortcuts

The bash tricks list: Quick cd to previous directory cd - Set the default text editor echo ‘export EDITOR=“vim”’ >> ~/.bashrc Change the default history size (number of commands that are saved) echo “HISTSIZE=2000” >> ~/.bash_profile echo “HISTFILESIZE=2000” >> ~/.bash_profile Find and run a command from history history | grep search_keyword !n #where n is the command number or you can use CTRL-r ...