Gentoo help plzzzzzz
i had installed gentoo thru live cd , i just downloaded the image from the site and performed installation , everything was fine , installation success message came after long 20-25 min.
But one problem i cudnt get my gentoo start , my grub doesnt show any gentoo, actually i have Ubuntu , so GRUB contains windows and ubuntu flavours . I had edited in /boot/grub/menu.lst like this title Gentoo Linux 2.6.24-r5 # Partition where the kernel image (or operating system) is located root (hd0,2) kernel /boot/kernel-2.6.24-gentoo-r5 root=/dev/sda3 actually i just copied this from gentoo guide , and edited my root to (hd0,2) i dont knw much about that second root so just left it with root=/dev/sda3 While selecting i get "error 13" My gentoo is in (hd0,2) and my GRUB in (hd0,4) So based on my assumption i dont need to copy my kernel image from cd to my location right !! Its already done by the installation , right guys So plzz help me form this situation!!!!! Looks simpler for u , bizzare for me |
I remember I had the same problem a while back, try
kernel /boot/kernel-2.6.24-gentoo-r5 root=/dev/sda5 or keep kernel /boot/kernel-2.6.24-gentoo-r5 root=/dev/sda3 but change to root (hd0,4) it's one of those, good luck. |
Quote:
|
I suggest installing the manual way, which is the only supported one. Anyway, you can consider it as an introductory course to Gentoo. If you can't read the handbook and go through it then you are going to have lots of problems to use Gentoo (you won't be able to administer it anyway). Having the will to read the handbook is just part of the process.
About your problem, did you edit the grub.conf in the Gentoo partition? Because if that's so then you did wrong. You need to edit the one in the ubuntu partition, since it's the one that's being used. That is, unless you have a shared independent /boot partition that you use for both Oses. |
Quote:
For time being i made use of genkernel and executed genkernel all and this shows vibin-laptop linux # zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6 bash: /bin/zcat: /bin/sh: bad interpreter: No such file or directory vibin-laptop linux # /bin/zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6 bash: /bin/zcat: /bin/sh: bad interpreter: No such file or directory vibin-laptop linux # genkernel all * Gentoo Linux Genkernel; Version 3.4.10 * Running with options: all * Linux Kernel 2.6.28-gentoo-r5 for x86... egrep: /proc/mounts: No such file or directory mount: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory * WARNING: Failed to mount /boot! * kernel: >> Running mrproper... * ERROR: Failed to compile the "mrproper" target... * -- Grepping log... -- * Gentoo Linux Genkernel; Version 3.4.10 * Running with options: all * Linux Kernel 2.6.28-gentoo-r5 for x86... * WARNING: Failed to mount /boot! -- make[2]: /bin/sh: Command not found make: /bin/sh: Command not found make: /bin/sh: Command not found make: /bin/sh: Command not found make: /bin/sh: Command not found make: *** [clean] Error 127 * Gentoo Linux Genkernel; Version 3.4.10 * Running with options: all * ERROR: Failed to compile the "mrproper" target... * -- End log... -- * Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to genkernel@gentoo.org. Please include * as much information as you can in your bug report; attaching * /var/log/genkernel.log so that your issue can be dealt with effectively. * * Please do *not* report compilation failures as genkernel bugs! * so i foud out that it lacks /bin/sh but /bin/bash exist , so i done a weird operation i think so , that is i copied form my Ubuntu machine /bin/sh to /mnt/gentoo/bin , so after that i get this result ls /bin/sh /bin/sh vibin-laptop / # genkernel all * Gentoo Linux Genkernel; Version 3.4.10 * Running with options: all * Linux Kernel 2.6.28-gentoo-r5 for x86... egrep: /proc/mounts: No such file or directory mount: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory * WARNING: Failed to mount /boot! * kernel: >> Running mrproper... * config: Using config from /usr/share/genkernel/x86/kernel-config-2.6 * Previous config backed up to .config.bak * >> Running oldconfig... * kernel: >> Cleaning... * kernel: >> Making dependencies... * ERROR: Failed to compile the "prepare" target... * -- Grepping log... -- * Gentoo Linux Genkernel; Version 3.4.10 * Running with options: all * Linux Kernel 2.6.28-gentoo-r5 for x86... * WARNING: Failed to mount /boot! -- Second extended fs support (EXT2_FS) [Y/n/?] y Ext2 extended attributes (EXT2_FS_XATTR) [N/y/?] (NEW) aborted! Console input/output is redirected. Run 'make oldconfig' to update configuration. make[2]: *** [silentoldconfig] Error 1 make[1]: *** [silentoldconfig] Error 2 *** Warning: make dep is unnecessary now. -- Second extended fs support (EXT2_FS) [Y/n/?] y Ext2 extended attributes (EXT2_FS_XATTR) [N/y/?] (NEW) aborted! Console input/output is redirected. Run 'make oldconfig' to update configuration. make[2]: *** [silentoldconfig] Error 1 make[1]: *** [silentoldconfig] Error 2 make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop. * Gentoo Linux Genkernel; Version 3.4.10 * Running with options: all * ERROR: Failed to compile the "prepare" target... * -- End log... -- * Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to genkernel@gentoo.org. Please include * as much information as you can in your bug report; attaching * /var/log/genkernel.log so that your issue can be dealt with effectively. * * Please do *not* report compilation failures as genkernel bugs! * Plz help me i'm stucked , i'm eagerly waiting to get Gentoo installed . Why these error came , is there any way to get /bin/sh installed after that i need to perform genkernel all operation . I think one step more to get gentoo installed |
You are failing at least on one of the steps.
Did you uncompress the stage3 file correctly? Did you mount the /proc and /dev directories into the gentoo partition? Did you chroot correctly? Be very careful when doing these steps and be alert for any error. Make sure that you check the integrity of the stage3 file as well with md5sum. A corrupt file will do you no good. You have to follow the handbook step-by-step, and if one step doesn't work (or you don't understand it) don't continue blindly, come hear and ask for help. |
Quote:
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 / # ls /bin/sh /bin/sh vibin-laptop / # genkernel all * Gentoo Linux Genkernel; Version 3.4.10 * Running with options: all * Linux Kernel 2.6.28-gentoo-r5 for x86... mount: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory * WARNING: Failed to mount /boot! * kernel: >> Running mrproper... * config: Using config from /usr/share/genkernel/x86/kernel-config-2.6 * Previous config backed up to .config.bak * >> Running oldconfig... * kernel: >> Cleaning... * >> Compiling 2.6.28-gentoo-r5 bzImage... * >> Compiling 2.6.28-gentoo-r5 modules... * ERROR: Failed to compile the "modules" target... * -- Grepping log... -- * Gentoo Linux Genkernel; Version 3.4.10 * Running with options: all * Linux Kernel 2.6.28-gentoo-r5 for x86... * WARNING: Failed to mount /boot! -- CC lib/crc32.o LD lib/built-in.o AR lib/lib.a LD vmlinux.o MODPOST vmlinux.o WARNING: modpost: Found 1 section mismatch(es). -- The present kernel configuration has modules disabled. Type 'make config' and enable loadable module support. Then build a kernel with module support enabled. make: *** [modules] Error 1 * Gentoo Linux Genkernel; Version 3.4.10 * Running with options: all * ERROR: Failed to compile the "modules" target... * -- End log... -- * Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to genkernel@gentoo.org. Please include * as much information as you can in your bug report; attaching * /var/log/genkernel.log so that your issue can be dealt with effectively. * * Please do *not* report compilation failures as genkernel bugs! * vibin-laptop / # ln -sf /bin/bash /bin/sh vibin-laptop / # genkernel all * Gentoo Linux Genkernel; Version 3.4.10 * Running with options: all * Linux Kernel 2.6.28-gentoo-r5 for x86... mount: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory * WARNING: Failed to mount /boot! * kernel: >> Running mrproper... |
Did you install the proper stage3 file? Are you sure it was correct? The contents of the partition seems to be completely messed up.
|
Quote:
zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config gzip: /proc/config.gz: No such file or directory i'm not able to perform , this what all mess started i think .. , i had mounted /proc but not able to view config.gz , thats why i'm not able to perform "genkernel all " See below in my /proc there is no config.gz , so how will genkernel calls default kernel configuration? cd proc/ vibin-laptop proc # ls 1 2974 5017 55 5701 5996 interrupts scsi 10 3 5027 5502 5702 6 iomem self 11 3349 5028 5505 5709 6010 ioports slabinfo 1345 4 5043 5506 5714 7 irq stat 1346 4403 5076 5510 5715 8 kallsyms swaps 1407 4404 5083 5513 5716 9 kcore sys 1457 4407 5084 5515 5717 acpi key-users sysrq-trigger 1459 4408 51 5521 5766 asound kmsg sysvipc 1460 4409 5116 5536 5768 buddyinfo kpagecount timer_list 155 4595 5138 5541 5774 bus kpageflags timer_stats 159 4626 5157 5585 5778 cgroups latency_stats tty 2 4628 5162 5599 5781 cmdline loadavg uptime 204 4719 5174 5600 5793 cpuinfo locks version 205 4770 5177 5605 5795 crypto meminfo version_signature 206 4772 5181 5672 58 devices misc vmallocinfo 2176 4795 5197 5683 5824 diskstats modules vmcore 2180 4817 52 5684 5869 dma mounts vmstat 2181 4818 5231 5685 5870 dri mtrr zoneinfo 2318 4865 5259 5687 5873 driver net 248 4932 5340 5696 5874 execdomains pagetypeinfo 249 4935 54 5697 5897 fb partitions 2492 4936 5445 5699 5909 filesystems sched_debug 2884 5 5462 57 5965 fs schedstat |
That's very strange. It should be there. But well, I really never tried to use genkernel, in like 6 years of Gentoo I've built my kernels as I always did before.
One thing that you could try is to copy it from the /proc of the cdrom itself, instead of the /proc of the chroot. Assuming that you mounted the gentoo partition in /mnt/gentoo as you said above, the process would be this way:
Maybe there's a valid config.gz there. I have no idea why it doesn't appear on the chroot though. If it doesn't appear there I guess that you will need to pick it from elsewhere. |
Quote:
But i didnt understand one thing what to copy from cdrom , i dont have anything like that in my cd drive , or r u mentioning something else? |
Quote:
|
Quote:
Can u specify actually where the kernel configuration stored in Ubuntu , coz i think that might be the problem , zcat i think didnt worked coz of that ? |
Quote:
No problem. Maybe ubuntu kernels doesn't have the option to export the config in /proc/config.gz. Can you look into the /boot directory of your ubuntu installation? Maybe the config files are also stored there. Another common place could be /etc/kernels/ or something similar. Check these locations and see if you can find any *config* file around. If not then I will try to pick a generic config file form a gentoo cd or something for you. |
Quote:
What i'm now performing is "make menuconfig" options , and i selected whatever options which i feel suitable and make && make module_install everything worked fine , i think so , but whenever i select an option i couldnt figure whether that particular option was selected or not , leave it for a moment , but performed make && make module_install And i've performed everything step by step from handbook Now the problem is GRUB I had emerged GRUB , but i thought why shud i edit gentoo grub , i've my Ubuntu GRUB and i edited that 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 /boot/gentoo-2.6.28 that i copied image , OK . and root(hd0,2) where i made my GENTOO , root i just copied from handbook , coz i dont knw much abt that Still not working .........!!!!!!!!!!!!!!!!!! |
Quote:
Quote:
|
vibinlakshman,
You are quite correct to not emerge grub in gentoo. You will add a Gentoo booting stanza to your existing grub.conf to boot Gentoo. The boot files themselves can be left in the Gentoo install or moved to your /boot. Both methods work provided you write the booting stanza properly. Your Code:
root (hd0,2) Code:
root (hd0,1) Also genkernel makes a completely modular kernel when it gets its own way. Then it needs an initrd line to be able to mount your real root. Provided your kernel has everying configured in to boot gentoo, the initrd is not required. The Gentoo Handbook chapter 10, in code listing 2.3 and 2.4 shows both methods. |
Quote:
Yea i just mentioned i dont knw much abt that root=/dev/sda3 , i had done it in /dev/sda2 , u r right .. I'll change and see |
Quote:
|
Quote:
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)~ # |
You need to adjust /etc/fstab conveniently.
/dev/ROOT and /dev/BOOT are just placeholders. You need to put the correct partitions in there. /boot might or might not be a separate partition, if you don't have a separate partition for it then just delete or comment (#) that line. |
Quote:
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? One step more , oh no i'm in brink of Gentoo , i cant wait it started Helpppppppppppp |
Quote:
|
You must stick to the instructions in the handbook. Chaprter 12.
http://www.gentoo.org/doc/en/handboo...k_part1_chap12 Following the relevant links you will reach this: http://www.gentoo.org/doc/en/index.xml?catid=desktop You first need to install the X server: http://www.gentoo.org/doc/en/xorg-config.xml Then you need to install whatever desktop environment or window manager you want to use. There are guides to them linked in the Gentoo Desktop Documentation Resources I linked above. |
Quote:
So even i tried # emerge Xorg Calculating dependencies... done! emerge: there are no ebuilds to satisfy "Xorg". |
Please, follow the xorg configuration guide I linked above. There's no package called "Xorg", and, besides that, you need to configure a few things before you install it. It's all in the guide.
|
vibinlakshman,
Gentoo gives you only what you must have for every Gentoo install, you have that when you boot into your own install for the very first time. You have reached that milestone. From now on, you get only what you ask for and the dependancies to make these things work. As you have not yet installed a GUI, you don't have one. Not everyone wants or needs a GUI. What use would it be on a headless server? |
Quote:
I'm using synaptic touchpad as my mouse ? What to do with this nvidia , i dont knw which one i'm using Even then i edited as INPUT_DEVICE ="synaptic touchpad" So i can emerge Xorg , but cant . I'm not able to configure it too What to do?????? |
Quote:
Do you use a regular mouse, a touchpad, or both? Please, be as clear as you can when answering. Your posts are a bit difficult to understand some times. Quote:
Code:
lspci | grep -i vga Code:
VIDEO_CARDS="fglrx vesa" Code:
VIDEO_CARDS="nvidia vesa" Quote:
Regulars users often want this: Code:
INPUT_DEVICES="keyboard mouse evdev" Code:
INPUT_DEVICES="keyboard mouse evdev synaptics" Quote:
Next, I have no idea why you insist on running: Code:
emerge Xorg Code:
emerge xorg-x11 If you don't read the guide you lose your time, and I lose mine as well. I have no problem explaining everything that's needed here. But I consider it a waste of time to type here again what's already in there in a very clear form. Luck with that :) |
Quote:
OK here it is , i have properly edited my conf file , and done accordingly u specified , 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 ? |
Quote:
Code:
emerge -pv xorg-server |
Quote:
vibin-laptop / # emerge -pv xorg-server 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'll try to explain in simple terms.
This command that you just used: Code:
emerge -pv xorg-server Code:
emerge --pretend --verbose xorg-server Look at the output, it is telling us that if you want to emerge xorg-server it will emerge all those packages. Even more, the string "[ebuild N ]" at the beginning of each line tells us that those packages are not installed on your system (here the 'N' stands for 'new'). So this confirms what I told you before. You haven't installed Xorg at all. You need to run this: Code:
emerge xorg-x11 When it finishes, carefully read the output and make sure that there's no error or warning. This is something that you must do *always* when you emerge something. |
Quote:
Only last portion i've been copied and paste , coz others where working fine , but this part i think , little bit of problem arised Plz verify it !!!! >>> Installing x11-libs/libICE-1.0.4 >>> Emerging (4 of 86) net-misc/netkit-rsh-0.17-r9 * netkit-rsh-0.17.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * netkit-rsh-0.17-patches-2.tar.lzma RMD160 SHA1 SHA256 size ;-) ... [ ok ] * rexec-1.5.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking rexec-1.5.tar.gz to /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work >>> Unpacking netkit-rsh-0.17-patches-2.tar.lzma to /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work >>> Unpacking netkit-rsh-0.17.tar.gz to /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work rm: cannot remove directory `rexec': Directory not empty * Applying various patches (bugfixes/updates) ... * 000_all_sectty.patch ... [ ok ] * 010_all_rexec.patch ... * Failed Patch: 010_all_rexec.patch ! * ( /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out * * ERROR: net-misc/netkit-rsh-0.17-r9 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2273: Called epatch '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch' * environment, line 1166: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * The die message: * Failed Patch: 010_all_rexec.patch! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/environment'. * >>> Failed to emerge net-misc/netkit-rsh-0.17-r9, Log file: >>> '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/build.log' * Messages for package net-misc/netkit-rsh-0.17-r9: * Failed Patch: 010_all_rexec.patch ! * ( /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out * * ERROR: net-misc/netkit-rsh-0.17-r9 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2273: Called epatch '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch' * environment, line 1166: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * The die message: * Failed Patch: 010_all_rexec.patch! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/environment'. * * GNU info directory index is up-to-date. vibin-laptop / # Xorg -configure bash: Xorg: command not found |
Quote:
Quote:
Now, to the problem. For some reason it fails while patching the netkit-rsh package. Please, do "emerge --sync" to update portage, maybe the problem has been solved. After that try "emerge xorg-x11" again, and if it still fails, post the contents of the log file that is mentioned in the error message (which I highlighted in bold letters below): Quote:
|
Quote:
Tried this much things vibin-laptop / # nano /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out vibin-laptop / # /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out bash: /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out: No such file or directory vibin-laptop / # cat /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out cat: /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out: No such file or directory vibin-laptop / # nano /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/010_all_rexec.patch-5091.out vibin-laptop / # nano /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/ vibin-laptop / # cd /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/ vibin-laptop temp # ls 010_all_rexec.patch-12558.out eclass-debug.log logging build.log environment vibin-laptop temp # ./ 010_all_rexec.patch-12558.out bash: ./: is a directory vibin-laptop temp # cd 010_all_rexec.patch-12558.out bash: cd: 010_all_rexec.patch-12558.out: Not a directory while 'nano 'ing i get as new file .. Sorry for my ignorance!!! |
The name of the file might be a bit different each time you run "emerge xorg-x11", in your ls output it's 010_all_rexec.patch-12558.out
You tried to "cd" into it, but cd is to change to another directory, it doesn't work on files. To see the contents of a file open it with nano, or use 'cat'. Code:
cat 010_all_rexec.patch-12558.out |
Quote:
***** 010_all_rexec.patch ***** =============================== PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch =============================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- netkit-rsh-0.10/rexecd/rexecd.8.rexec Mon Jul 15 03:53:47 1996 |+++ netkit-rsh-0.10/rexecd/rexecd.8 Fri Jul 30 19:13:15 1999 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 17 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- netkit-rsh-0.10/rexec/Makefile.rexec Thu Jul 29 23:32:28 1999 |+++ netkit-rsh-0.10/rexec/Makefile Fri Jul 30 19:14:15 1999 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored =============================== PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch =============================== patching file rexecd/rexecd.8 patching file rexec/Makefile Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file rexec/Makefile.rej =============================== PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch =============================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- netkit-rsh-0.10/rexecd/rexecd.8.rexec Mon Jul 15 03:53:47 1996 |+++ netkit-rsh-0.10/rexecd/rexecd.8 Fri Jul 30 19:13:15 1999 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file Makefile Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej =============================== PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch =============================== missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- netkit-rsh-0.10/rexecd/rexecd.8.rexec Mon Jul 15 03:53:47 1996 |+++ netkit-rsh-0.10/rexecd/rexecd.8 Fri Jul 30 19:13:15 1999 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 17 of patch can't find file to patch at input line 17 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- netkit-rsh-0.10/rexec/Makefile.rexec Thu Jul 29 23:32:28 1999 |+++ netkit-rsh-0.10/rexec/Makefile Fri Jul 30 19:14:15 1999 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored =============================== PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/patch/010_all_rexec.patch =============================== missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- netkit-rsh-0.10/rexecd/rexecd.8.rexec Mon Jul 15 03:53:47 1996 |+++ netkit-rsh-0.10/rexecd/rexecd.8 Fri Jul 30 19:13:15 1999 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 17 of patch can't find file to patch at input line 17 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- netkit-rsh-0.10/rexec/Makefile.rexec Thu Jul 29 23:32:28 1999 |+++ netkit-rsh-0.10/rexec/Makefile Fri Jul 30 19:14:15 1999 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored |
One question, did you try "emerge --sync"?
The problem is that it fails to patch a file, and I can't think a reason why that would happen on a sane system (I just tried the same exact version of the ebuild and it patches without a problem so...). Just a wild thought, can you try to delete the temporal files under /usr/var? Look closely and tell me if the rm command fails or gives some warning or error: Code:
rm -rf /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/ |
vibinlakshman,
Please post the output of Code:
emerge --info Code:
tail -n 300 /var/log/emerge.log | grep completed[ The last command shows about the last 30 packages you have installed. |
Quote:
Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-11-generic i686) ================================================================= System uname: Linux-2.6.27-11-generic-i686-with-glibc2.0 Timestamp of tree: Tue, 12 May 2009 07:00:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.4-r2 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_IN" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl alsa at4 berkdb bzip2 cdr cli cracklib crypt cups dri dvd fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3 readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY vibin-laptop / # tail -n 300 /var/log/emerge.log | grep completed 1242043665: ::: completed emerge (2 of 112) x11-proto/inputproto-1.5.0 to / 1242092348: ::: completed emerge (1 of 114) x11-proto/xextproto-7.0.4 to / 1242092357: ::: completed emerge (2 of 114) x11-proto/kbproto-1.0.3 to / 1242092367: ::: completed emerge (3 of 114) x11-proto/randrproto-1.2.2 to / 1242092379: ::: completed emerge (4 of 114) x11-libs/xtrans-1.2.3 to / 1242092410: ::: completed emerge (5 of 114) x11-libs/libXau-1.0.4 to / 1242092419: ::: completed emerge (6 of 114) x11-proto/renderproto-0.9.3 to / 1242092443: ::: completed emerge (7 of 114) x11-libs/libfontenc-1.0.4 to / 1242092453: ::: completed emerge (8 of 114) x11-proto/xf86vidmodeproto-2.2.2 to / 1242092462: ::: completed emerge (9 of 114) x11-proto/fontsproto-2.0.2 to / 1242092472: ::: completed emerge (10 of 114) x11-proto/videoproto-2.2.2 to / 1242092481: ::: completed emerge (11 of 114) x11-proto/xf86bigfontproto-1.1.2 to / 1242092492: ::: completed emerge (12 of 114) x11-proto/bigreqsproto-1.0.2 to / 1242092541: ::: completed emerge (13 of 114) x11-libs/libXdmcp-1.0.2 to / 1242092552: ::: completed emerge (14 of 114) x11-proto/xcmiscproto-1.1.2 to / 1242092562: ::: completed emerge (15 of 114) x11-proto/damageproto-1.1.0 to / 1242092572: ::: completed emerge (16 of 114) x11-proto/xf86dgaproto-2.0.3 to / 1242092581: ::: completed emerge (17 of 114) x11-proto/xineramaproto-1.1.2 to / 1242092591: ::: completed emerge (18 of 114) x11-proto/compositeproto-0.4 to / 1242092600: ::: completed emerge (19 of 114) x11-proto/xf86driproto-2.0.4 to / 1242092612: ::: completed emerge (20 of 114) x11-proto/glproto-1.4.9 to / 1242092622: ::: completed emerge (21 of 114) x11-proto/xf86miscproto-0.9.2 to / 1242092631: ::: completed emerge (22 of 114) x11-proto/fixesproto-4.0 to / 1242092640: ::: completed emerge (23 of 114) x11-proto/recordproto-1.13.2 to / 1242092650: ::: completed emerge (24 of 114) x11-proto/resourceproto-1.0.2 to / 1242092659: ::: completed emerge (25 of 114) x11-proto/scrnsaverproto-1.1.0 to / 1242092672: ::: completed emerge (26 of 114) media-fonts/font-util-1.0.1 to / 1242092771: ::: completed emerge (27 of 114) app-doc/xorg-docs-1.4-r1 to / 1242092780: ::: completed emerge (28 of 114) x11-proto/printproto-1.0.4 to / 1242104787: ::: completed emerge (1 of 86) x11-libs/libX11-1.1.5 to / 1242104801: ::: completed emerge (2 of 86) x11-apps/mkfontscale-1.0.5 to / 1242104836: ::: completed emerge (3 of 86) x11-libs/libICE-1.0.4 to / 1242112268: === Sync completed with rsync://134.68.220.73/gentoo-portage 1242112383: ::: completed emerge (1 of 1) sys-apps/portage-2.1.6.11 to / 1242112436: ::: completed emerge (1 of 83) sys-libs/libutempter-1.1.5 to / 1242112474: ::: completed emerge (2 of 83) x11-libs/libXext-1.0.4 to / 1242112510: ::: completed emerge (3 of 83) x11-libs/libxkbfile-1.0.5 to / 1242112538: ::: completed emerge (4 of 83) x11-libs/libXrender-0.9.4 to / 1242112562: ::: completed emerge (5 of 83) x11-libs/libXfixes-4.0.3 to / 1242112572: ::: completed emerge (6 of 83) x11-apps/mkfontdir-1.0.4 to / 1242112583: ::: completed emerge (7 of 83) media-fonts/encodings-1.0.2 to / 1242112593: ::: completed emerge (8 of 83) media-fonts/font-alias-1.0.1 to / 1242112618: ::: completed emerge (9 of 83) x11-libs/libSM-1.1.0 to / 1242112631: ::: completed emerge (10 of 83) x11-apps/xmodmap-1.0.3 to / |
Quote:
|
May be i need to redo what all i've done .. Any way thanks i92guboj who had given valid support for all these days .
Thanks alot .. |
have just installed gentoo myself from mininimal cd configured kernel manually. I did the kernel configuration without no modules and selected only the what i needed for my hardware to work. had to disables root=nfs under the nfs section of file selection to get gentoo to boot. Also I, don't think it matters what distro you chroot from, as long as it's done correctly. I chrooted from puppy a few times while setting up gentoo. I figure once I got gentoo to boot I can always go back later and redo my kernel configuration. Maybe this will help.
never mind only read the first page of posts |
sorry for butting in again but I had a problem installing xorg also. I think with the same file. not sure. but after i changed my download mirror for other reasons. I was able to get xorg installed and running. maybe changeing mirrors will help. I used mirror select off the cd in auto mode to select a different mirror.
|
vibinlakshman,
The easy things to explain first Code:
1242112631: ::: completed emerge (10 of 83) x11-apps/xmodmap-1.0.3 to / Code:
Xorg -configure Run Code:
emerge --sync Code:
emerge xorg-x11 Thats the easy bit. Your emerge --info shows Code:
Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-11-generic i686) You have several choices here. (Gentoo is all about choice) I will describe two. You can update your USE flags with a tool like ufed or profuse, which you can emerge or you can change your profile to Code:
default/linux/x86/2008.0/desktop Whatever you choose, you will need to run Code:
emerge xorg-x11 -uDNav Thats --update --deep --newuse --ask --verbose Only things that need to change will be rebuilt. If you don't fix your USE now, shortly you will run into errors with one package needing an earlier package to be build with different options. Everything else looks good. |
Thanks neddyseagoon , i just emerged profuse , seems pretty easy like synaptic manager ..
But how do u change it to desktop environment , i couldnt find anything which help me to edit profile Or plz guide me how to edit /etc/make.conf to have desktop environment , i forgot where i have done this environment steps , is it in kernel configuration or not ? Any way i'll be grateful !!!! |
Understand this for once: you are never ever going to get a desktop environment until X is installed and running.
As for the profile, use this command to list the available ones: Code:
eselect profile list Code:
eselect profile set <number> |
how to change profile is in chapter 6 of the gentoo handbook How come they don't put eselect profile list and eselect profile set commands in the installion handbook? It's alot easier changing profiles this way then by book.
|
[QUOTE=i92guboj;3539979]Understand this for once: you are never ever going to get a desktop environment until X is installed and running.
As for the profile, use this command to list the available ones: Code:
eselect profile list Code:
eselect profile set <number> Thank u i92guboj .. I thought u forgot me .. That was pretty easy to have environment in desktop .. |
All times are GMT -5. The time now is 08:32 AM. |