Re: Why I ditched Linux and Went Back To Windows XP (Don't waste your time on a Linux Studio)

From: Kadaitcha Man (nospam_at_rainx.cjb.net)
Date: 12/27/04


Date: Tue, 28 Dec 2004 03:07:55 +1100

Amol Vaidya wrote:

>
>
> Richard Crowley wrote:
>> I'd bet that she didn't install any software or re-compile the kernel,
>> etc. etc. etc.
>
> She hasn't recompiled her kernel, but she installs everything herself.
> Quite honestly, it's not hard reading installation instructions and
> following them.

Give the bitch this and see how far she gets...

# date (Make sure your time and date is correct. If wrong, set it with
date MMDDhhmmCCYY )
# modprobe module_name (Optional - Load any necessary modules)
# net-setup eth0 (Configure the network)
# fdisk /dev/hda (Partition your drive)
Activate the swap partition) # swapon /dev/hdax
(Mount the root partition) # mount /dev/hdax /mnt/gentoo
(Create the boot mountpoint) # mkdir /mnt/gentoo/boot
(Mount the boot partition) # mount /dev/hdax /mnt/gentoo/boot
(Go to the mountpoint) # cd /mnt/gentoo
(Extract a stage tarball...) # tar -xvjpf /mnt/cdrom/stages/stage<your
stage>.tar.bz2
(or download the latest tarball...)
                                 # links
http://www.gentoo.org/main/en/mirrors.xml
( ... and extract) # tar -xvjpf stage<your stage>.tar.bz2
(Optional: unpack a portage tree)# tar
-xvjf /mnt/cdrom/snapshots/portage-*.tar.bz2 \
                                   -C /mnt/gentoo/usr
(Optional: copy over distfiles) # cd /mnt/gentoo/usr/portage; mkdir
distfiles;
                                 # cp /mnt/cdrom/distfiles/* distfiles/
(Select a mirror) # mirrorselect -a -s4 -o | grep
'GENTOO_MIRRORS=' \
>> /mnt/gentoo/etc/make.conf
(Copy over nameserver information)
                                 # cp
-L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
(Mount the proc filesystem) # mount -t proc none /mnt/gentoo/proc
(Chroot into the new environment)# chroot /mnt/gentoo /bin/bash
(Load the necessary variables) # env-update; source /etc/profile
(Network-only, non-GRP: update Portage)
                                 # emerge --sync
(Change USE, CFLAGS and CXXFLAGS. Stage1 can also change CHOST)
                                  # nano -w /etc/make.conf
(Stage1 only: bootstrap system) # cd /usr/portage; scripts/bootstrap.sh
(Stage1, Stage2 only: install base system)
                                  # emerge system
Set timezone information) # ln -sf /usr/share/zoneinfo/<path to time zone
file> /etc/localtime
(Edit fstab file) # nano -w /etc/fstab
# <fs> <mountpoint> <type> <opts>
<dump/pass>
/dev/hdax /boot ext2 defaults,noatime 1 2
/dev/hdax none swap sw 0 0
/dev/hdax / reiserfs noatime 0 1
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
(Install the kernel sources) # emerge <kernel-package-here>
(Configure your kernel using genkernel...)
                                # emerge genkernel; genkernel --menuconfig
all
(or (1) manually build your kernel)
                                # cd /usr/src/linux; make menuconfig;
( (2) Include VM fs, /proc fs, /dev fs, /dev fs auto mount at boot)
( (3) Compile your kernel)
           (for a 2.4 kernel) # make dep && make clean bzImage modules
modules_install
           (for a 2.6 kernel) # make && make modules_install
( (4) Copy over the kernel) # cp arch/i386/boot/bzImage /boot; cp
System.map /boot
(Install system logger; choice: sysklogd, metalog, msyslog, syslog-ng)
                                          # emerge syslog-ng
(Have the systemlogger automatically started at boot)
                                          # rc-update add syslog-ng default
(Install cron daemon; choice: vixie-cron, dcron, fcron)
                                          # emerge vixie-cron
(Have the cron daemon automatically started at boot)
                                          # rc-update add vixie-cron default
(genkernel users only: install hotplug) # emerge hotplug
(genkernel users only: have hotplug automatically started at boot)
                                          # rc-update add hotplug default
(Non-ext2,ext3 users only; choice: reiserfsprogs, xfsprogs, jfsutils)
                                          # emerge reiserfsprogs
(Optional: install DHCP client) # emerge dhcpcd
(Domain name init script) # rc-update add domainname default
# emerge pcmcia-cs (or nforce-net, nforce-audio, e100, e1000, ati-drivers,
rp-pppoe)
# VIDEO_CARDS="yourcard" emerge x11-drm (for ATI Radeon up to 9200,
Rage128,
                                            Matrox, Voodoo and other cards)
(Set root password) # passwd
(Create a user) # useradd your_user -m -G users,wheel,audio
-s /bin/bash
(Set password for that user) # passwd your_user
(Set the system hostname) # echo mymachine > /etc/hostname
(Set the system domainname) # echo mydomain.com > /etc/dnsdomainname
(Set the hostsfile, ex:"127.0.0.1 localhost mymachine")
                             # nano -w /etc/hosts
(Configure basic system settings; follow comments)
                             # nano -w /etc/rc.conf
(Setup networking; dhcp-users should set iface_eth0="dhcp")
                              # nano -w /etc/conf.d/net
(List modules to be loaded at startup)
                              # nano
-w /etc/modules.autoload.d/kernel-<version>
(Non-PCMCIA only: start networking automatically at boot)
                              # rc-update add net.eth0 default
(Only if you have multiple network interfaces:)
   (1) Create initscripts for each interface)
                              # ln
-s /etc/init.d/net.eth0 /etc/init.d/net.ethx
   (2) Automatically start at boot if no PCMCIA)
                              # rc-update add net.ethx default
(PCMCIA only: verify /etc/conf.d/pcmcia and load PCMCIA at boot)
                              # rc-update add pcmcia boot
# emerge grub
# grub
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
# nano -w /boot/grub/grub.conf
default 0
timeout 15
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux
  root (hd0,0)
  # genkernel users:
  kernel /kernel-<kernel version> root=/dev/ram0 init=/linuxrc
real_root=/dev/hda3
  initrd /initrd-<kernel version>
  # non-genkernel users:
  kernel /kernel-<kernel version> root=/dev/hda3
# emerge lilo
# nano -w /etc/lilo.conf
boot=/dev/hda
prompt
timeout=50
default=gentoo

image=/boot/kernel-<kernel version>
  label=gentoo
  read-only
  # genkernel users:
  append="init=/linuxrc real_root=/dev/hda3"
  root=/dev/ram0
  initrd=/boot/initrd-<kernel version>
  # non-genkernel users:
  root=/dev/hda3
# /sbin/lilo
Exiting the chroot) # exit; cd /
(Unmounting partitions) #
umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo
(Reboot; Remove the universal CD from the tray)
                             # reboot
(After booting:)
(ADSL-users only) # adsl-setup
(GRP-users only)
   (1) Mount Package CD # mount /dev/cdrom /mnt/cdrom
   (2) Copy over packages # mkdir /usr/portage/packages
                             # cp -a /mnt/cdrom/* /usr/portage/packages/
   (3) Install extra software# USE="bindist" emerge -k xfree gnome kde
mozilla openoffice-bin
   (4) Configure your Xserver# /usr/X11R6/bin/xf86config



Relevant Pages

  • Re: Why I ditched Linux and Went Back To Windows XP (Dont waste your time on a Linux Studio)
    ... > She hasn't recompiled her kernel, ... Stage2 only: install base system) ... (Have the systemlogger automatically started at boot) ... (genkernel users only: have hotplug automatically started at boot) ...
    (alt.os.linux.suse)
  • Re: install woes
    ... looking at the Fedora 9 64bit DVD: ... I'd try the acpi=off, but I didn't need any boot options, as far as I remember ... appended the kernel, probably post-install. ... but on attempting to install, it freezes up at the test media screen. ...
    (Fedora)
  • Problems with Sarge on OldWorld 604e PowerMac: booting, quik, 2.6 kernel, etc.
    ... I'd like to use quik to boot this OldWorld 7300 PowerMac directly ... The problems arise when I want to install a 2.6 kernel. ...
    (Debian-User)
  • Re: Where is the boot/config-`uname -r` file?
    ... This is the bootloader and before the kernel is started. ... Would it help if I copy this as is into the boot ... That is why it is empty. ... and I was able to install Debian. ...
    (Debian-User)
  • Re: No keyboard at boot in Debian
    ... I was recently toying with my ATI drivers and a new kernel. ... I moved udev ... Try booting the good install and running fsck on the other / partition. ... This boot issue seems to affect previous kernels as well. ...
    (comp.os.linux.misc)