Skip to content

Instantly share code, notes, and snippets.


666threesixes666 666threesixes666

View GitHub Profile
666threesixes666 / fstab
Last active Dec 18, 2015
generic fstab for gentoo install
View fstab
# /etc/fstab: static file system information.
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
View kernelconfig
# Automatically generated file; DO NOT EDIT.
# Linux/x86 3.9.3 Kernel Configuration
666threesixes666 / grubdefaultetc
Created May 28, 2013
grub2 configuration file for gentoo located @ /etc/default/grub
View grubdefaultetc
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/files/grub.default-2,v 1.2 2012/06/28 22:36:53 floppym Exp $
# To populate all changes in this file you need to regenerate your
# grub configuration file afterwards:
# 'grub2-mkconfig -o /boot/grub2/grub.cfg'
# See the grub info page for documentation on possible variables and
# their associated values.
666threesixes666 / smb.conf
Last active Dec 16, 2015
samba shares smb.conf
View smb.conf
# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
workgroup = WORKGROUP
netbios name = $USER
# $USER should be changed to what you want your computer known as on the SMB network.
# server string is the equivalent of the NT Description field
server string = the share of the century
View update-grub2
#make sure boot is mounted to load the kernel
mount | grep "/boot" /proc/self/mounts > /dev/null
if [ $? -ne 0 ]; then
mount /boot
#make sure you have a grub2 directory in boot
if [ ! -d "/boot/grub2" ]; then
mkdir /boot/grub2