Skip to content

Instantly share code, notes, and snippets.

View linux-modder's full-sized avatar

Corey Sheldon linux-modder

  • VA,USA
View GitHub Profile
@linux-modder
linux-modder / B43
Created August 20, 2014 00:54
Broadcom driver install
## assumes a b43 brcm43xx or bcma or broadcom-wl driver onboard
## installing inxi is highly helpful for this and many other things so lets install now:
sudo apt-get install inxi
## or
sudo yum/yast/zypper install inxi
@linux-modder
linux-modder / LVM
Last active August 29, 2015 14:05
LVM Work #1 Creation & Mounting (without luks/dm-crypt)
########
For the purpose of this purpose of this tutorial NO RAID / Luks / EFI are in play ( I have separate Gist that address these cases)
For all LVM tutorials I assume a default GPT partition table is laid on the target drive however with a few changes can be done on a MBR / MSDOS install as long as the drive is <2Tb at which point MBR is no longer an option.
Default layout referenced in this write up is a follows ---the following sample output is the starting point i will explain how
to create it as well.
[linuxdev@linuxdevel ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
@linux-modder
linux-modder / LVM (With luks)
Last active August 29, 2015 14:05
LVM Work #2 Creating & Mounting (WIth luks/dm-crypt)
#########
For the purpose of this tutorial -- NO RAID / EFI are in play ( I have separate Gist that address these cases)
For all LVM tutorials I assume a default GPT partition table is laid on the target drive however with a few changes can be done on a MBR / MSDOS install as long as the drive is <2 Tb at which point MBR is no longer an option.
Default layout referenced in this write-up is a follows ---the following sample output is the starting point i will explain how
to create it as well. with the luks crypt being an LVM inside sda3.
[linuxdev@linuxdevel ~]$ lsblk
@linux-modder
linux-modder / encryptfs recovery
Last active August 29, 2015 14:06
Recover your encryptfs.Private /home
###From another gist member
USING ecryptfs-recover-private TO RECOVER ENCRYPTED HOME IN MINT 17 CINNAMON
--------------------------------------
This has saved more than twice when somehow I found myself...without a backup ?!
My setup had encrypted and encrypted home. If you only encrypted home then I believe you can start at:
@linux-modder
linux-modder / Interactive LuksCrypt
Last active August 29, 2015 14:12
PGP key LuksCrypt (with or without LVM) ---adapted from wiki.gentoo.org &
###### This tutorial is a merge of http://wiki.gentoo.org/wiki/EFI_Gentoo_End_to_End_Install/Preparing_the_LUKS #######
###### LVM_Filesystem_and_Boot_USB_Key and my previous tutorials on the subject #######
For the purpose of this tutorial -- NO RAID / EFI are in play ( I have separate Gist that address these cases)
For all LVM tutorials I assume a default GPT partition table is laid on the target drive however with a few changes can be done on a MBR / MSDOS install as long as the drive is <2 Tb at which point MBR is no longer an option.
Default layout referenced in this write-up is a follows ---the following sample output is the starting point i will explain how
to create it as well. with the luks crypt being an LVM inside sda3.
gist-paste /etc/fstab
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- gist (LoadError)
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/bin/gist-paste:7:in `<main>'
An error occurred while installing the items
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.android.ide.eclipse.adt 23.0.4.1468518, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
Could not acquire the framework manipulator service.
Could not acquire the framework manipulator service.
~/testCloud :python testCloud.py --atomic http://mirror.umd.edu/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Atomic-20141203-21.x86_64.qcow2
Traceback (most recent call last):
File "testCloud.py", line 21, in <module>
import config
File "/home/server/testCloud/config.py", line 10
password:passwOrd
^
SyntaxError: invalid syntax
@linux-modder
linux-modder / Gists
Created January 15, 2015 15:31
Gist error
gists /etc/default/grub
Traceback (most recent call last):
File "/bin/gists", line 2, in <module>
from gists.gists import run
File "/usr/lib/python2.7/site-packages/gists/gists.py", line 33, in <module>
from actions import (list_gists, show, get, post, delete, update, authorize,
File "/usr/lib/python2.7/site-packages/gists/actions.py", line 25, in <module>
from utils import download, build_result, GistsConfigurer
File "/usr/lib/python2.7/site-packages/gists/utils.py", line 37, in <module>
from clint.textui import colored
Unable to complete install: 'internal error: process exited while connecting to monitor: 2015-01-17T19:05:10.770900Z qemu-system-x86_64: -chardev socket,id=charchannel0,path=/home/server/.config/libvirt/qemu/lib/channel/target/fedora21.org.qemu.guest_agent.0,server,nowait: Failed to bind socket: No such file or directory
2015-01-17T19:05:10.771297Z qemu-system-x86_64: -chardev socket,id=charchannel0,path=/home/server/.config/libvirt/qemu/lib/channel/target/fedora21.org.qemu.guest_agent.0,server,nowait: chardev: opening backend "socket" failed
'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/create.py", line 1854, in do_install
guest.start_install(meter=meter)
File "/usr/share/virt-manager/virtinst/guest.py", line 411, in start_install