skimppimppin along! NEWS   FORUM   DOWNLOAD   LINKS    
HOME ACCOUNT PRIVATE MESSAGE  
Login
Username:

Password:


Lost Password?

Register now!

Main Menu

Search

skimpydog.com Forum Index
   Gentoo Base
  skimpydog-gentoo

Browsing this Thread:   1 Anonymous Users

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread Rated:  1 Votes
skimpydog-gentoo
#1
Webmaster
Joined: 2007/6/10
From Dallas, TX
Posts: 57
Level : 6
HP : 0 / 135
MP : 19 / 1284
EXP : 41
Group:
Webmasters
Registered Users
Offline
I can't give away all of everything with this - so you will have to either know what you are doing, or ask questions.

USE AT YOUR OWN RISK!! I will not be responsible if you lose all of your data because you didn't backup anything you might need first!!

"skimpydog-gentoo" is a custom build of Gentoo Linux (as are all customizable), and you may have a copy of it as well.

The installation is as easy as:

0: Boot to Gentoo Live CD (or what ever linux distro - even a live system - Just be careful during the partitioning)

1: Create your partitions (<swap>, /boot, /, [whatever else you may need]).
fdisk /dev/sda

-- or however your computer is setup

2: Download the image (Located in the downloads, you can wget it if you know the url [You have to login first to view the downloads]). There are several large files that need to be downloaded (the last one is smaller).
wget http://thelocation1 http://thelocation2 http://thelocation3

Then merge these into one large file:
cat skimpydog.gentoo-<date>.tar.bz2.* > skimpydog.gentoo.tar.bz2


3: Extract image to "/"
tar xvpfj skimpydog.gentoo.tar.bz2 -C /


4: Install Grub
While you are booted to to gentoo Live CD::
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo
env-update
source /etc/profile

grub
find /boot/grub/stage1
root (hdX,X)
setup (hd0)
quit


Set your hostname:
hostname HostName-YouWant
vi /etc/conf.d/hostname


Setup Networking:
vi /etc/conf.d/net.eth{1,2,3...}
cd /etc/init.d/ ; ln -s net.lo net.{1,2,3}


Setup Video
-- This part can be tricky if you are not familiar with xorg, and related drivers & config files.
There are basically 2 parts to this, or more required to get your Video Hardware Acceleration working (even if you are just running the x11 drivers, not the proprietary drivers)
First, look at the available options (what's currently built in):
eselect opengl list
You should see your options labeled:
[0] xorg-x11 *
[1] Nvidia
[2] mesa-cvs
[3] ati

If you don't see what you need listed, whereas you are running a totally different video card, or would like to use proprietary drivers (such as for a dual head card to keep hardware acceleration across both screens), then you will need to build these in, and edit the config files for xorg appropriately.

Then to set the opengl option:
eselect opengl set 0

The Last thing that will need to be done is to make sure your /etc/X11/xorg.conf is configured properly for your Graphics Options as well.
- With skimpydog-gentoo I have built up a couple xorg.conf.*'s (located at /etc/X11/) as examples for using Intel, and nVidia cards with single and Dual Head.

Boot!!

This is full blown with compiz, MythTV, and other bells and whistles. Great for a laptop as there are many wifi tools already built in (as this was originally built on my notebook).


When you first login, use the username and password of root p4ssw0rd!, you can change this once booted into the OS with:
passwd root


To create a user, once booted or chrooted, run the script:
sh /root/add_user.sh

-- this is a simple bash, and perl script that will grab the contents of "/etc/skel" while it creates the user. When you login with this user under X, it will default boot into gnome.

Since this has framebuffer support built in, you may want to reference the "/root/howto_rebuild_kernel-2.6.30-gentoo-r8" as reference, as well as using the .config with the kernel, by utilizing --oldconfig so you can keep relatively the same build making changes as necessary.

The default kernel is built for a P4, and is easily changed for other architectures as well.

I have the packages built around an Intel based ChipSet, with Intel Video utilizing the XFree86 drivers.
Posted on: 2009/10/29 17:37
Create PDF from Post Print
Top
Re: skimpydog-gentoo
#2
Webmaster
Joined: 2007/6/10
From Dallas, TX
Posts: 57
Level : 6
HP : 0 / 135
MP : 19 / 1284
EXP : 41
Group:
Webmasters
Registered Users
Offline
INSTALLER:

So this is an installer I have been working on, and I'm sure I can add more, and prolly fix a few bugs as I'm sure they exist as the more times I install this, I see more functionality that can be added, so please bear with me and I'll add functionality as time goes.

It's a simple bash script that can be run from a USB drive, or built onto a CD.

I personally use a debian live USB gParted which I had to rebuild for tar.bz2 support, and I can use this to help tend to some of the installation. This also helps me keep my place in case I forget what I'm doing for about 10 seconds:

Create the script:
vi /home/skimpydog-gentoo-installer.sh

It should contain the following, and it may be modified to fit your needs:
#!/bin/bash
# Written by skimpydog

selection=
until [ "$selection" = "00" ]; do
    echo ""
    echo "Ver 1"
    echo "skimpydog Gentoo Installer:"
    echo ""
    echo "Format"
    echo "-- 1 - fdisk"
    echo "Mount partitions to /mnt/gentoo"
    echo "-- 2 - Mount Disk(s) in /mnt/gentoo"
    echo "Gentoo Installation"
    echo "-- 3 - Merge downloaded *.tar.bz2.* parts into single *.tar.bz2 image (/mnt/gentoo/skimpydog.gentoo.tar.bz2)"
    echo "-- 4 - Decompress Image ~1hour (/mnt/gentoo/)"
    echo "Prepare environment"
    echo "-- 5 - Prep for chroot (chroot /mnt/gentoo)"
    echo "BackUp"
    echo "-- 20 - Mount BackUp Destination"
    echo "-- 21 - BackUp Profiles from a live system"
    echo "-- 22 - BackUp profiles from a system that you have mounted to /mnt/gentoo"
    echo "UnMount or prepare to reboot"
    echo "-- 01 - Attempt to unmount everything this script may have mounted!!"
    echo ""
    echo "00 - exit this installer"
    echo ""
    echo -n "Enter numeric selection: "
    read selection
    echo ""
    case $selection in
    1 ) fdisk -l ; echo "Choose a partition (ex. /dev/sda):" ;
    read disk ; fdisk $disk ; echo "be sure you make a <swap> partition" ;;
    2 ) mkdir -p /mnt/gentoo/boot ;
                echo "" ;
                echo "mkdir -p /mnt/gentoo/boot" ;
                echo "....." ;
        fdisk -l ;
        echo "Choose your '/' partition (ex. /dev/sda3):" ;
        read root ;
                mount $root /mnt/gentoo/ ;
                echo "" ;
                echo "mount $root /mnt/gentoo/" ;
    echo "Please confirm your '/boot' partition (ex /dev/sda1) :" ;
        read boot ;
                mount $boot /mnt/gentoo/boot/ ;
                echo "" ;
                echo "mount $boot /mnt/gentoo/boot/" ;;
    3 ) echo "Please enter the location of the downloaded skimpydog-gentoo compilation:"
        echo "example: /home/username/downloads/skimpydog-gentoo-download"
        read filelocation
        cat $filelocation/skimpydog.gentoo.tar.bz2.* > /mnt/gentoo/skimpydog.gentoo.tar.bz2 ;;
    4 ) tar xvfjp /mnt/gentoo/skimpydog.gentoo.tar.bz2 -C /mnt/gentoo/ ;;
    5 ) mount -t proc none /mnt/gentoo/proc ;
                echo "" ;
                echo "mount -t proc none /mnt/gentoo/proc" ;
        mount -o bind /dev /mnt/gentoo/dev ;
                echo "mount -o bind /dev /mnt/gentoo/dev" ;
        echo "After you chroot /mnt/gentoo, be sure to issue the following commands:" ;
                echo "" ;
                echo "env-update" ;
                echo "source /etc/profile" ;;
    20 )  echo "BackUp - Please note:";
                echo "";
                echo "When performing the BackUp Operation, there are a few constraints that should be noted, and understood.";
                echo "";
                echo "1: The BackUp location (where you are backing up to) should have MORE diskspace available than the entire size of the /home [partition|directory].";
                echo "2: You may BackUp to a Hard Disk, or USB device as long as it is larger than '/home' there should be no issues.";
                echo "-- it would be a wise idea to NOT have the BackUp destination as a drive you wish to format, or destroy";
                echo "This script will attempt to mount your BackUp destination to /mnt/BackUp";
                echo "";
                echo "Total Size of '/home'";
                echo "This may take a moment to calculate...";
                du -hs /home;
                echo "";
                echo "Available partitions:";
                        fdisk -l;
                echo "Please choose a partition to mount for your BackUp destination:";
                read BackUpDestination;
                echo "mkdir /mnt/BackUp";
                        mkdir /mnt/BackUp;
                echo "mount $BackUpDesination /mnt/BackUp";
                        mount $BackUpDesination /mnt/BackUp;;
    21 )  echo "Copy profiles" from live system?;
                echo "Copying /etc/{passwd,group,shadow,gshadow}" to /mnt/BackUp;
                cp /etc/passwd /mnt/BackUp/passwd;
                cp /etc/group /mnt/BackUp/group;
                cp /etc/shadow /mnt/BackUp/shadow;
                cp /etc/gshadow /mnt/BackUp/gshadow;
                tar cvpjf /mnt/BackUp/home-BackUp.tar.bz2 /mnt/home;;
    22 ) ;;
    01 ) echo "umount everything this script provides:";
                umount /mnt/gentoo/boot ;
                umount /mnt/gentoo/proc;
                umount /mnt/gentoo/dev;
                umount /mnt/gentoo/sys;
                umount /mnt/gentoo;
                umount /mnt/BackUp;;
    00 ) exit ;;
    * ) echo "Please choose an option:"
    esac
done


Execute the script:
sh /home/skimpydog-gentoo-installer.sh
Posted on: 2009/12/29 19:46
Create PDF from Post Print
Top
Re: skimpydog-gentoo
#3
Webmaster
Joined: 2007/6/10
From Dallas, TX
Posts: 57
Level : 6
HP : 0 / 135
MP : 19 / 1284
EXP : 41
Group:
Webmasters
Registered Users
Offline
Assuming you are using skimpydog-gentoo, or not but you are using gentoo, and you replace your NIC, or copy your existing OS to another computer, and you notice the NIC now has the name of "eth1", or "eth2" or even a higher number; but you want your NIC to be "eth0" as it is the only NIC.

As stated after compiling udev:

 * If after the udev update removable devices or CD/DVD drives
 * stop working, try re-emerging HAL before filling a bug report
 * 
 * persistent-net does assigning fixed names to network devices.
 * If you have problems with the persistent-net rules,
 * just delete the rules file
 * 	rm /etc/udev/rules.d/70-persistent-net.rules
 * and then reboot.
 * 
 * This may however number your devices in a different way than they are now.
Posted on: 2010/5/15 19:27
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.
Links