No Image

Delete Unused Rackspace Cloud Servers

October 24, 2013 Andy 0

To avoid any unnecessarily high Rackspace bills, make sure you delete any unused cloud servers or products. Here I have three servers. One is in production, another is occasionally used for testing and development. I am half-way through setting the last one up but it is not yet in production. You might think that you can just power-off the server to stop being billed for it….but you’d be wrong! If you simply shut down the server, you will still be billed per hour for it’s use. If like me, you have any servers that are not currently in use, either […]

No Image

Fix a Broken Gentoo Installation

October 12, 2013 Andy 0

Here is how I gain access to my broken environment… mount /dev/mapper/vg–ssd-lv–root /mnt/gentoo/ mount -v /dev/mapper/vg–ssd-lv–boot /mnt/gentoo/boot/ mount -v /dev/mapper/vg–hdd-lv–home /mnt/gentoo/home/ mount -v /dev/mapper/vg–hdd-lv–var /mnt/gentoo/var/ mount -v /dev/mapper/vg–hdd-lv–usrportage /mnt/gentoo/usr/portage/ mount -v /dev/mapper/vg–hdd-lv–vhdd /mnt/gentoo/vhdd/ mount -t proc none /mnt/gentoo/proc mount –rbind /sys /mnt/gentoo/sys mount –rbind /dev /mnt/gentoo/dev ls /mnt/gentoo/ /mnt/gentoo/boot/ /mnt/gentoo/home/ /mnt/gentoo/var/ /mnt/gentoo/usr/portage/ /mnt/gentoo/vhdd/ /mnt/gentoo/proc /mnt/gentoo/sys /mnt/gentoo/dev swapon -p 1 /dev/sdc1 && \ swapon -p 1 /dev/sdd1 && \ swapon -v -s chroot /mnt/gentoo /bin/bash source /etc/profile export PS1=”(chroot) $PS1″ Fix what your gonna fix, un-mount and reboot. Fingers crossed! exit cd umount -lv /mnt/gentoo/dev{/shm,/pts,} umount -lv /mnt/gentoo{/boot,/proc,} reboot

No Image

Gentoo: List of Issues After an Installation

October 12, 2013 Andy 0

Pretty much every time I install Gentoo I hit a new minor issue that requires my attention. Sometimes its caused by a new version of a particular package, sometimes I’ve simply forgot to configure something correctly. Either way, here is an on-going list of issues that I’ve faced after a new installation. Networking Interfaces Renamed The networking interfaces were renamed from eth0 to enp10s0 and enp09s0. While this did not make any difference as to whether or not they work, it is annoying! storm ~ # ifconfig enp10s0: flags=4163 mtu 1500 inet 192.168.111.4 netmask 255.255.255.0 broadcast 192.168.111.255 inet6 fe80::223:8cff:fe7b:5f0g prefixlen […]

No Image

Required Kernel Options

October 11, 2013 Andy 0

General Kernel Options Enable GPT support. -*- Enable the block layer —> Partition Types —> [*] EFI GUID Partition support [*] Windows Logical Disk Manager (Dynamic Disk) support I also select dynamic disks just in case I need to use disks that were partitioned using XP, Vista, etc. Processor type and features —> [*] Symmetric multi-processing support [*] Machine Check / overheating reporting [*] Intel MCE Features [*] AMD MCE Features Processor family (Generic-x86-64) —> ( ) Opteron/Athlon64/Hammer/K8 ( ) Intel P4 / older Netburst based Xeon (X) Core 2/newer Xeon ( ) Intel Atom ( ) Generic-x86-64 Executable file […]

No Image

Recompile the Gentoo Linux Kernel

October 11, 2013 Andy 0

Here I needed to add a few features to my current Kernel. The first thing I did was take a backup of both the Kernel image, the initramfs image, and the make configuration file (/usr/src/Linux/.config). Then, if everything spectacularly fails, I just need to boot into the live CD and restore the files. Backup Existing Boot Images It’s probably wise to backup your .config file if nothing else. I mount an NFS share and then copy the images there. Make your Changes While still in the /usr/src/linux directory, type make menuconfig. storm linux # make menuconfig I made the following […]

No Image

Gentoo: Upgrade the Linux Kernel

October 11, 2013 Andy 0

I have not updated my kernel for a while. As you can see, I will be updating from version 3.8.13-gentoo to version 3.10.7-gentoo-r1. storm ~ # ls -la /usr/src total 20 drwxr-xr-x 5 root root 4096 Oct 1 22:32 . drwxr-xr-x 14 root root 4096 Aug 19 03:40 .. -rw-r–r– 1 root root 0 Aug 1 04:16 .keep lrwxrwxrwx 1 root root 19 Aug 6 05:40 linux -> linux-3.8.13-gentoo drwxr-xr-x 24 root root 4096 Aug 22 22:22 linux-3.10.7-gentoo drwxr-xr-x 24 root root 4096 Oct 1 22:33 linux-3.10.7-gentoo-r1 drwxr-xr-x 24 root root 4096 Aug 31 22:21 linux-3.8.13-gentoo storm ~ # As […]