Skip to content

Instantly share code, notes, and snippets.

DennisL DennisLfromGA

Block or report user

Report or block DennisLfromGA

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
@DennisLfromGA
DennisLfromGA / Eve-Mint_SysInfo
Created Mar 19, 2018
Eve-Mint System Info (auto-generated)
View Eve-Mint_SysInfo
System: Host: Eve-Mint Kernel: 4.13.0-37-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm Distro: Linux Mint 18.3 Sylvia
Machine: System: Google (portable) product: Eve v: 1.0 Chassis: type: 3
Mobo: Google model: Eve v: 1.0 Bios: coreboot v: N/A date: 11/07/2017
CPU: Dual core Intel Core i5-7Y57 (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 6432
clock speeds: min/max: 400/3300 MHz 1: 1600 MHz 2: 1600 MHz 3: 1600 MHz 4: 1600 MHz
Graphics: Card: Intel Device 591e bus-ID: 00:02.0 chip-ID: 8086:591e
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: 2400x1600@59.98hz
@DennisLfromGA
DennisLfromGA / chrx-setup-storage
Created Oct 31, 2017
chrx-setup-storage [chrx]
View chrx-setup-storage
#!/bin/bash
#
# setup_storage
#
# This script is _sourced_ from install-chrx (not exec'ed),
# so all functions and variables from there are available.
#
# It cannot be run directly from the commandline.
#
@DennisLfromGA
DennisLfromGA / chrx-install
Created Oct 31, 2017
chrx-install [chrx]
View chrx-install
#!/bin/bash
#
# chrx-install
#
# chromebook unix installer
#
CHRX_VERSION="2.4.1"
CHRX_OS_DISTRO="galliumos"
View go
#!/bin/sh
# #
# chrx-go #
# #
# A wrapper for chrx-install #
# #
: ${CHRX_WEB_ROOT:="https://chrx.org"}
CHRX_CACHE0_DIR="/var/tmp/chrx"
CHRX_LOG_FILE="${CHRX_CACHE0_DIR}/chrx-install.log"
@DennisLfromGA
DennisLfromGA / priority
Last active Sep 5, 2018
Re-prioritize CrOS boot pair to toggle the active image pair (KERNEL & ROOT) or set the active image pair as specified.
View priority
#!/bin/sh -e
APPL_PATH="$(readlink -f $0)"
## If we're not running as root, restart as root.
if [ $(id -u) -ne 0 ]; then
echo "...elevating $USER to superuser..."
echo
exec sudo /bin/sh -e "$APPL_PATH" "$@"
fi
@DennisLfromGA
DennisLfromGA / cb
Created Jul 6, 2017
Shows Vital Product Data (VPD) for Chrome OS device.
View cb
#!/bin/sh -e
### 'cb' - Shows Vital Product Data (VPD) for Chrome OS device.
###
### Typical VPD data
###
## sudo dump_vpd_log --full --stdout
## "mlb_serial_number"="CN0V..................."
## "ppid"="CN0V..................."
## "asset_tag"=""
View recovery-id.json
[
{
"desc": "Acer 15.6\" BSW Banjo refresh",
"file": "chromeos_8530.81.0_banon_recovery_stable-channel_mp.bin",
"filesize": 2279571456,
"hwidmatch": "^BANON .*",
"manufacturer": "Acer",
"name": "Acer 15.6\" Chromebook",
"sha1": "55283c73c64c48cca410eddc38b23a9f4854648e",
"url": "https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_8530.81.0_banon_recovery_stable-channel_mp.bin.zip",
@DennisLfromGA
DennisLfromGA / chrootbu
Last active Jun 12, 2017
Perfroms a chroot backup ensuring enough space is available.
View chrootbu
echo_e='/bin/echo -e'
### If we're not running as root, restart as root.
if [ ${UID:-$(id -u)} -ne 0 ]; then
${echo_e} "...elevating ${USER} to superuser...\n"
exec sudo /bin/sh -e "$0" "$@"
fi
APPLICATION="${0##*/}"
@DennisLfromGA
DennisLfromGA / chrx-install.log
Created Feb 21, 2016
chrx install log (Feb 21 12:51)
View chrx-install.log
## go -d galliumos -p admin-misc kodi -H denny.chrx -U denny -v
chrx installer, version 2.1.2
Hardware ID: LULU_D25-O2K-D2Q-Q2P
Model: Dell Chromebook 13 7310
Released: 2015
CPU Family: Intel Broadwell
Prognosis: success likely, ONLY IF FIRMWARE HAS BEEN UPDATED!
Checking hardware support for legacy boot... OK
@DennisLfromGA
DennisLfromGA / recovery-id.csv
Last active Feb 8, 2016
Chrome OS recovery image data for importing into a spreadsheet.
View recovery-id.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Moved to: https://github.com/DennisLfromGA/CBC-Projects/blob/recovery-id/recovery-id.csv
You can’t perform that action at this time.