View previous topic :: View next topic |
Author |
Message |
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 1:35 am Post subject: |
|
|
Well I am starting fresh out of the starting gate and will post all that I do here as I go if I mis something please Point them out to me.
First off I boot the cd and all boots fine into the default kernel 2.4.21 gentoo then I do the date and its fine, then I do fdisk /dev/hda and set up as fallows
Device Boot Start End Blocks Id System
/dev/hda1 * 1 17 136521 83 Linux
/dev/hda2 15 81 506520 82 Linux swap
/dev/hda3 82 3876 28690200 83 Linux
then I w and enter.
PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 1:53 am Post subject: |
|
|
Next I do a reboot, then I do these three
# mke2fs -j /dev/hda1
# mkswap /dev/hda2
# mkreiserfs /dev/hda3 then initializ with a yes then I get the message to the Have fun. Next I
# swapon /dev/hda2
then I
# mount /dev/hda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hda1 /mnt/gentoo/boot
and Next
# cd /mnt/gentoo
and Next
# tar -xvjpf /mnt/cdrom/stages/stage3-*.tar.bz2
now its loading.
PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 2:21 am Post subject: |
|
|
Well that went ok so now I
To select a mirror automatically:
# mirrorselect -a -s4 -o >> /mnt/gentoo/etc/make.conf
Next I
# mount -t proc proc /mnt/gentoo/proc
# cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# chroot /mnt/gentoo /bin/bash
# env-update
Regenerating /etc/ld.so.cache...
# source /etc/profile
Now Im in and so Next
# emerge sync
so far so good does anyone see something that I missed? yet.
Thanx PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Dec 29, 2003 2:42 am Post subject: |
|
|
Piratetrader wrote: | so far so good does anyone see something that I missed? yet. |
Not yet.
I was looking at your previous attempt, and it looks like you missed the part where you compile the kernel. Trying to boot a nonexistant kernel would explain why you get error 15.
Code: | # emerge gentoo-sources
# emerge genkernel
# genkernel |
The third step is the important one, because you have to actually run genkernel for it to do any compiling.
Hope this helps. |
|
Back to top |
|
|
D. M. P. inc Apprentice
Joined: 29 Sep 2003 Posts: 228 Location: /home/dmpinc
|
Posted: Mon Dec 29, 2003 2:45 am Post subject: |
|
|
ur doing very good now.
just an add to ur mind that want to learn more, gentoo forum have a quick search most of ur question have been ask b4. "other than if u ask ans not for gentoo then u cant find it here" and if u still are confure post it but dnt post over ur old post coz not all ur questions are the same. thats why there is diff parts of posting page. if u really do get into trouble im free tonight pm me ur aim or yahoo and ill be glad to help u out _________________ Live And Learn. |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 3:07 am Post subject: |
|
|
Thanx D.M.P inc and cyrillic
And cyrillic i did the
# emerge gentoo-sources
# emerge genkernel
# genkernel
All four times before.
So now the emerge sync went well so on to the next step.
Setting your time zone
Now you need to set your time zone.
Look for your time zone (or GMT if you are using Greenwich Mean Time) in /usr/share/zoneinfo. Then, make a symbolic link to /etc/localtime by typing:
Code listing 14.1: Creating a symbolic link for time zone
# ln -sf /usr/share/zoneinfo/path/to/timezonefile /etc/localtime
This I dont realy understand but I allready did a date and it was right so I moved on. If this is not right let me know.
Next was
Code listing 15.1: Editing 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 is safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mount point> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0
And this is how I set up not to sure about this step?
/dev/hda1 /boot ext3 noauto,noatime 1 2
/dev/hda3 / reiserfs noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0
I hope that is right?
Next I
# emerge -k sys-kernel/gentoo-sources
and now Another wait.
So how am I doing?
Thanx PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 3:41 am Post subject: |
|
|
Ok its done running and looks good but what do i do about this?
*after installing a new kernel of any version, its is imprtant
*that you have the appropriate /etc/modules.autoload.d/kernel-X.Y
*created (X.Yis the first 2 parts of your new kernel version)
*For example, this kernel will require:
*/etc/modules.autoload.d/kernel-2.4
What is all that and what do I do any thing?
So next I will
# emerge -k genkernel
Thats done and went well, Next I
# genkernel
Because I am useing 1.8 genkernel and now the wait
Doing ok so far?
PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
D. M. P. inc Apprentice
Joined: 29 Sep 2003 Posts: 228 Location: /home/dmpinc
|
Posted: Mon Dec 29, 2003 3:52 am Post subject: |
|
|
looks good _________________ Live And Learn. |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 4:02 am Post subject: |
|
|
Some Questions why I wait.
1. should I do any of this when I get there based on my system that I posted earlier?
Installing additional hardware-specific ebuilds
Finally, you should emerge ebuilds for any additional hardware that is on your system. Here is a list of kernel-related ebuilds that you could emerge:
Ebuild Purpose Command
nvidia-kernel Accelerated NVIDIA graphics for XFree86 emerge -k nvidia-kernel
nforce-net On-board ethernet controller on NVIDIA NForce(2) motherboards emerge nforce-net
nforce-audio On-board audio on NVIDIA NForce(2) motherboards emerge nforce-audio
e100 Intel e100 Fast Ethernet Adapters emerge e100
e1000 Intel e1000 Gigabit Ethernet Adapters emerge e1000
emu10k1 Creative Sound Blaster Live!/Audigy support emerge emu10k1
ati-drivers Accelerated ATI Radeon 8500+/FireGL graphics for XFree86 emerge ati-drivers
xfree-drm Accelerated graphics for ATI Radeon up to 9200, Rage128, Matrox, Voodoo and other cards for XFree86 VIDEO_CARDS="yourcard" emerge xfree-drm
And if so what?
2.why do I get errors on this one it wont work?
# emerge -k sys-apps/reiserfsprogs
If you would like to use JFS, you should emerge the JFS tools:
do I need that one?
3.do I need to do this?
# echo mydomain.com > /etc/dnsdomainname ;or this
# echo nis.mydomain.com > /etc/nisdomainname
4. and what about this do I need to do nano on this or just leave?
127.0.0.1 localhost
# the next line contains your IP for your local LAN and your associated machine name
192.168.1.1 [is that my ip from my router? which sould be 192.168.0.1 or is this thing trying to set it self up as the DCHP because my router; does that on my network] mymachine.mydomain.com mymachine
Thanx PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 4:24 am Post subject: |
|
|
Wait over on to the next step.
All went well and now my kernel is done I have all [OK] on it, and I wrote down the build; which is /boot/kernel-2.4.22-gentoo-r2 and /boot/initrd--2.4.22-gentoo-r2 for my boot loader configuration files.
Next I will,
# emerge -k app-admin/syslog-ng
# rc-update add syslog-ng default
And then,
# emerge -k sys-apps/vcron
# rc-update add vcron default
All went well there now Next I will try that one again because I think I need because my root is reiserfs? not sure if need and hope not if it don't work again.
# emerge -k sys-apps/reiserfsprogs
Well got the same thing as before any help here?
Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "sys-apps/reiserfsprogs"
!!! Error calculating dependencies. Please correct.
Any help on this one?
Thanks PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
stonent Veteran
Joined: 07 Aug 2003 Posts: 1139 Location: Texas
|
Posted: Mon Dec 29, 2003 4:32 am Post subject: |
|
|
*sigh*
sys-fs/reiserfsprogs
Are you really reading the install instructions? _________________ Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism. |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 4:34 am Post subject: |
|
|
So on to the next steps while waiting for a answer on the last two posts.
So now I will;
# passwd
# useradd your_user -m -G users,wheel,audio -s /bin/bash
# passwd your_user
# echo mymachine > /etc/hostname
All went well on those three. and when I did a nano on
/etc/hosts I got this.
127.0.0.1 localhost
don't know if I need this or not so I did this.
192.168.0.1 mymachine mymachine
I thing I need some answers now?
Thanx PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 4:36 am Post subject: |
|
|
Yes stonent; this is what it says.
You may need to install some additional packages in the Portage tree if you are using any optional features like XFS, ReiserFS or LVM. If you're using XFS, you should emerge the xfsprogs package:
Code listing 17.2: Emerging Filesystem Tools
# emerge -k sys-apps/xfsprogs
If you would like to use ReiserFS, you should emerge the ReiserFS tools:
# emerge -k sys-apps/reiserfsprogs
If you would like to use JFS, you should emerge the JFS tools:
# emerge -k jfsutils
If you're using LVM, you should emerge the lvm-user package:
# emerge -k sys-apps/lvm-user
In that part of it.
PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
D. M. P. inc Apprentice
Joined: 29 Sep 2003 Posts: 228 Location: /home/dmpinc
|
Posted: Mon Dec 29, 2003 4:55 am Post subject: |
|
|
b4 u do all of that i would like to add that its much better to re-check ur kernel config
(do manual kernel config) just check it and see if what ur computer spec like if u have ati driver u must compile it too, and stuff like that.
now to ur question
i dnt really know ur hardware (i didnt reall da 1st aprt of ur post)
but if u think u have a ati or nvida vid card them emerge it.
im sure if u need that reiserfsprogs but if u did reiserfs on ur /dev/hda3 then u need it.
yes u need echo things
&
yes u need to set ur ip for local lan _________________ Live And Learn. |
|
Back to top |
|
|
stonent Veteran
Joined: 07 Aug 2003 Posts: 1139 Location: Texas
|
Posted: Mon Dec 29, 2003 4:55 am Post subject: |
|
|
Not what I see! http://www.gentoo.org/doc/en/gentoo-x86-install.xml
Quote: | You may need to install some additional packages in the Portage tree if you are using any optional features like XFS, ReiserFS or LVM. If you're using XFS, you should emerge the xfsprogs package:
Code listing 17.2: Emerging Filesystem Tools
# emerge -k xfsprogs
If you would like to use ReiserFS, you should emerge the ReiserFS tools:
# emerge -k reiserfsprogs
If you would like to use JFS, you should emerge the JFS tools:
# emerge -k jfsutils
If you're using LVM, you should emerge the lvm-user package:
# emerge -k lvm-user
|
What are you reading? _________________ Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism. |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 5:07 am Post subject: |
|
|
This is in my /var/log/genkernel.log
Warning: sd_mod.o not found; skipping
Warning: sg.o not found; skipping
Warning: sr_mod.o not found; skipping
Warning: ide-cs.o not found; skipping
AS I Scratch my head what is this and do I need to do anything with it?
PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 5:11 am Post subject: |
|
|
stonent
Looked at that; and its in there; look again, its under this tag!
Code listing 17.2: Emerging Filesystem Tools
PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 5:18 am Post subject: |
|
|
D.M.P.inc
what is the command line to check the kernel conf? and yes I did reisenfs on my hda3 but when I tried it I got a error which I posted a few post ago.
PT _________________ The Bark is worse then the Bite!
Last edited by Piratetrader on Mon Dec 29, 2003 5:20 am; edited 1 time in total |
|
Back to top |
|
|
stonent Veteran
Joined: 07 Aug 2003 Posts: 1139 Location: Texas
|
Posted: Mon Dec 29, 2003 5:19 am Post subject: |
|
|
Piratetrader wrote: | stonent
Looked at that; and its in there; look again, its under this tag!
Code listing 17.2: Emerging Filesystem Tools
PT |
What? _________________ Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism. |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 5:21 am Post subject: |
|
|
stonent wrote: | Not what I see! http://www.gentoo.org/doc/en/gentoo-x86-install.xml
Quote: | You may need to install some additional packages in the Portage tree if you are using any optional features like XFS, ReiserFS or LVM. If you're using XFS, you should emerge the xfsprogs package:
Code listing 17.2: Emerging Filesystem Tools
# emerge -k xfsprogs
If you would like to use ReiserFS, you should emerge the ReiserFS tools:
# emerge -k reiserfsprogs
If you would like to use JFS, you should emerge the JFS tools:
# emerge -k jfsutils
If you're using LVM, you should emerge the lvm-user package:
# emerge -k lvm-user
|
What are you reading? |
Your link that you gave its in there!
PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 5:24 am Post subject: |
|
|
17. Installing miscellaneous necessary packages
If you need rp-pppoe to connect to the net, be aware that at this point it has not been installed. It would be the good time to do it:
Code listing 17.1: Installing rp-pppoe
# USE="-X" emerge rp-pppoe
(GRP users should type the following:)
# emerge -K rp-pppoe
Note: The USE="-X" prevents pppoe from installing its optional X interface, which is a good thing, because X and its dependencies would also be emerged. You can always recompile rp-pppoe with X support later. The GRP version of rp-pppoe has the optional X interface enabled. If you're not using GRP, compile from source as in the first example.
Note: Please note that the rp-pppoe is built but not configured. You will have to do it again using adsl-setup when you boot into your Gentoo system for the first time.
You may need to install some additional packages in the Portage tree if you are using any optional features like XFS, ReiserFS or LVM. If you're using XFS, you should emerge the xfsprogs package:
Code listing 17.2: Emerging Filesystem Tools
# emerge -k xfsprogs
If you would like to use ReiserFS, you should emerge the ReiserFS tools:
# emerge -k reiserfsprogs
If you would like to use JFS, you should emerge the JFS tools:
# emerge -k jfsutils
If you're using LVM, you should emerge the lvm-user package:
# emerge -k lvm-user
Heres more of it so you can find it.
PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
D. M. P. inc Apprentice
Joined: 29 Sep 2003 Posts: 228 Location: /home/dmpinc
|
Posted: Mon Dec 29, 2003 5:33 am Post subject: |
|
|
there is some stuff that the kernel cant find coz its updated or someone forgot some stuff. _________________ Live And Learn. |
|
Back to top |
|
|
Piratetrader Apprentice
Joined: 25 Dec 2003 Posts: 156 Location: Wasilla, Alaska
|
Posted: Mon Dec 29, 2003 5:36 am Post subject: |
|
|
D. M. P. inc wrote: | there is some stuff that the kernel cant find coz its updated or someone forgot some stuff. |
dont understand
PT _________________ The Bark is worse then the Bite! |
|
Back to top |
|
|
stonent Veteran
Joined: 07 Aug 2003 Posts: 1139 Location: Texas
|
Posted: Mon Dec 29, 2003 5:37 am Post subject: |
|
|
I knew it was there, that's why I pointed you to it!
I just didn't understand what you were talking about afterward.
You were using sys-app/reiserfsprogs. I don't know where you quoted that from. _________________ Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Last edited by stonent on Mon Dec 29, 2003 5:39 am; edited 1 time in total |
|
Back to top |
|
|
D. M. P. inc Apprentice
Joined: 29 Sep 2003 Posts: 228 Location: /home/dmpinc
|
Posted: Mon Dec 29, 2003 5:39 am Post subject: |
|
|
the skip means that it dont have the file but if thats from genkernel that means it just installed a preset kernel. best thing to do is do a manual check and compilation of ur kernel _________________ Live And Learn. |
|
Back to top |
|
|
|