Category Archives: Lintop

4. Lintop – Safety first – Automated backup with Clonezilla booting from USB drive

After I installed and setup some apps on my Lintop system like the sysnergy-project I thought: “What the hell happens if this installations for any reason may be corrupted?” I would need to setup everything again. This means hours of work and sometimes you even can’t remember how exactly you configured an app to get it to work. A backup would be great, or?

So but how to backup and what to backup?  I read the Ubuntu community post about backupYourSystem.

I came to the conclusion that I need:

  • an automated backup approach with as less manual interaction as possible
  • full backup of the whole disk
  • a backup into an image not a clone. So I save space and can have more than one backup
  • a solution which can be booted via USB

and for this I decided to used Clonezilla.

Environment:

  • Lintop with Ubuntu 14.04.2
  • USB Stick
  • Backup USB drive with 1 TB  capacity

1. Prepare a backup USB drive

I connected the backup USB drive to Ubuntu and created one big partition with the pre-installed gnome disks tool “disks”. I created NTFS as file system. You can choose any file system Clonezilla is able to mount.

Backup_USB_drive

 2. Create a bootable USB stick with Clonezilla

There is a nice tool called Tuxboot which creates everything you need. So lets install it first.

I used these step for Ubuntu:

Connect your USB drive and use “disks” tool to create a partition with FAT file system. Mount it.

format_usb

Run tuxboot (Version 0.7)

The default settings worked for me.

!!! Choose the right USB device !!! /dev/sdc in my case.

tuxboot-config tuxboot_done

In my case I am using the UEFI boot with Lintop so I am editing the /EFI/boot/grub.cfg

Open the grub.cfg with a texteditor (gedit for example).

(optional) set timeout=”30″ to a smaller value “5”

Copy and paste the menu entry from Clonezilla-EFI-boot-grub.cfg into your grub.cfg just before the first menu item

which should start like:  menuentry “Clonezilla live (Default settings, VGA 800×600)”

and save the file.

So what are we doing here?

The most important parts are:

ocs_live_run=ocs-sr -q2 -j2 -z1p -sc -p poweroff savedisk autoname sda”

This runs Clonezilla ocs-sr and use partclone (-q2) in first place to backup the device /dev/sda (Os disk in my case). -j2 means clone hidden data with dd, -z1p parallel gzip, sc skip the check, -p poweroff turns of the pc after the backup, savedisk means a whole disk, autoname generates a name for your backup image.

ocs_prerun=mount /dev/sdb1 /home/partimag/

This mounts the backup USB drive at /home/partimag which is a default location for the disk images used by ocs-sr.

Example:

grub_cfg

For a complete list of Clonezilla ocs-sr parameter go here.

3. Run the backup

In my environment I’ll do backups before i stop working in my home office. So I restart my Lintop machine, put in the USB drive and go sleep. Lintop boots from the USB stick and automatically starts the Clonezilla backup to the backup USB drive. When it is finished it powers off.

Done.

Go CEPH.

 

 

 

3. Lintop – One keyboard/mouse to rule them all – Synergy-project.org

On top of my desk there are to PC systems right now. A Windows 8.1 box which is capable to run “apps” in full screen mode 🙂 and the Lintop Ubuntu box. I searched for a solution which enables me to use just one keyboard/mouse but control both screens. I found the Synergy project. This is really a cool solution and worth the few dollars.

Watch this video to understand how it works.

Some points why this is great for me:

  • If you are in full screen mode playing a shooter (Windows) -> The mouse will not jump to another box.
    • But if you press “Esc”, so a mouse pointer will be shown -> you can jump to the other screen
    • The game will not be minimized  when you set “Don’t take foreground window on Windows servers”
  • define smaller areas where to jump to another box and where not to jump
  • Multiple screen support
  • Copy&Paste clipboard from one box to the other
  • MacOS, Linux and Windows support

A screenshot of my simple configuration:

Synergy

Go fio,

2. Lintop – long live the Queen or “GO Ubuntu”

In the last days I thought about which OS I would like to install on Lintop. My main desktop is Windows 8.1 so I decided to use Ubuntu 14.04.2 LTS desktop version. For sure there are a lot of distributions which could do the job and my decision is based on the following requirements:

Screenshot from 2015-07-29 13:03:30

I read about the Gnome vs Unity fight and there have been some comparisons between them like LinuxUser. But I go with Ubuntu/Unity just because I used it 2 years ago and liked it.

Go docker trusted registry!

1. Lintop – A new world – Linux desktop based on ASRock Q1900m µATX

Today i received my new linux desktop based on ASRock Q1900m. I ordered this hardware because I need a linux environment which can run all day without draining hundreds of watts per hour.

IMG_3266_neu

So a new world is born: Lintop (Linux desktop)

Because I will run some minor performance tests with this machine it is important to define the exact hardware and firmware.

This Silvermont (Bay Trail-D) based system with the J1900 provides:

  • SOC (System on Chip) architecture
  • J1900 @2Ghz
  • DRAM – DDR3L 1333
  • Gen 7 Intel HD Graphics
  • 6-port SATA AHCI Controller
  • High Definition Audio Controller

Lintop Hardware

ItemDescriptionFirmwareDriverHints
MS-Tech LC-01µATX Slimline dekstop chassi--Chassi fan regulated by CPU temperature
ASRock Q1900MµATX Mainboard with Intel Q1900 CPU1.50-Intel Speedstep - ON
CPU CStates - C7
C1E -ON
XD-Bit - ON
Intel-vt - ON
16GB Kit Crucial Ballistix SportDDR3-1600 DRAM (2x 8GB)--
SanDisk X110 256GB256 GB SATA SSD (6Gb/s)X231600 running at 3GB/s
(Mainboard limit)
ioScale 410 GB Fusion-IO (SanDisk) PCIe Flash drive7.1.173.2.11running at PCIe v2 x1 lane (Mainboard limit)
Realtek 1Gbit/s (Onboard)1 Gbit/s Network Adapter -RTL8111/8168/8411rtl8168g-2_0.0.1rtl8168g-2_0.0.1
Samsung SH224DBCD/DVD drive-

IMG_3269_neu