Tag: Debian

Raspberry Pi: Raspian disadvantages of embedded OS

The last 12 month have been a “golden” time of the upcomming embedded linux devices, but the custom OS’s offers some problems, you should know for projects: embedded PC’s like the ARM based pi2 / pi3 uses a own compiled OS not every known debian package is available not all compile scripts to rebuild are available on git slow performance can let you run into unuseable problems (heat, load, I/O), correct written scripts run into freezes without any error made by you! you should take time for a closer look at buying them calc the costs of non-x86 systems, later […]

Ubuntu Debian: Installer Messages during Installation Realtime Debug Installer Mode

If you boot your PC on a Setup CD into “live” mode after some time the Desktop Unity or Gnome starts. After successful testing the PC with the current Drivers and Kernel you can select “Install” by pressing the icon left on the desktop. But here the Problem appear that you dont see any informations about bugs, crashes, or other major messages during the setup. Without this you are not able to find any errors later, or you cant tell a supporter what happend! Workaround (#comments!): Always open a gnome-terminal as first step instead of pressing the installer icon! move the gnome-terminal […]

Debian: Update SSD Firmware without CDROM

If you want to update the SSD Firmware of a device you should know some things: Do you REALLY need the update? Bugs? If NOT exit here! Firmwareupdates can destroy DATA on Drives! Data cant be restored if the Controller fails after Update Downgrade a Firmware to older is most IMPOSSIBLE!! .. now you need a USB Stick 4GB and the ISO File of the Firmware Disk of the Manufacter then open the Gnome Terminal or Console and: $sudo su – #become root $apt-get update && apt-get install unetbootin gparted # install the tools $dd if=/dev/null of=/dev/sdc bs=10240 count=1 # […]

Ubuntu Debian Samsung SSD secure erase with Linux

If you use a Samsung (possible others brands same howto) SSD and you want to secure erase the SSD for reuse or resale (better destroy it!!!) do: Insert your Debian/Ubuntu Setup CD/Stick Boot into Live/Setup Mode open Gnome Terminal or Console and enter $sudo su – #to be root then enter.. $ apt-get update && apt-get install hdparm # get the tool $ sudo fdisk -l # show drives $ sudo hdparm -I /dev/sda #show drive Infos and lock for "frozen" state!!! shoud be not frozen/locked $ sudo hdparm –security-set-pass NULL /dev/sdb # set the "NULL" password to UNLOCK the […]

Ubuntu: Libreoffice Calc slow scrolling Intel HD Graphics

On Libreoffice 4.3.X and earlier a lot of users post problems or freezes of scrolling inside Documents This seems to be a bug inside Libreoffice and Cache Handling or 3D Handling to Intel HD Solution: Add last ppa sources to the System to pull newest Version: Open Gnome Terminal / Console enter: sudo add-apt-repository ppa:libreoffice/ppa && apt-get update && apt-get dist-upgrade -y To pull last from PPA Source Tree and install Libre Office 4.4.X which i tested successful

Debian: Auto Update System Daily without special Tools

If you want to have a full automatic Update on your System then open a Gnome Terminal / Linux Console run (# Comments): $sudo nano /root/update.sh enter: #/!bin/bash apt-get update #pull updates apt-get dist-upgrade -y # install updates apt-get clean #clean update database for next pull to have clean source urls exit 0 save with CTRL+X # save+Exit $sudo chmod 755 /root/update.sh # make able to run Setup Timeplan: $sudo su –  # change to root users console with environment $crontab -e  # open root timer enter: @daily sh /root/update.sh > /dev/null 2>&1 save with CTRL+X and be happy the […]

Ubuntu Vivid Debian: Kernel I/O Errors SSD SATA NVIDIA Chipsets

If you use a PC with a SSD Drive and a Motherboard which uses NVIDIA chipsets you may see Errors on boot Command “dmesg” Output like.. Buffer I/O error on device sdc, logical block 41 ata5: EH complete ata5: EH in SWNCQ mode,QC:qc_active 0x1 sactive 0x1 ata5: SWNCQ:qc_active 0x1 defer_bits 0x0 last_issue_tag 0x0 dhfis 0x1 dmafis 0x1 sdbfis 0x0 ata5: ATA_REG 0x41 ERR_REG 0x84 ata5: tag : dhfis dmafis sdbfis sactive ata5: tag 0x0: 1 1 0 1 ata5.00: exception Emask 0x1 SAct 0x1 SErr 0x300000 action 0x6 frozen ata5.00: Ata error. fis:0x21 ata5.00: cmd 60/08:00:07:04:00/00:00:00:00:00/40 tag 0 ncq 4096 […]

Ubuntu: Recover Data from old Luks Encrypted HDD to new HDD

If you prefer to use encrypted Devices you ran into a problem if you try to move, migrate or recover the files from the old luks protected home. As normal User you should know that luks is used with LVM2 Logicial Volume Manager, which manages the partitions “named based”. Major Info! Ubuntu prename the volume group with the Setup-DVD all time to the same VG_NAME called “ubuntu-vg”!!! So what do you need to migrate or recover? Download the ubuntu DVD and burn it to a disc Insert the new HDD to the Sata1 Port Plugin the ubuntu DVD for Setup […]

Ubuntu Debian: Setup on older Hardware NO UEFI Workaround Black Screen No Boot

Todays current Hardware Bios uses a new Software Interface to boot. Thats called “UEFI” Newer Linux Versions Support this Hardware Setup by default! BUT these settings makes users (Newbies/Office Users) mostly impossible to setup the System on older Hardware, cause the “Setup Routines” does not detect the older Bios! Here the User must interact manual to force the Setup! Cause the Setup tries to create a Harddrive Partition with a seperated UEFI Partition! See “parted” output on Console! Now if your Setup is made and you Reboot a older Non-UEFI PC you run into “Black Screen”! Especiallly if you setup […]

Debian Ubuntu Laptop mods for SSD HDD and a full encrypted with luks

Major INFO 06-2015: Do not set tmpfs on ubuntu 15.XX or Systems with systemd!!! This block PC boot !! If you want to setup a Ubuntu/Debian Laptop with a full encrypted HDD use a “alternate” CD/DVD. After Setup you have to change some little Parameters to extend the lifecycle of the SSD Chips disable Swap if you have more than 4GB Ram enable a RAMDISK with tmpfs for logs, caches of Browsers install cpufrequtils for CPU freqscaling install laptop-mode-tools to set powersave mode for hardware modules install xbacklight to reduce backlight energy Steps: open a Console and change to root […]

Ubuntu 13.04 Bug: gvfs smb Nautilus freeze hangs on copy files from a Samba Share

gvfs-smb Bug #1075923 (seen on Debian+Ubuntu+Centos..more..) Workaround: downgrade gvfs-* to Version 1.12 of 12.10 with: add /etc/apt/sources.list deb http://de.archive.ubuntu.com/ubuntu precise main deb-src http://de.archive.ubuntu.com/ubuntu precise main run: sudo apt-get update install synaptic: sudo apt-get install synaptic run synaptic: sudo synaptic remove all gvfs-* nautilus with synaptics (REALLY CHECK ALL! see “dpkg -l | grep gvfs”) search gvfs-*, select, press CTRL+E (Force Menu) select: gvfs-* Versions 1.12 install by run install button search and install nautilus again.. Voila…Test Nautilus copy 1TB Files without freeze

Debian Linux Wheezy: Partitioning 3TB Hard Drives with GPT Table (fdisk show 2TB max.)

Problem: On Debian Linux the brand new 3TB SATA Drives only seen as 2TB Drives by fdisk Background: GPT Partition Table must be used as new technology Solution: install “gdisk” the GPT Tool for big Drives with #sudo aptitude install gdisk clean the new Drives first Table Headers with #sudo dd if=/dev/zero of=/dev/sdb count=1 bs=512 run now #sudo sgdisk /dev/sdb Command is “sgdisk” not “gdisk” = its Paket Name same on other Linux/BSD Systems on Windows use Paragon Tools

Linux FreeBSD: Protect your Disc Data against power loss

Problem: If you use IDE or SATA Disc Drives inside your Workstation or Server without a additional uninterruppted power supply after a power loss your Disc Drives can lose data, do not boot clean up agian or damage the drive headers and sectors. Background: SATA or IDE Drives uses “Disc Cached Controllers”, the count of this disc cache reach from 8 to 64 megabytes. In case of data write to disc, the disc controllers do cache some data who are often used. A Raid 1 Disc Mirror is affected too by this problem. SCSI od SAS are not using Cache […]

Debian Linux: Squeeze ATI Mobility M7 xorg.conf Thinkpad T30 Performance

Problem: Squeeze fglrx does not support older ATI Chips (If i view Flashvideos the CPU usage hold at 100% after change 25-30% usage !) Solution: sudo nano /etc/X11/xorg.conf and paste Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "built-ins" EndSection Section "Module" Load "extmod" Load "glx" Load "dri" Load "dbe" Load "record" Load "dri2" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" […]

Debian Linux: Squeeze ATI Fire GL T2 Thinkpad R50p xorg.conf with 3D

Problem: Squeeze Kernel does not Support older ATI chips with fglrx Solution:  edit  with sudo nano /etc/X11/xorg.conf  and paste (Remark: use Driver “ati” for 3D , use “radeon” for sometimes faster flashvideos) Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "built-ins" EndSection Section "Module" Load "extmod" Load "dri2" Load "record" Load "dbe" Load "glx" Load "dri" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "xkblayout" "de" EndSection Section "InputDevice" Identifier […]

Impressum Datenschutz-DSGVO-GDPR

www.linuxonlinehelp.eu - Nonprofit Linux PC & Server Support since 2004 Tags: Linux Online Help, Linuxonlinehelp, Linux Support, Linux Hilfe