show all available packages via backports
aptitude search '~i ~Abackports ?not(~S ~i ~Abackports)'
Sweet Seals For You, Always
KIROKAZE
we're not kids anymore.
I'd rather be in outer space 🛸

No title available
cherry valley forever

#extradirty
taylor price
macklin celebrini has autism
todays bird

ellievsbear

@theartofmadeline

Janaina Medeiros

★
d e v o n
Jules of Nature
Cosmic Funnies

Product Placement
PUT YOUR BEARD IN MY MOUTH

roma★

seen from Singapore
seen from United States
seen from United States
seen from United States
seen from United States

seen from United States
seen from United States

seen from United States
seen from United States
seen from United States
seen from United States
seen from United States

seen from Malaysia
seen from United States

seen from Italy

seen from United States
seen from Israel
seen from Togo

seen from Togo
seen from United States
@dvaerghoffmann-blog
show all available packages via backports
aptitude search '~i ~Abackports ?not(~S ~i ~Abackports)'
No more blue-on-green backgrounds $LS_COLORS
While mounting windows filessystems, navigating through them within the shell can be a cumbersome experience as the default set-up for directories with executable bit (windows fs have no real representation for the unix rights system) is blue on green. Or in other words, unreadable. To change it set the ~/.dir_colors file and add an evaluation string to your ~/.zshrc or ~/.bashrc or whatever your shell requires..
dir_colors:
STICKY_OTHER_WRITABLE 01;33 # 01->bold OTHER_WRITABLE 01;33 # 33-> orange
your shell's rc:
eval `dircolor ~/.dir_colors` #can be dircolor -b for bourne shells
Partclone + Netcat
Step 1 covers the backup and restore procedure for the partition and 2 respectively the one for boot code and partition tables (hence bs=512, also known as MBR)
Backup
Source (device to be backuped):
[1] sudo partclone.ext4 -c -s /dev/sda1 | nc <target> <port> [2] sudo dd if=/dev/sda bs=512 count=1 | nc <target> <port>
-c = clone (aka read partition) -s = source
Target (device which receives the image):
[1] nc -l -p <port> | sudo partclone -C -r -o /<path>/<to>/<IMAGE> [2] nc -l -p <port> | dd of=/<path>/<to>/<MBR>
-C = ignore device size / free space (as it is supposted to be sent via nc) -r = restore -o = output to file
Restore
Source (device which holds the image):
[1] sudo partclone.ext4 -c -s /<path>/<to>/<file> | nc <target> <port> [2] sudo dd if=/<path>/<to>/<MBR> | nc <target> <port>
Target (device which shall be restored):
[1] nc -l -p 8889 | sudo partclone.ext4 -C -r -o /dev/sda1 [2] nc -l -p 8889 | sudo dd of=/dev/sda
simply dope!
UPDATE (Gummiboot): archlinux UEFI installation #032013
In my original post I went you guys through the whole installation process form zero to hero.
Like often, it' in the details. I wasn't too happy about the grub and efi constellation. The outcome of grub-mkstandalone was rather opaque to me and also error-prone as you had to execute it in the right path with the right grub.cfg. Lately my grub didn't survive the grub.cfg update through a pacman update and thats about it. :)
Replaced the whole thing with Gummiboot. Unfortunately the current article about it does not help you too much when it comes to configure the options line. Especially how to set the root partition and systemd init. Here are my results:
/boot/loader/loader.conf:
default arch timeout 0
/boot/loader/entries/arch.conf: title Arch Linux linux /vmlinuz-linux initrd /initramfs-linux.img options root=/dev/vg0/root ro init=/usr/lib/systemd/systemd quiet add_efi_memmap /boot/loader/entries/arch-lts.conf: title Arch Linux linux /vmlinuz-linux-lts initrd /initramfs-linux-lts.img options root=/dev/vg0/root ro init=/usr/lib/systemd/systemd quiet add_efi_memmap
virtualbox + rdp
To control the resolution of the vrdped client manually, go for:
VboxManage controlvm <MACHINE> setvideomodehint x y depth (e.G. VboxManage controlvm wink setvideomodehint 1024 768 16)
to override rdp's behaviour of grabbing all key combos, you have to enable the "-K" switch.
P.S. my default rdp switches are "-P -x l -k de -K" those enable compression, German keyboard layout and lan specifics
bash $ _ magic dollar variables
Positional parameters $1,$2,$3… and their corresponding array representation, count and IFS expansion $@, $#, and $*.
$- current options set for the shell.
$$ pid of the current shell (not subshell)
$_ most recent parameter (or the abs path of the command to start the current shell immediately after startup)
$IFS the (input) field separator
$? most recent foreground pipeline exit status
$! PID of the most recent background command
$0 name of the shell or shell script
source1
Windows-Images auf Android #GERMAN
Das Ziel dieser Anleitung ist es, das mühselige Imagen von USB-Sticks für Windows-Installationen mit einer wesentlich flexibleren Android-Lösung zu ersetzen.
Dazu benötigen wie ein gerootetes Android-Smartphone und die DriveDroid-App, und selbstredend die entsprechenden Windows-ISOs oder Datenträger.
0. Vorbereitung auf dem Smartphone Wie in der Bilderstrecke zu sehen, legen wir ein neues, leeres, 3500MB großes Image an und mounten das abschließend, so dass es, gesetzt der Fall das Telefon ist mit dem Computer verbunden, als Laufwerk von Windows erkannt wird.
1. Partitionierung und Formatierung Windows wird sich erst darüber beschweren, dass das Laufwerk nicht formatiert ist und uns fragen, ob wir das jetzt tun wollen, das Verneinen wir mit Abbrechen. Vielmehr wollen wir selber bestimmen wie die Partition formatiert wird und öffnen dazu das tool diskpart auf einer Admin-Kommandozeile (cmd->"Als Administrator öffnen"). Dann suchen wir das Laufwerk mit list disk und merken uns die Laufwerksnummer um das Laufwerk mit select disk <Laufwerksnummer> auszuwählen. Wie finden wir das richtige Laufwerk? Wir schauen, wie unten im Bild umkringelt, nach der Partition mit der Größe unseres Images (z.B. 3500). Alte Restinhalte werden mit clean beseitigt. Jetzt legen wir die Partition mit create partition primary an und formatieren es mit format fs=ntfs quick und setzen es zum Abschluss noch aktiv mit active. Wir beenden diskpart mit exit.
2. Dateien kopieren
Nun gilt es nur noch die Dateien aus dem ISO oder von dem Datenträger auf die Partition zu kopieren. Für ersteres unter Windows 7 entweder CloneCD (o.ä.) oder 7-zip installieren um dann das iso zu mounten und auf die Partition zu kopieren oder mit 7-zip das iso auf die Partition zu "entpacken"
3. Windows-Installations-Varianten freischalten (optional; nur Windows 7) Hier muss in der Sources/ei.cfg eine Zeile unter der [EditionID] gelöscht wrden, so dass sie in etwa so aussieht:
[EditionID] [Channel] Retail [VL] 0
4. Treiber erweitern (optional) Wofür braucht man das? Wenn man einen neueren Computer vor sich hat, der nur noch USB 3.0 Slots hat oder man von der Kopiergeschwindigkeit während des Setups profitieren möchte, muss man dem Windows-7 Setup (Windows 8 hat das onboard), noch die neueren Treiber "überhelfen". Das passiert mit dem Admin-Kommandozeilen-Tool dism. Außerdem benötigt es die entsprechenden USB3 Treiber (*.inf und *.sys Dateien), bie boot.wim des Installationsstick aus dem Ordner Sources und einen Arbeitsordner (in dem Beispiel mount). Das sollte nach Möglichkeit alles in einen Ordner kopiert werden und dort muss dann auch die folgenden Zeilen aufgerufen werden:
dism /mount-wim /wimfile:boot.wim /index:2 /mountdir:mount dism /image:mount /add-driver /driver:usb3\nusb3hub.inf dism /image:mount /add-driver /driver:usb3\nusb3xhc.inf dism /unmount-wim /mountdir:mount /commit
Hinterher kopiert man die boot.wim wieder nach Sources/ Das ganze diente jetzt nur als Beispiel, es sollte vom Prinzip her für alle Masstorage-Controller aka Festplatten-Controller (z.B. Intel, Raid…) her funktionieren.
5. UEFI Kompatibilität herstellen (optional)
Wir kopieren den Ordner efi/microsoft/boot nach efi/boot, oder anders ausgedrückt, wird der Ordner boot eine Ebene höher kopiert.
Nun benötigen wir noch eine (USB-)Festplatten kompatible UEFI-App um die Installationsroutine im UEFI-Mode zu starten. Wiederum kommt hier 7-zip zum tragen. Wir öffnen die sources/install.wim und kopieren dort die bootmgfw.efi aus dem Ordner /1/Windows/Boot/EFI/ in den Ordner efi/boot/ und benennen sie in bootx64.efi um. Fertig!
dism /mount-wim /wimfile:boot.wim /index:2 /mountdir:mount dism /image:mount /add-driver /driver:usb3\nusb3hub.inf dism /image:mount /add-driver /driver:usb3\nusb3xhc.inf dism /unmount-wim /mountdir:mount /commit
How to install Windows 7 from a USB 3.0 Thumb Drive (FAST installation!)
resize the font within urvxt
printf '\33]50;%s\007' "xft:Droid Sans Mono:pixelsize=13"
fix bootbcd #superusercom
stolen from http://superuser.com/questions/460762/how-can-i-repair-the-windows-8-efi-bootloader
I've spent a lot of time trying to get my Windows 8 PC to boot again after cloning to a new SSD and try to summarise how I finally got it all working -
Firstly, boot from a UEFI Windows 8 recovery disk (CD/DVD/USB) - I found that the automated recovery process didn't find the correct Windows partition, nor when I managed to add it to BCD settings would it make it reliably bootable e.g. using BCDEDIT I got it to find and launch the Windows partition but it refused to cold boot or would not "keep" the settings after a 2nd reboot or power off.
Go into the Advanced options and run the Command Prompt.
Use DISKPART tool to ensure you have all the right partitions - key thing here is your EFI partition being FAT32
DISKPART> sel disk 0 Disk 0 is now the selected disk. DISKPART> list vol Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 0 E DVD-ROM 0 B No Media Volume 1 C NTFS Partition 195 GB Healthy Boot Volume 2 WINRE NTFS Partition 400 MB Healthy Hidden Volume 3 FAT32 Partition 260 MB Healthy System
I then assigned a drive letter to the EFI partition
DISKPART> sel vol 3 Volume 3 is the selected volume. DISKPART> assign letter=b: DiskPart successfully assigned the drive letter or mount point.
Exit DiskPart tool and at the command prompt run the following -
cd /d b:\EFI\Microsoft\Boot\ bootrec /fixboot
Delete or rename the BCD file
ren BCD BCD.bak
Use bcdboot.exe to recreate BCD store
bcdboot c:\Windows /l en-gb /s b: /f ALL
The /f ALL parameter updates the BIOS settings including UEFI firmware/NVRAM, /l en-gb is to localise for UK/GB locale, it will default to US English
Reboot and cross your fingers.
This gave me headaches. I was going in circles for a long while and there isn't a lot of reliable info about fixing UEFI/Windows 8 at the time of writing
I like the the toilet paper, it literally fits hehe