Welcome to LinuxScrew

A site for Linux lovers worldwide. For newbies, system engineers, administrators, and everybody in between. We cover all things Linux, plus various programming languages, including Python, Javascript, and PHP.

View our featured tutorials and projects in the slider below or scroll down to see all recent articles.

Browsing the Internet on a 1989 Macintosh II with a Web Rendering Proxy
DIY Raspberry Pi Powered Pinball Machine [Kitchen Build]
Installing Pi-Hole Ad Blocker on a Raspberry Pi Zero
Browsing the Internet on a 1993 Windows 3.11 All-In-One PC
Rasperry Pi RetroPie Emulation Station Install Walkthrough (Video Games on Pi)
previous arrow
next arrow
Slider

Move linux to another hard drive (dump, restore, backup)

There are several methods to move running Linux to another hard drive at the same server. But I used Unix dump/restore utility to perform this… First of all it’s necessary to partition new hard drive in the same way as it’s done with old drive (Linux is running at). I usually use ‘fdisk’ utility. Let’s assume that old drive is /dev/hda and new one is /dev/hdb. To view hda’s partition table please run ‘fdisk -l /dev/hda’ which should show something like this: Disk /dev/hda: 60.0 … Read more

Autostart programs in Ubuntu

Ubuntu newbies sometimes ask how to add certain program into startup or autostart. Actually it usually happens with ex-Windows users 😉 Answer: To make program start just after user logins Gnome, go to “System” menu, then choose “Preferences” and select “Sessions”: Then press button “Add”, type application name, command to start it (it’s location like /usr/sbin/local/liferea), and press “Ok” and then “Close”. After next login to Gnome application will start. It works with any Linux distro running Gnome as Desktop manager. Update: Recent versions of … Read more

How to create custom linux ISO image?

It’s rather trivial task to make some changes into already burned installation or live CD. It may be performed to add some files to this CD or edit files on it. In any case it’s impossible to loop mount .iso file and then save it as iso9660 filesystem is read-only. So, just mount your CD or iso image to some directory by commands: sudo mkdir /mnt/image sudo mount /dev/cdrom /mnt/image or sudo mount /path/to/your.iso /mnt/image -o loop then copy it’s contents to some directory: mkdir … Read more

Moving Linux to remote server (over ssh via third server)

Source: server running rather obsolete Fedora Core 1 with Apache, sendmail, ftp and other stuff. Target: any Linux server with at least one hard drive of appropriate disk space installed (in this case target server was running Knoppix). Third server: any ssh running system. First of all it’s necessary to get all servers to be accessible to each other via ssh. Read your distribution’s manual to find out how to achieve it. There are several possible ways to move Linux to another server by means … Read more