Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 18657 Details for
Bug 29649
x86 Quick Install Guide
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New version. XML
quickinstall2.xml (text/plain), 10.86 KB, created by
Steven Wagner
on 2003-10-03 02:47:35 UTC
(
hide
)
Description:
New version. XML
Filename:
MIME Type:
Creator:
Steven Wagner
Created:
2003-10-03 02:47:35 UTC
Size:
10.86 KB
patch
obsolete
><?xml version='1.0' encoding="UTF-8"?> ><guide link="relative_link_to_your_guide"> ><title>Gentoo Linux Install Reference</title> ><author title="Chief Architect">Steven Wagner</author> > ><abstract>Quick install reference covers all details of the install process in a non-verbose manner. Users should already have prior experience with installing gentoo linux.</abstract> ><license/> ><version>1.0</version> ><date>27 Sep 2003</date> > ><chapter><title>Quick Install Reference</title><body> >Install ISOs are on the <uri link= >"http://www.gentoo.org/main/en/mirrors.xml">mirrors</uri>. Detailed descriptions >of different disks are in the <uri link="http://store.gentoo.org">store</uri>. >CD1 is a full bootable Gentoo Linux environment. CD 1 contains >everything you need to install Gentoo Linux quickly and without a >connection to the Internet. CD2 is optional and has pre-compiled packages such as KDE, >GNOME, OpenOffice, Mozilla, Evolution and more. > ><pre caption="Beginning settings"> >(Start by booting your Live CD1. At the fancy boot w/ Gentoo Linux logo on it, push <ENTER>.) >(Hit F2-F3 if you have a RAID or PCMCIA laptop setup. You would now include dopcmcia or doataraid if you need it.) >(You will now see an even fancier boot screen, and then finally the root ("#") prompt on the console. Here we go.) ># <i>date</i> (Make sure your time and date is correct. If wrong, set it with <i>date MMDDhhmmCCYY</i> ) ># <i>modprobe module_name</i> (Optional- Load any modules, ie, network or scsi) ># <i>ping -c 3 www.yahoo.com</i> (Check for network connectivity) >(If test fails try the below commands, or read the <uri link="http://www.gentoo.org/doc/en/gentoo-x86-install.xml#doc_chap4">Networking</uri> chapter of the full Install Manual.) ># <i>net-setup eth0</i> or # <i>dhcpcd eth0</i> ><note> >Now partition your drives. For more information read the <uri link="http://www.gentoo.org/doc/en/gentoo-x86-install.xml#doc_chap6">Disk Partitioning</uri> chapter of the full Install Manual. >Use fdisk, cfdisk, parted or partimage. Recommended setup is a 64 meg boot volume with ext3, > a swap partition twice the size of your available RAM (2 Gig limit per swap file), and the rest for your root partition using ReiserFS. Don't wreck your data. ></note></pre> ><pre caption="File system, and basic system files"> >(Initialize your created partitions using the following applicable examples) ># <i>mkswap /dev/hdax</i> (swap) # <i>mke2fs /dev/hdax</i> (ext2) # <i>mke2fs -j /dev/hdax</i> (ext3) ># <i>mkreiserfs /dev/hdax</i> (reiserfs) # <i>mkfs.xfs /dev/hdax</i> (xfs) # <i>mkfs.jfs /dev/hdax</i> (jfs) >(Mount the partitions and unpack files) ># <i>swapon /dev/hdax</i> (swap) ># <i>mount /dev/hdax /mnt/gentoo</i> (root) ># <i>mkdir /mnt/gentoo/boot</i> ># <i>mount /dev/hdax /mnt/gentoo/boot</i> (boot) ># <i>cd /mnt/gentoo</i> ># <i>ls /mnt/cdrom/stages/</i> (to see what is available on your CD) ># <i>tar -xvjpf /mnt/cdrom/stages/stage3-*.tar.bz2</i> (replace with whatever stage # you want to using) >(or you can download latest tarball online with <i>lynx http://gentoo.oregonstate.edu/releases/x86/1.4/</i> ) ># <i>tar -xvjf /mnt/cdrom/snapshots/portage-*.tar.bz2 -C /mnt/gentoo/usr</i> (unpacking the portage tree) ># <i>cp -R /mnt/cdrom/distfiles /mnt/gentoo/usr/portage/distfiles</i> (copying files for later use) ># <i>cp -a /mnt/cdrom/packages /mnt/gentoo/usr/portage/packages</i> >(Optional- Run <i>mirrorselect</i> now to choose mirrors. Automatic mode only works with no firewall.) ># <i>cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf</i> ># <i>mount -t proc proc /mnt/gentoo/proc</i> ># <i>chroot /mnt/gentoo /bin/bash</i> ># <i>env-update; source /etc/profile</i> ># <i>emerge sync</i> (Optional- Updates portage tree.) >(Stage 1 install only)(Stage 1 and 2 installs should use the <uri link= >"http://www.gentoo.org/doc/en/gentoo-x86-install.xml#doc_chap10">Stage</uri> chapter of the full Install Manual.) ># <i>nano -w /etc/make.conf</i> ># <i>cd /usr/portage</i> ># <i>scripts/bootstrap.sh</i> (Bootstrapping, takes long time.) >(Now stage 2 only, stage 1 continued) ># <i>emerge system</i> (This takes a long time, which is why some prefer starting at stage3) >(Now stage 3 starts here) >(Optional- use the next 3 lines to backup and update your config files before we start changing things) > # <i>cp /etc/make.conf /etc/make.conf.backup</i> > # <i>CONFIG_PROTECT="-*" emerge -u system</i> > # <i>cp /etc/make.conf.backup /etc/make.conf</i> ># <i>ln -sf /usr/share/zoneinfo/path/to/timezonefile /etc/localtime</i> (set timezone file) ># <i>nano -w /etc/fstab</i> (now we setup your file system information) ></pre> ><pre caption="/etc/fstab"> ># <fs> <mountpoint> <type> <opts> <dump/pass> >/dev/hdax /boot ext3 noauto,noatime 1 2 >/dev/hdax / reiserfs noatime 0 1 >/dev/hdax none swap sw 0 0 >/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,user 0 0 >none /proc proc defaults 0 0 >none /dev/shm tmpfs defaults 0 0 >/dev/hdax /mnt/dosc ntfs ro,noatime,umask=0222 0 0 ></pre> ><pre caption="Kernel and customizing system"> ># <i>emerge -k sys-kernel/gentoo-sources</i> (Here is the <uri link="http://www.gentoo.org/doc/en/gentoo-kernel.xml">list of</uri> kernels.) ># <i>emerge -k genkernel</i> (for genkernel) ># <i>genkernel</i> (<i>--config</i> for kernel options. Take note of kernel and initrd names when it finishes. You will need it later.) >(OR manual kernel build, also see the <uri link="http://www.gentoo.org/doc/en/gentoo-x86-install.xml#doc_chap16">Kernel</uri> chapter of the full Install Manual.) > # <i>cd /usr/src/linux</i> > # <i>make menuconfig</i> (include VM fs, /proc fs, /dev fs, /dev fs auto mount at boot) > # <i>make dep && make clean bzImage modules modules_install</i> > # <i>cp /usr/src/linux/arch/i386/boot/bzImage /boot</i> ># <i>emerge -k app-admin/syslog-ng </i> (This is your system logger. You can also use sysklogd, metalog, or msyslog. See <uri link="http://www.gentoo.org/doc/en/gentoo-x86-install.xml#doc_chap16">Full</uri> instructions.) ># <i>rc-update add syslog-ng default</i> (rc-update configures what daemons load at boot) ># <i>emerge -k sys-apps/vcron</i> (This is your CRON Daemon. You can also use dcron or fcron if you like. See <uri link="http://www.gentoo.org/doc/en/gentoo-x86-install.xml#doc_chap16">Full</uri> instructions.) ># <i>rc-update add vcron default</i> ># <i>emerge -k hotplug</i> (This detects any hardware that initrd does not detect) ># <i>rc-update add hotplug default</i> >(Optional- Get packages for file system tools and hardware) > # <i>emerge -k reiserfsprogs</i> (or xfsprogs, jfsutils, lvm-user) > # <i>emerge -k nvidia-kernel</i> (or pcmcia-cs, emu10k1, nforce-net, nforce-audio, e100, e1000, ati-drivers, rp-pppoe > # <i>VIDEO_CARDS="yourcard" emerge xfree-drm</i> (for ATI Radeon up to 9200, Rage128, Matrox, Voodoo and other cards) ># <i>passwd</i> (sets root password) ># <i>useradd your_user -m -G users,wheel,audio -s /bin/bash</i> ># <i>passwd your_user</i> ># <i>echo mymachine > /etc/hostname</i> ># <i>echo mydomain.com > /etc/dnsdomainname</i> (or skip this) ># <i>nano -w /etc/hosts</i> (Add your actual hostname to /etc/hosts so GNOME doesn't complain) ># <i>nano -w /etc/conf.d/net</i> (Don't skip this DHCP users. iface_eth0="dhcp") ># <i>nano -w /etc/modules.autoload.d/kernel-2.4</i> (Add modules if you had to load any at boot, ie network and scsi) ># <i>nano -w /etc/rc.conf</i> (Follow the directions in this file to configure important basic settings.) ># <i>rc-update add net.eth0 default</i> (This starts your network at boot)(not pcmcia though) >(Optional, use this code if you have more then one network adapter) > # <i>ln -s /etc/init.d/net.eth0 /etc/init.d/net.ethx</i> > # <i>rc-update add net.ethx default</i> >(Optional- Laptop users make sure /etc/init.d/pcmcia looks correct) > # <i>rc-update add pcmcia boot</i> (Loads any PCMCIA cards and starts networking.) >(Install your GRUB bootloader) (Use the <uri link="http://www.gentoo.org/doc/en/gentoo-x86-install.xml#doc_chap23">Boot Loader</uri> section of the full Install Manual for LILO.) ><note>GRUB counts hard drives from zero rather than "a" and partitions start at zero rather than one. >Only hard drives are counted, not atapi-ide devices. So the syntax is first integer indicates the drive number, >while the second integer indicates the partition number. Once again, please note that the partition numbers >are counted from zero, not from one. Your Linux partition /dev/hda1 is called (hd0,0) under GRUB. >Grub also has TAB completion) ></note># <i>emerge -k grub</i> ># <i>grub</i> (next we will install GRUB on to your hard drive's MBR (master boot record)) >grub> <i>root (hd0,0)</i> (Tells GRUB the location of your boot boot partition. /dev/hda1 is used here) >grub> <i>setup (hd0)</i> (Install grub onto your MBR) >grub> <i>quit</i> >grub> <i>setup --stage2=/boot/grub/stage2 (hd0)</i> (Optional- ATA RAID setups need the following) ># <i>nano -w /boot/grub/grub.conf</i> (Create the grub.conf file) ></pre> ><pre caption="grub.conf"> ># Use the info from genkernel, subsitute at KV.(hd0,0)=bootpartition /dev/hda3=rootpartition. Actual file should be on seperate lines. >default 0 >timeout 15 >fallback 1 >splashimage=(hd0,0)/grub/splash.xpm.gz >title=My example Gentoo Linux (genkernel) # Below is an example for RAID setups # Below needed only for people who dual-boot >root (hd0,0) title=Windows XP title=Gentoo Linux on RAID >kernel (hd0,0)/kernel-KV root=/dev/hda3 root (hd0,5) root (hd0,0) >initrd (hd0,0)/initrd-KV chainloader (hd0,5)+1 kernel (hd0,0)/boot/bzImage root=/dev/ataraid/dXpY ></pre> ><pre caption="Finishing off and installing GUI"> ># <i>etc-update</i> ># <i>exit; cd /</i> ># <i>umount /mnt/gentoo/boot; umount /mnt/gentoo/proc</i> ># <i>umount /mnt/gentoo</i> ># <i>reboot</i> (Don't forget to remove the bootable CD, and wait for the system to come back up.) > # <i>adsl-setup</i> (Optional, setup for adsl users.) >(Optional- The rest is loading binary packages from CD2 and configuring X) ># <i>mount /dev/cdrom /mnt/cdrom</i> ># <i>cp -a /mnt/cdrom/packages/* /usr/portage/packages/</i> ># <i>emerge -k xfree gnome kde</i> ># <i>/usr/X11R6/bin/xf86config</i> (It is now recommend that you go onto the <uri link= >"http://www.gentoo.org/doc/en/desktop.xml">Desktop Configuration</uri> guide for additional info.) ></pre> > ><p> >You can get more information with <uri link="http://www.gentoo.org/main/en/docs.xml">Gentoo Documentation</uri>. ></p> ></body></chapter> > ></guide> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 29649
:
18350
|
18407
|
18408
|
18657
|
18658
|
18748
|
19001