Monthly Archives: November 2015

APU2B4 and Ubuntu Server 15.10

Boot From SD

Disk /dev/sdc: 3.7 GiB, 3980394496 bytes, 7774208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x672847fd

Device    Boot     Start       End Blocks  Id System
/dev/sdc1 *            0   1294335 647168   0 Empty
/dev/sdc2         261440    265983   2272  ef EFI (FAT-12/16/32)

Command (m for help): q
$ file -sL /dev/sdc1
/dev/sdc1: # ISO 9660 CD-ROM filesystem data 'Ubuntu-Server 15.10 amd64' (bootable)

$ mount /dev/sdc1 /mnt
mount: /dev/sdc1 is write-protected, mounting read-only

==> use unetbootin

How to repair an SD card which shows incorrect size?
SD Card interpreted as wrong size

# cat /proc/partitions
# cfdisk /dev/sdc => Type 0b (W95 FAT32)
# mkfs -t vfat /dev/sdc1
SeaBIOS (version rel-1.8.0-181-g0af5958)
XHCI init on dev 00:10.0: regs @ 0xfeb22000, 4 ports, 32 slots, 32 byte contexts
XHCI    extcap 0x1 @ feb22500
XHCI    protocol USB  3.00, 2 ports (offset 1), def 0
XHCI    protocol USB  2.00, 2 ports (offset 3), def 10
XHCI    extcap 0xa @ feb22540
Found 2 serial ports
Searching bootorder for: /pci@i0cf8/*@14,7
EHCI init on dev 00:13.0 (regs=0xfeb25420)
Searching bootorder for: /rom@img/memtest
Searching bootorder for: /rom@img/setup
Found sdcard at 0xfeb25500: SD card SD04G 3796MiB
XHCI no devices found
Initialized USB HUB (0 ports used)
All threads complete.
Scan for option roms
PCengines Press F10 key now for boot menu:
Select boot device:

1. SD card SD04G 3796MiB
2. Payload [memtest]
3. Payload [setup]

Searching bootorder for: HALT
drive 0x000f5850: PCHS=0/0/0 translation=lba LCHS=964/128/63 s=7774208
Space available for UMB: c1000-ef000, f0000-f5850
Returned 262144 bytes of ZoneHigh
e820 map has 7 items:
  0: 0000000000000000 - 000000000009f800 = 1 RAM
  1: 000000000009f800 - 00000000000a0000 = 2 RESERVED
  2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
  3: 0000000000100000 - 00000000dffae000 = 1 RAM
  4: 00000000dffae000 - 00000000e0000000 = 2 RESERVED
  5: 00000000f8000000 - 00000000fc000000 = 2 RESERVED
  6: 0000000100000000 - 000000011f000000 = 1 RAM
enter handle_19:
  NULL
Booting from Hard Disk...
Booting from 0000:7c00

ISOLINUX 6.03 20150813 EHDD Copyright (C) 1994-2014 H. Peter Anvin et al
Loading bootlogo...

Initializing gfx code...
graphics initialization failed
Error setting up gfxboot
boot:
Undefined video mode number: 314
Press <ENTER> to see video modes available, <SPACE> to continue, or wait 30 sec
Mode: Resolution:  Type:
0 F00   80x25      CGA/MDA/HGC
Enter a video mode or "scan" to scan for additional modes:

Old => wrong syslinux.cfg

Installation von Ubuntu 14.04 auf PC Engines APU
APU + Ubuntu 14.04 LTS – install via serial console

Better syslinux.cfg

Re: Install Debian Squeeze on Alix 2d2 over Serial Console

label ubnentry1
menu label ^Install
kernel /install/netboot/ubuntu-installer/amd64/linux
append initrd=/install/netboot/ubuntu-installer/amd64/initrd.gz vga=788  --- quiet
label ubnentry1
menu label ^Serial Install
kernel /install/netboot/ubuntu-installer/amd64/linux
append priority=low console=ttyS0,115200n8 video=off initrd=/install/netboot/ubuntu-installer/amd64/initrd.gz --

SSD doesn’t work => use SD card as boot loader?

syslinux.cfg:
label ssd
com32 /isolinux/chain.c32
append hd0

boot error:
/isolinux/chain.c32: not a COM32R image
boot:
# D-I config version 2.0
CONSOLE 0
SERIAL 0 115200 0

default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
kernel /install/netboot/ubuntu-installer/amd64/linux
append console=ttyS0,115200n8 video=off \
initrd=/install/netboot/ubuntu-installer/amd64/initrd.gz \
tasks=standard pkgsel/language-pack-patterns= \
pkgsel/install-language-support=false --
# D-I config version 2.0
CONSOLE 0
SERIAL 0 115200 0

default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
kernel /install/netboot/ubuntu-installer/amd64/linux
append console=ttyS0,115200n8 video=off initrd=/install/netboot/ubuntu-installer/amd64/initrd.gz tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false --

GRUB2 Serial Console

How to install Ubuntu using serial console
Grub2: Booting from a serial console

# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"

update-grub2

Getty with systemd

systemd for Administrators Part XVI: Gettys on Serial Consoles (and Elsewhere)
How to get kernel messages on serial console on a systemd system?
How to invoke kernel with serial console?

To make use of a serial console, just use console=ttyS0 on the kernel command line, and systemd will automatically start a getty on it for you.

Buchhaltung / Rechnungswesen / Accounting

Bundesgesetz über die direkte Bundessteuer (DBG)

Art. 71

Schweiz

Vereinsbuchhaltung

Internaltional

GNU Cash
The GNU Accounting Utilities
Top 10 Linux financial tools

  • Gnucash
  • KMyMoney
  • Moneydance
  • Appgen MyBooks
  • Nolapro
  • Linux Business Accounting Systems BasicBooks
  • Quasar Accounting
  • SQL-Ledger
  • Rapid Graphing Software for Technical Analysis of Stocks and Commodities
  • Crossover Office

5 Best Open Source Accounting Software for Small Business

  • GnuCash
  • SQL Ledger
  • XTuple PostBooks
  • Compiere
  • Turbo Cash

Linux – Accounting Software

Kontierungsrahmen / Kontenrahmen

Kontierungsrichtlinien Kontenrahmen KMU (PDF)
KONTIERUNGSRICHTLINIE KMU KONTENRAHMEN (PDF)

Rechnungswesen

Aktivierung