View previous topic :: View next topic |
Author |
Message |
Vibin Lakshman n00b
Joined: 29 Mar 2009 Posts: 41 Location: Kerala , India
|
Posted: Sat May 09, 2009 6:16 am Post subject: |
|
|
EzInKy wrote: | I have never used genkernel but my guess is that since you are not using the installation CD you will not have access to the installation CD's kernel's configuration. Ubuntu probably stores its kernel's configuration in it's /boot directory. If that is the case you should be able to copy from there to Gentoo's /usr/share/genkernel/x86/ directory and rename it kernel-config.
However, I would recommend following the default manual configuration instructions instead. Not only will you will get a better understanding of the Linux kernel and boot process that way, you will also avoid the complications of using an initramfs. A poster named pappy_mcfae has made some nice kernel "seeds" to help you get started. There is a forum thread here that discusses how to use them. |
i just used genkernel coz menuconfig isnt working , its showing error , i'll again try to do in menuconfig , and will post what i get
This what i get , when using menuconfig
root@vibin-laptop:~# mount /dev/sda2 /mnt/gentoo/
root@vibin-laptop:~# mount -t proc none /mnt/gentoo/proc/
root@vibin-laptop:~# mount -o bind /dev /mnt/gentoo/dev/
root@vibin-laptop:~# chroot /mnt/gentoo /bin/bash
vibin-laptop / # make menuconfig
make: *** No rule to make target `menuconfig'. Stop. |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Sat May 09, 2009 6:39 am Post subject: |
|
|
You have to run make from within the /usr/src/linux directory. Did you follow the rest of the directions on that page of the handbook? _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
Vibin Lakshman n00b
Joined: 29 Mar 2009 Posts: 41 Location: Kerala , India
|
Posted: Sat May 09, 2009 7:05 am Post subject: |
|
|
EzInKy wrote: | You have to run make from within the /usr/src/linux directory. Did you follow the rest of the directions on that page of the handbook? |
I had reinstalled all stage3 and portage , coz even from /usr/src/linux didint work , after reinstallation it worked , how ? that i dont knw
When i saw all the menu listings i was little bit scared , coz for the first time i'm doing this , can u plz help?
My processor is intel core 2 duo , and i need ext3 , but later explained in the book is making me perplexed ?So dont knw what to do
The problem is when i click in filesystems and select ext3 , i couldnt figure whether it is selected or not |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Sat May 09, 2009 7:35 am Post subject: |
|
|
Vibin Lakshman wrote: |
I had reinstalled all stage3 and portage , coz even from /usr/src/linux didint work , after reinstallation it worked , how ? that i dont knw
|
It worked because you are following the handbook step-by-step now.
Vibin Lakshman wrote: |
When i saw all the menu listings i was little bit scared , coz for the first time i'm doing this , can u plz help?
My processor is intel core 2 duo , and i need ext3 , but later explained in the book is making me perplexed ?So dont knw what to do
The problem is when i click in filesystems and select ext3 , i couldnt figure whether it is selected or not
|
Did you check out that thread about pappy's kernel seeds I pointed out earlier? The thread and his website explains how to use them. As for knowing whether an option is selected or not, [*] means build into the kernel, [m] means build a module, [ ] means don't build at all. You use the space key to make your choice. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
Vibin Lakshman n00b
Joined: 29 Mar 2009 Posts: 41 Location: Kerala , India
|
Posted: Sat May 09, 2009 2:59 pm Post subject: |
|
|
EzInKy wrote: | Vibin Lakshman wrote: |
I had reinstalled all stage3 and portage , coz even from /usr/src/linux didint work , after reinstallation it worked , how ? that i dont knw
|
It worked because you are following the handbook step-by-step now.
Vibin Lakshman wrote: |
When i saw all the menu listings i was little bit scared , coz for the first time i'm doing this , can u plz help?
My processor is intel core 2 duo , and i need ext3 , but later explained in the book is making me perplexed ?So dont knw what to do
The problem is when i click in filesystems and select ext3 , i couldnt figure whether it is selected or not
|
Did you check out that thread about pappy's kernel seeds I pointed out earlier? The thread and his website explains how to use them. As for knowing whether an option is selected or not, [*] means build into the kernel, [m] means build a module, [ ] means don't build at all. You use the space key to make your choice. |
Yea i'm now looking to it , how that going to work for my config , anyway i had done "make && make module_install" as normal manner , everything was fine it took lots of time to compile and run , performed each and every step from handbook
Now the another problem arise regarding GRUB
I had emerged GRUB , but i had a second thought i'm having already GRUB for my Ubuntu and had edited that grub file
title Gentoo Linux 2.6.28
# Partition where the kernel image (or operating system) is located
root (hd0,2)
kernel /boot/gentoo-2.6.28 root=/dev/sda3
This is what i've dont /boot/gentoo* it was i created to copy the image and root(hd0,2) where Gentoo was installed , root=/dev/sda3 this i dont knw , just copied and used
Still not working , Oh Boy!!!!! I think next year i'm going to get my complete install of this Gentoo |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Sat May 09, 2009 6:25 pm Post subject: |
|
|
In which partition did you build your Gentoo? _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
Vibin Lakshman n00b
Joined: 29 Mar 2009 Posts: 41 Location: Kerala , India
|
Posted: Mon May 11, 2009 12:54 am Post subject: |
|
|
EzInKy wrote: | In which partition did you build your Gentoo? |
I have gentoo in /dev/sda2 , so r u saying i need to do root(hd0,1) and root= /dev/sda2? Sorry i'm not sure |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Mon May 11, 2009 1:04 am Post subject: |
|
|
I just wanted to be clear on your partition layout. Is Ubuntu on a separate drive? _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
Vibin Lakshman n00b
Joined: 29 Mar 2009 Posts: 41 Location: Kerala , India
|
Posted: Mon May 11, 2009 1:19 am Post subject: |
|
|
EzInKy wrote: | I just wanted to be clear on your partition layout. Is Ubuntu on a separate drive? |
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 20971408+ c W95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary.
/dev/sda2 2612 3525 7341705 83 Linux ----> Gentoo to get installed
/dev/sda3 3526 4309 6295117+ c W95 FAT32 (LBA)
Partition 3 does not end on cylinder boundary.
/dev/sda4 5223 9729 36202477+ f W95 Ext'd (LBA)
Partition 4 does not end on cylinder boundary.
/dev/sda5 5223 9729 36202446 83 Linux ----> Ubuntu
I just made appropriate modifications in my Ubuntu grub and it worked ..
But again a problem (its normal for me )
When reached
* Checking root file systems
ext2fs_check_if_mount - No such file or directory while determine whether /dev/ROOT mounted
fsck.ext3 : No such file or directory
Superblock couldnt be read or doesnt describe correct ext2 filesyste,
File systems couldnt fixed
Give root password for maintanence
(none)~ #
Last edited by Vibin Lakshman on Mon May 11, 2009 1:32 am; edited 1 time in total |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Mon May 11, 2009 1:31 am Post subject: |
|
|
So Gentoo is all on one partition? If so, then...
Code: |
root (hd0,1)
kernel /boot/gentoo_kernel_name root=/dev/sda2
boot
|
...is what your grub should look like. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
Vibin Lakshman n00b
Joined: 29 Mar 2009 Posts: 41 Location: Kerala , India
|
Posted: Mon May 11, 2009 1:33 am Post subject: |
|
|
EzInKy wrote: | So Gentoo is all on one partition? If so, then...
Code: |
root (hd0,1)
kernel /boot/gentoo_kernel_name root=/dev/sda2
boot
|
...is what your grub should look like. |
yes its like that
I just made appropriate modifications in my Ubuntu grub and it worked ..
But again a problem (its normal for me )
When reached
* Checking root file systems
ext2fs_check_if_mount - No such file or directory while determine whether /dev/ROOT mounted
fsck.ext3 : No such file or directory
Superblock couldnt be read or doesnt describe correct ext2 filesyste,
File systems couldnt fixed
Give root password for maintanence
(none)~ # |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Mon May 11, 2009 1:43 am Post subject: |
|
|
From the Gentoo Handbook:
Quote: |
Important: The default /etc/fstab file provided by Gentoo is not a valid fstab file. You have to create your own /etc/fstab.
|
The sample /etc/fstab file has an entry /dev/ROOT. You need to replace the /dev/ROOT with /dev/sda2. Other entries need fixed or commented out also are you may end up with your Windows partition being used as swap space. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
Vibin Lakshman n00b
Joined: 29 Mar 2009 Posts: 41 Location: Kerala , India
|
Posted: Mon May 11, 2009 2:15 am Post subject: |
|
|
EzInKy wrote: | From the Gentoo Handbook:
Quote: |
Important: The default /etc/fstab file provided by Gentoo is not a valid fstab file. You have to create your own /etc/fstab.
|
The sample /etc/fstab file has an entry /dev/ROOT. You need to replace the /dev/ROOT with /dev/sda2. Other entries need fixed or commented out also are you may end up with your Windows partition being used as swap space. |
Its working , so they r asking about localhost to start , but i dont knw which localhost username and passwd
So i just restarted and went to Ubuntu and from gentoo done "adduser vibin" & passwd vibin but when passwd option given its asking abt new UNIX passwd , is this root password i'm creating or a normal user? |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Mon May 11, 2009 7:46 am Post subject: |
|
|
When you enter the chroot environment as the handbook instructs you are root so you just need to type "passwd" at the prompt and it will prompt you to setup a new root passwd. Also, since you are coming from Ubuntu you should know that "sudo" isn't automatically installed. You become root by logging in with your user password then using "su" and entering roots password. Your user has to be a member of the wheel group to do this. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
Vibin Lakshman n00b
Joined: 29 Mar 2009 Posts: 41 Location: Kerala , India
|
Posted: Tue May 12, 2009 3:40 am Post subject: |
|
|
EzInKy wrote: | When you enter the chroot environment as the handbook instructs you are root so you just need to type "passwd" at the prompt and it will prompt you to setup a new root passwd. Also, since you are coming from Ubuntu you should know that "sudo" isn't automatically installed. You become root by logging in with your user password then using "su" and entering roots password. Your user has to be a member of the wheel group to do this. |
I have been doing Xorg installation and to configure for my Gentoo application , but not working properly , i'll show what i've done OK
i have properly edited my conf file , and done accordingly Ok , it was my first step
Second i emerged pv -xorg server
Third emerge xorg-x11
env-update
# source /etc/profile
as fourth and fifth .
This is my final step
#Xorg -configure
but command doesnt exist shows .. Can u explain it why ?
--------/etc/make.conf file --------
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="-O2 -march=i686 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
USE="-gtk -gnome qt3 at4 dvd alsa cdr"
INPUT_DEVICES="keyboard mouse evdev synaptics"
VIDEO_CARDS="nvidia vesa"
--- emerge -pv xorg-server output-----
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] x11-libs/libX11-1.1.5 USE="ipv6 -debug -xcb" 1,548 kB
[ebuild N ] x11-apps/mkfontscale-1.0.5 USE="-debug" 99 kB
[ebuild N ] x11-libs/libICE-1.0.4 USE="ipv6 -debug" 247 kB
[ebuild N ] x11-proto/trapproto-3.4.3 40 kB
[ebuild N ] x11-libs/pixman-0.14.0-r1 USE="(-altivec) -debug -mmx -sse2" 345 kB
[ebuild N ] x11-libs/libpciaccess-0.10.5 USE="-debug -minimal" 255 kB
[ebuild N ] x11-misc/xbitmaps-1.0.1 55 kB
[ebuild N ] x11-proto/xf86rushproto-1.1.2 37 kB
[ebuild N ] x11-apps/rgb-1.0.3 USE="-debug" 102 kB
[ebuild N ] x11-proto/evieext-1.0.2 37 kB
[ebuild N ] sys-apps/pciutils-3.0.2 USE="zlib -network-cron" 265 kB
[ebuild N ] x11-proto/fontcacheproto-0.1.2 38 kB
[ebuild N ] dev-libs/libpthread-stubs-0.1 USE="-debug" 0 kB
[ebuild N ] net-misc/netkit-rsh-0.17-r9 USE="pam" 0 kB
[ebuild N ] sys-libs/libutempter-1.1.5 0 kB
[ebuild N ] dev-util/intltool-0.40.5 138 kB
[ebuild N ] x11-misc/makedepend-1.0.1 USE="-debug" 0 kB
[ebuild N ] x11-proto/dri2proto-1.99.3 0 kB
[ebuild N ] x11-libs/libXext-1.0.4 USE="-debug" 259 kB
[ebuild N ] x11-libs/libxkbfile-1.0.5 USE="-debug" 254 kB
[ebuild N ] x11-libs/libXrender-0.9.4 USE="-debug" 222 kB
[ebuild N ] x11-libs/libdrm-2.4.5 USE="-debug" 551 kB
[ebuild N ] x11-libs/libXfont-1.3.4 USE="ipv6 -debug" 558 kB
[ebuild N ] x11-apps/iceauth-1.0.2 USE="-debug" 95 kB
[ebuild N ] x11-libs/libSM-1.1.0 USE="ipv6 -debug" 247 kB
[ebuild N ] x11-apps/luit-1.0.3 USE="-debug" 103 kB
[ebuild N ] x11-libs/libXfixes-4.0.3 USE="-debug" 210 kB
[ebuild N ] x11-apps/mkfontdir-1.0.4 USE="-debug" 69 kB
[ebuild N ] media-fonts/encodings-1.0.2 USE="-debug" 559 kB
[ebuild N ] media-fonts/font-alias-1.0.1 USE="-debug" 42 kB
[ebuild N ] x11-libs/libXt-1.0.5 USE="-debug" 489 kB
[ebuild N ] x11-libs/libXi-1.2.1 USE="-debug" 274 kB
[ebuild N ] x11-libs/libXxf86vm-1.0.2 USE="-debug" 235 kB
[ebuild N ] x11-libs/libXxf86misc-1.0.1 USE="-debug" 218 kB
[ebuild N ] x11-libs/libXtst-1.0.3 USE="-debug" 220 kB
[ebuild N ] x11-libs/libXres-1.0.3 USE="-debug" 214 kB
[ebuild N ] x11-apps/xkbcomp-1.0.5 USE="-debug" 197 kB
[ebuild N ] x11-libs/libXdamage-1.1.1 USE="-debug" 197 kB
[ebuild N ] x11-apps/bdftopcf-1.0.0 USE="-debug" 74 kB
[ebuild N ] x11-libs/libXmu-1.0.4 USE="ipv6 -debug" 299 kB
[ebuild N ] x11-libs/libXpm-3.5.7 USE="-debug" 350 kB
[ebuild N ] x11-libs/libxkbui-1.0.2 USE="-debug" 217 kB
[ebuild N ] x11-misc/xkeyboard-config-1.5 559 kB
[ebuild N ] x11-libs/libXaw-1.0.5 USE="-debug" 502 kB
[ebuild N ] x11-apps/xauth-1.0.3 USE="ipv6 -debug" 110 kB
[ebuild N ] media-libs/mesa-7.3-r1 USE="nptl -debug -doc -motif -pic -xcb" VIDEO_CARDS="-intel -mach64 -mga -none -r128 -radeon -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 3,323 kB
[ebuild N ] x11-apps/xrdb-1.0.5 USE="-debug" 100 kB
[ebuild N ] x11-wm/twm-1.0.4 USE="-debug" 237 kB
[ebuild N ] x11-apps/xsm-1.0.1-r1 USE="-debug" 115 kB
[ebuild N ] x11-apps/xmessage-1.0.2-r1 USE="-debug" 93 kB
[ebuild N ] media-libs/fontconfig-2.6.0-r2 USE="-doc" 1,371 kB
[ebuild N ] app-admin/eselect-fontconfig-1.0 0 kB
[ebuild N ] x11-libs/libXft-2.1.13 USE="-debug" 262 kB
[ebuild N ] media-fonts/font-adobe-75dpi-1.0.0 USE="nls -X" 827 kB
[ebuild N ] x11-terms/xterm-242 USE="unicode -Xaw3d -toolbar -truetype" 850 kB
[ebuild N ] x11-apps/xclock-1.0.3-r1 USE="-debug" 112 kB
[ebuild N ] x11-apps/xinit-1.0.8-r4 USE="pam -debug -hal -minimal" 115 kB
[ebuild N ] x11-base/xorg-server-1.5.3-r5 USE="ipv6 nptl xorg -3dfx -debug -dmx -hal -kdrive -minimal -sdl -tslib" INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -tslib -ur98 -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="nvidia vesa -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 (-impact) -imstt -intel -mach64 -mga -neomagic (-newport) -nv -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -via -virtualbox -vmware -voodoo -xgi" 5,546 kB
[ebuild N ] x11-drivers/xf86-video-vesa-2.2.0 USE="-debug" 243 kB
[ebuild N ] x11-drivers/nvidia-drivers-180.29 USE="-acpi -custom-cflags -gtk (-multilib)" 12,986 kB
[ebuild N ] x11-drivers/xf86-input-synaptics-1.0.0 USE="-debug -hal" 280 kB
[ebuild N ] x11-drivers/xf86-input-evdev-2.1.3 USE="-debug -hal" 272 kB
[ebuild N ] x11-drivers/xf86-input-mouse-1.4.0 USE="-debug" 286 kB
[ebuild N ] x11-drivers/xf86-input-keyboard-1.3.2 USE="-debug" 264 kB
Total: 64 packages (64 new), Size of downloads: 37,783 kB
I think informations are clear , kindly guide me |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 888 Location: Germany
|
Posted: Tue May 12, 2009 6:27 am Post subject: |
|
|
The command is xorgconfig, I think.
Or you could try xorg --configure. _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Tue May 12, 2009 6:55 am Post subject: |
|
|
First off, let me say congratulations on a successful Gentoo install!
Linux, as do most other Unix systems, comes with some very helpful documentation systems. One of them is the system manual. You can invoke it by typing...
...at the command prompt. When you do so you should be greeted by a screen full of information describing the proper use of the "emerge" command, including the various options available to help you with the installation and removal of software on your Gentoo system. One of those options is "-p", which is short for "--pretend".
In your post above you indicated that you typed...
Vibin Lakshman wrote: |
emerge -pv xorg-server output
|
...which instructs emerge to "--pretend" to install the xorg-server package and give "--verbose" output of what the results would be if it actually followed through with your request. Now, though I do occasionally find it useful to know what actions emerge will take when I am contemplating installing software, I find it much more efficient to have emerge "--ask" me if I want to proceed with the operation once it informs me of the actions it will take to fulfill my request. For example, if I wanted emerge to exhibit this behavior I would type...
Code: |
emerge -va name-of-package-to-install
|
...at the command prompt. If I was satisfied with portage's solution I would then press "y" to have it proceed, if not I would press "n".
If you have any further problems with xorg it would be best to post in the Desktop forum. Please add "solved" to the thread's title so other users may benefit from your experience. _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
|