Code: Select all
#eselect kernel list
Available kernel symlink targets :
[1] linux-3.2.21-gentoo *Code: Select all
#ls /boot
linux-2.6.34-gentoo-r1Code: Select all
#eselect kernel list
Available kernel symlink targets :
[1] linux-3.2.21-gentoo *Code: Select all
#ls /boot
linux-2.6.34-gentoo-r1Code: Select all
uname -a
ls -l /boot
ls -l /usr/bin/startx
cat /home/yourname/.xinitrc (change yourname to your login name)
cat /etc/fstab
eix -CcI x11-base
Code: Select all
emerge eix && eix-updateCode: Select all
uname -a
Linux tux 3.2.21-gentoo #2 SMP sat July 7 15:01:25 local time zone must be set ---s ee zic m i686 Intel(R) core(TM) 2Duo CPU T5870 @ 2.00 GHZ Genuine Intel GNU/Linux
ls -l /boot
total 4820
-rw-r--r--1 root root 4919664 July 9 18:31 Kernel-2.6.34-gentoo-r1
ls -l /usr/bin/startx
ls:/usr/bin/startx : No such file or directory
ls -l /home/root/.xinitrc
ls :/home/root/.xinitrc : No such file or directory
cat /etc/fstab
/dev/sda4 /boot ext2 noatime 1 2
/dev/sda6 / ext3 noatime 0 1
/dev/sda5 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
emerge eix && eix-update
eix -CcI x11-base
No match found
Code: Select all
Login :root
#cd /usr/src/linux
#make menuconfig
Device Drivers--->
Input device support -->
<*>Event interface
Device Drivers --->
Graphics support --->
support for frame buffer devices --->
(Disabling the drivers)
console display driver support --->
<*>frame buffer console support
#make && make module_install
#cp arch/x86/boot/bzImage /boot/kernel-2.6.34-gentoo-r1
#eselect kernel list
[1] linux-3.2.21-gentoo
#nano -w /etc/make.conf
INPUT_DEVICES="evdev synaptics"
VIDEO_CARD="nouveau"
#echo "x11-base/xorg-server udev" >> /etc/portage/package.use
#emerge xorg-server
#env-update
#source /etc/profile
$startx
I am sorry but I don't understand what you are saying,VoidMage wrote:Let me repeat myself:
The real question here is what will you be running within xorg-server ?
I suspect that "command not found" at the end of startx output was the correct and expected behavior.
Full output of startx or a pastebin of xorg log could help in making sure that's the case.
x11-base/xorg-server is not installed. You should follow this http://www.gentoo.org/doc/en/xorg-config.xmluname -a
Linux tux 3.2.21-gentoo #2 SMP sat July 7 15:01:25 local time zone must be set ---s ee zic m i686 Intel(R) core(TM) 2Duo CPU T5870 @ 2.00 GHZ Genuine Intel GNU/Linux
ls -l /boot
total 4820
-rw-r--r--1 root root 4919664 July 9 18:31 Kernel-2.6.34-gentoo-r1
Going through the above will tell you what to do to cure thisls -l /usr/bin/startx
ls:/usr/bin/startx : No such file or directory
ls -l /home/root/.xinitrc
ls :/home/root/.xinitrc : No such file or directory
Code: Select all
[root's user prompt] mount
Bill : I wonder about mismatch of them too,but I don't know why this is like this !!BillWho wrote:haleh,
A couple of things - there's a mismatch of kernels. Check the times and versionx11-base/xorg-server is not installed. You should follow this http://www.gentoo.org/doc/en/xorg-config.xmluname -a
Linux tux 3.2.21-gentoo #2 SMP sat July 7 15:01:25 local time zone must be set ---s ee zic m i686 Intel(R) core(TM) 2Duo CPU T5870 @ 2.00 GHZ Genuine Intel GNU/Linux
ls -l /boot
total 4820
-rw-r--r--1 root root 4919664 July 9 18:31 Kernel-2.6.34-gentoo-r1Going through the above will tell you what to do to cure thisls -l /usr/bin/startx
ls:/usr/bin/startx : No such file or directoryls -l /home/root/.xinitrc
ls :/home/root/.xinitrc : No such file or directory
Code: Select all
#ls -l /boot
total 4676
-rw-r--r-- 1 root root 4773072 July 10 15:45 Kernel-2.6.34-gentoo-r1
#ls -l /home
total 4
drwxr-xr-x 3 tux tux 4096 Jul 8 21:28 tux
#ls -l arch/x86/boot/bzImage
ls:cannot access arch/x86/boot/bzImage :No such file or directory
#ls -l /usr/bin/X
ls:cannot access /usr/bin/X :No such file or directory
#eselect profile show
default/linux/x86/10.0.Desktop/gnome
#eix -CcI x11-base
No matches foundYeah,you are right,I didn't setup any clients and about window manager ,I think that I should it install it after X server configuration ,AM I RIGHT????or notVoidMage wrote:Honestly...
First of all, x11-apps/xinit.
Second, above will change very little, as xorg-server is for running its clients and most likely you didn't set up any.
At minimum, it should be a window manager (in Gnome that's IIRC metacity), but most likely you want at least a session manager (so, gnome-session).
Code: Select all
ls -l /usr/src/linux/arch/x86/boot/bzImageCode: Select all
gentoo 3.5.0-rc6 # eix -CcI x11-base
[I] x11-base/xorg-drivers (1.12@06/10/2012): Meta package containing deps on all xorg drivers
[I] x11-base/xorg-server (1.12.2@07/04/2012): X.Org X servers
Code: Select all
emerge x11-base/xorg-server Code: Select all
eix -CcI x11-baseCode: Select all
mount|column -t && blkidit is just for youwcg wrote:You might post the output of the mount command. Run it logged
in as root:See what is mounted where with what mount options.Code: Select all
[root's user prompt] mount
(All the "not founds" seem to indicate that partitions
are not mounted where you expect them to be.)
Code: Select all
/rootfs on /type rootfs (rw)
/dev/root on /type ext3 (rw,noatime,errors=continue,barrier=1,data=writeback)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on/run type tmpfs(rw,nosuid,nodev,noexect,relatime,size=1024k,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs(rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs(rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
cpuset on /sys/fs/cgroup/cpuset type cgroup(rw,nosuid,nodev,noexec,relatime,cpuset)
cpu on /sys/fs/cgroup/cpu type cgroup(rw,nosuid,nodev,noexec,relatie,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup(rw,nosuid,nodev,noexec,relatime,cpuacct)
freezer on /sys/fs/cgroup/freezer type cgroup(rw,nosuid,nodev,noexec,relatime,freezer)
udev on /dev type dev tmpfs(rw,nosuid,relatime,size=10240k,nr_inodes=1218325,mode=755)
devpts on /dev/pts type devpts(rw,nosuid,noexec,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
usbfs on /proc/bus/usb type usbfs(rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
BillWho wrote:Sorry, my mistake with bzimage![]()
TryAlso eix -CcI x11-base shows nothing - it should showCode: Select all
ls -l /usr/src/linux/arch/x86/boot/bzImagesoCode: Select all
gentoo 3.5.0-rc6 # eix -CcI x11-base [I] x11-base/xorg-drivers (1.12@06/10/2012): Meta package containing deps on all xorg drivers [I] x11-base/xorg-server (1.12.2@07/04/2012): X.Org X serversthen paste backCode: Select all
emerge x11-base/xorg-serverwhen doneCode: Select all
eix -CcI x11-base
Another strange thing is your fstab shows a separate /boot partition, but you don't show a lost+found directory![]()
So paste backCode: Select all
mount|column -t && blkid
Code: Select all
#ls -l /usr/src/linux/arch/x86/boot/bzImage
-rw-r--r-- 1 root root 477372 jul 10 15:44 /usr/src/linux/arch/x86/boot/bzImage
#emerge x11-base/xorg-server
it installed without any error the same as other times
#eix -cCI x11-base
no matches found
Code: Select all
mkdir /mnt/gentoo
mkdir /mnt/gentoo/boot
mount /dev/sda6 /mnt/gentoo
mount /dev/sda4 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="\[\033[1;33m\]chroot to ->\[\033[1;31m\](gentoo) #\[\e[0m\] "
Code: Select all
mount|column -t && blkidBillWho wrote:haleh,
Looking through all the info in this thread things are getting more and more confusingIt doesn't appear that you're chrooting correctly. The output of mount for wcg doesn't show /dev/sda6 mounted which is your / (root) partition
![]()
What live meda are you usingand whatever you're using chroot to gentoo like this:
I can't tell if you have a separate /home partition or not so just start with /boot and /.Code: Select all
mkdir /mnt/gentoo mkdir /mnt/gentoo/boot mount /dev/sda6 /mnt/gentoo mount /dev/sda4 /mnt/gentoo/boot mount -t proc none /mnt/gentoo/proc mount -o bind /dev /mnt/gentoo/dev chroot /mnt/gentoo /bin/bash env-update source /etc/profile export PS1="\[\033[1;33m\]chroot to ->\[\033[1;31m\](gentoo) #\[\e[0m\] "
After you're chrooted paste backCode: Select all
mount|column -t && blkid