How to install Arch Linux

In this lesson we install Arch Linux on encrypted btrfs volume step by step.

1. Show all volumes on hard drive:

ls /dev/sd*

2. Delete all volumes on drive /dev/sda

fdisk /dev/sda

Next write letter (d) -> number of volume and then write changes (w)

3. Create some partitions with command cfdisk:
– First partition: 256M, type: EFI System
– Second partition: 512M
– Third partition: full size of disk

Write changes, type yes and exit from cfdisk.

4. Now let’s create file system and encrypt on our partitions:

mkfs.vfat -n "EFI System" /dev/sda1
mkfs.ext4 -L boot /dev/sda2
mkfs.ext4 -L root /dev/sda3

We successfully created three partitions – efi, boot and root.

Now we need to encrypt our root partition:

modprobe dm-crypt
modprobe dm-mod
cryptsetup luksFormat -v -s 512 -h sha512 /dev/sda3

Type YES in capital letters and password for encrypted partition.

Arch Linux - Cryptsetup

5. Open our encrypted partition:

cryptsetup open /dev/sda3 archlinux

6. Create btrfs partition on our encrypted partition:

mkfs.btrfs -L root /dev/mapper/archlinux

7. Mount

mount -t btrfs /dev/mapper/archlinux /mnt
cd /mnt

8. Create subvolumes for btrfs partition

btrfs subvolume create root
btrfs subvolume create home
btrfs subvolume create snapshots

Go to / and unmount /mnt

cd /
umount -R /mnt

8. Mount

mount -t btrfs -o subvol=root /dev/mapper/archlinux /mnt

Create home and snapshots directories:

mkdir /mnt/home
mkdir /mnt/snapshots

Mount home and snapshots directories

mount -t btrfs -o subvol=home /dev/mapper/archlinux /mnt/home
mount -t btrfs -o subvol=snapshots /dev/mapper/archlinux /mnt/snapshots

Create boot directories:

mkdir /mnt/boot
mkdir /mnt/boot/efi

Show partitions:

lsblk

Mount boot directories:

mount /dev/sda2 /mnt/boot
mount /dev/sda1 /mnt/boot/efi

9. Create swap file:

dd if=/dev/zero of=swap bs=1M count=1024
chmod 0600 swap
mkswap swap
swapon swap

10. Install Arch Linux to /mnt directory:

pacstrap -i /mnt base base-devel efibootmgr grub linux linux-firmware networkmanager vim mc 

11. Generate fstab

genfstab -U /mnt > /mnt/etc/fstab

12 Arch chroot to our new system:

arch-chroot /mnt

13. Change root password:

passwd

14. Uncomment locales in /etc/locale.gen file

vim /etc/locale.gen

Generate locale:

locale-gen
echo LANG=en_US > /etc/locale.conf

15. Configure grub boot loader

vim /etc/default/grub

In line GRUB_CMDLINE_LINUX=”” write this text:

GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda3:archlinux"

Change file /etc/mkinitcpio.conf: in line HOOKS add encrypt

HOOKS=(... encrypt ...)
mkinitcpio -p linux

Configure grub bootloader:

grub-install --boot-directory=/boot --efi-directory=/boot/efi /dev/sda2
grub-mkconfig -o /boot/grub/grub.cfg
grub-mkconfig -o /boot/efi/EFI/arch/grub.cfg

Configuration Cambium from command line

Default Cambium EMP 1000 IP: 169.254.1.1

Default user name: admin and password: admin

1. Open SSH terminal and connect to 169.254.1.1

2. Enable DHCP with command (1 – Static, 2 – DHCP):

config set networkLanIPAddressMode 2

Configure network IP, Mask and Gateway parameters:

config set networkLanIPAddr 10.20.124.10
config set networkLanNetmask 255.255.255.0
config set networkLanGatewayIP 10.20.124.1

3. Save configuration with command:

config save
config apply

4. Reboot devise for changes to take effect.

reboot 

Now you can open Web-browser and go to http://IP configuration page.

Change VGA resolution in Linux

1.First create modeline with your resolution

cvt 1680 1050

This will create modeline for resolution of 1600×900 which will look something like this:

1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync

2. To add this resolution to monitor settings, type the following command:

xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync

3. Next show your monitors list and find name of your monitor (VGA-1)

xrandr --listmonitors

3. And next write this command:

xrandr --addmode VGA-1 "1680x1050_60.00"

4. In Linux Mint, xorg.conf is not present by default and has to be created. This can be created only when x server is not working ie.  in console mode otherwise system will give error. Type these highlighted commands one by one in console mode:

Alt+Ctrl+F1 (switch to console mode)

sudo service lightdm stop (For Mint 12 Lisa users)

or

sudo service mdm stop (For Mint 13 Maya users)
sudo X -configure (generates new xorg.conf file)

5. To switch back to graphical mode, type:

sudo start lightdm (Mint 12 Lisa users)
sudo service mdm start (Mint 13 Maya users)

If above commands fail to bring back graphical mode, just restart your computer.

Cockpit – Web GUI for Your Linux Servers

Cockpit gives you a GUI for your server, which can be accessed via a web browser. Cockpit makes it easy to start containers, administer storage, configure networks, inspect logs, and perform system tasks with a mouse.

You can think of Cockpit like a graphical “desktop interface”, but for individual servers.

To install Cockpit on Debian / Ubuntu use command:

sudo apt install cockpit

Default Cockpit web port is 9090, don’t forget to allow access to this port in your firewall.

With Cockpit you can easy get access to server terminal from your Web-browser:

IDE controller GoldStar Prime 2

GoldStar PRIME 2 IDE I/O CARD Hard Disk/Floppy Controller.

Specifications:

Data bus:16-bit, ISA
Size:Half-length, full-height card
Hard drive supported:Two IDE(AT) Interface drives
Floppy drives supported:Two 360KB, 720KB, 1.2MB, or 1.44MB drives
FunctionLocationSetting
Floppy drive enabledJ1pins 1 & 2 closed
Floppy drive disabledJ1pins 2 & 3 closed
Floppy drive port address is 3F0-3F7hJ2pins 1 & 2 closed
Floppy drive port address is 370-377hJ2pins 2 & 3 closed
Hard drive enabledJ3pins 1 & 2 closed
Hard drive disabledJ3pins 2 & 3 closed
AT Hard drive port address is 1F0-1F7 & 3F6-3F7hJ4pins 1 & 2 closed
AT Hard drive port address is 170-177 & 376-377hJ4pins 2 & 3 closed
XT hard drive port address is 320-323hJ5pins 1 & 2 closed
XT Hard drive port address is 324-327hJ5pins 2 & 3 closed
IDE(AT) drives supportedJ6pins 1 & 2 closed
IDE(XT) drives supportedJ6pins 2 & 3 closed
Serial port 1 enabledJ7pins 1 & 2 closed
Serial port 1 disabledJ7pins 2 & 3 closed
Serial port 1 set to COM1 and IRQ4J8pins 1 & 2 closed
Serial port 1 set to COM3 and IRQ4J8pins 2 & 3 closed
Serial port 2 enabledJ9pins 1 & 2 closed
Serial port 2 disabledJ9pins 2 & 3 closed
Serial port 2 set to COM2 and IRQ3J10pins 1 & 2 closed
Serial port 2 set to COM3 and IRQ3J10pins 2 & 3 closed
Parallel port enabledJ11pins 1 & 2 closed
Parallel port disabledJ11pins 2 & 3 closed
Parallel port set to LPT1 and IRQ7J12pins 1 & 2 closed
Parallel port set to LPT2 and IRQ7J12pins 2 & 3 closed

Sound Blaster 16 WavEffects 4170

Sound Blaster 16 (June 1992), the successor to the Sound Blaster Pro, introduced CD-quality digital audio to the Sound Blaster line.

The Sound Blaster 16 WavEffects (CT4170) was released in 1997 as a cheaper and simpler redesign of the Sound Blaster 16. It came with Creative WaveSynth also bundled on Sound Blaster AWE64 Gold, a physical modeling software synthesizer developed by Seer Systems (led by Dave Smith), based on Sondius WaveGuide technology (developed at Stanford’s CCRMA).

The WavEffects line also supports CQM synthesis for Adlib/OPL compatibility.

More you can find in Wikipedia: https://en.wikipedia.org/wiki/Sound_Blaster_16

Here you can download Sound Blaster 16 manual:

Motherboard SFL 40V0 9247

Motherboard SFL 40V0 9247 designed in 1991.
Installed processor AMD Am386 SX-33

Back side:

On motherboard installed processor AMD Am386 SX-33 and Math co-processor: ULCI Systems 9244PA

The Am386 CPU is a 100%-compatible clone of the Intel 80386 design released by AMD in March 1991. Max. CPU clock rate 20 MHz to 40 MHz

More about this CPU you can find in Wikipedia: https://en.wikipedia.org/wiki/Am386

Motherboard Acorp 6VIA/ZX85

The 6BX85/6ZX85/6VIA85/6VIA85P is designed for the PC user’s who want many new key features processed by the fastest CPU in a economic package.

This motherboard:
New general CPU support :

– Intel Celeron (300AMHz500MHz) processor.
– Intel Coppermine (500MHz733MHz) processor.
– Socket: PGA370.
– CPU clock select support for 66/100MHz and up to 133MHz (6VIA 85P) CPU bus speed configuration.

Main features
Manufacturer ACORP
Mat chipset. Intel 440ZX
Socket 370 processor ppga socket
At board format, 22×22 cm

CPU support
Supports Intel Celeron Mendocino series processor types
Compatible processors
Bus frequency 66, 75, 83, 100 MHz
Multiplication is defined by the processor

Memory Support
Number of Simm/DIMM 0/2 slots
Max RAM 512 MB

Disk System
Support UDMA / 33 Yes
Slots for installing expansion cards
ISA / PCI / AGP 2/3/1 slots

Other features
BIOS Award BIOS

How to start mining Monero

Monero is a private, decentralized cryptocurrency that keeps your finances confidential and secure.

To start using Monero go to official website: https://www.getmonero.org/ and download one of the available wallets.

Then download mining software Xmrig form official Github repository: https://github.com/xmrig/xmrig

Select mining pool on site: https://miningpoolstats.stream/monero

And read instructions how to configure miner for current mining pool.