Skip to content

Instantly share code, notes, and snippets.

Corey Sheldon linux-modder

Block or report user

Report or block linux-modder

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@linux-modder
linux-modder / B43
Created Aug 20, 2014
Broadcom driver install
View B43
## 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 Aug 29, 2015
LVM Work #1 Creation & Mounting (without luks/dm-crypt)
View LVM
########
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 Aug 29, 2015
LVM Work #2 Creating & Mounting (WIth luks/dm-crypt)
View LVM (With luks)
#########
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 Aug 29, 2015
Recover your encryptfs.Private /home
View encryptfs recovery
###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 Aug 29, 2015
PGP key LuksCrypt (with or without LVM) ---adapted from wiki.gentoo.org &
View Interactive LuksCrypt
###### 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.
View gist:d412ff3fecf417c7e75d
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>'
View gist:4b6b0066f6578d80886e
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.
View gist:424a2488f1e69b24ce39
~/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
View Gists
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
View libvirt netinstall f21 server error
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
You can’t perform that action at this time.