Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]X server Configuration
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Wed Jul 11, 2012 7:49 am    Post subject: Reply with quote

Hi Bill
at first I did exactly the same as handbook,this is the exact codes
Code:

# mount /dev/sda6 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/sda4 /mnt/gentoo/boot

# mount -t proc none /mnt/gentoo/proc
# mount --rbind /sys /mnt/gentoo/sys
# mount --rbind /dev /mnt/gentoo/dev

# chroot /mnt/gentoo /bin/bash
# env-update
>> Regenerating /etc/ld.so.cache...
# source /etc/profile
# export PS1="(chroot) $PS1"

after finalizing and reboot my grub didn't work so I had to chroot again in order to fix the problem and I did this

boot :gentoo nox
#swapon  /dev/sda5
#mount -t ext3 /dev/sda6 /mnt/gentoo
#mount -t ext2 /dev/sda4 /mnt/gentoo/boot
#mount -t proc proc /mnt/gentoo/proc
#mount -o bind /dev /mnt/gentoo/dev
#chroot /mnt/gentoo /bin/bash
#env-update
#source /etc/profile
#export PS1="(chroot) $PS1"

and after fixing problem I did this

# exit
~# cd
~# umount -l /mnt/gentoo/dev{/shm,/pts,}
~# umount -l /mnt/gentoo{/boot,/proc,}
~# reboot


Bill,when the data is loading for starting Gentoo I always see "some local filesystems failed to mount [!!]"Is it strange ???
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Thu Jul 12, 2012 6:10 am    Post subject: Reply with quote

What is wrong ???what should I do ?
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Thu Jul 12, 2012 1:26 pm    Post subject: Reply with quote

I followed every command in X server configuration and I installed gnome according to the The Gnome configuration,but it seems nothing will be installed ,and when I run

Code:
$startx
-bash:startx :command not found


what is wrong ???
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1587
Location: US

PostPosted: Thu Jul 12, 2012 3:07 pm    Post subject: Reply with quote

haleh,

As I pointed out in a previous post /dev/sda6, which is purportedly your / partition, is not mounted - there's something wrong with the chroot.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Thu Jul 12, 2012 3:35 pm    Post subject: Reply with quote

hey bill what do you suggest?i think the best idea is to install gentoo again,it was my first time to install ,maybe i made some mistakes,in this way i can mention every thing and notice more,what do you think?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1587
Location: US

PostPosted: Thu Jul 12, 2012 3:45 pm    Post subject: Reply with quote

BillWho wrote:
haleh,

Looking through all the info in this thread things are getting more and more confusing :( It 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 using :?: and whatever you're using chroot to gentoo like this:

Code:
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\] "

I can't tell if you have a separate /home partition or not so just start with /boot and /.

After you're chrooted paste back
Code:
mount|column -t && blkid


You ignored this request completely and responded with extraneous information that didn't help in identifying the problem. If you don't provide the requested info, we can't help :roll:

Quote:
i think the best idea is to install gentoo again

That's up to you. You'll have to make that determination :D
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Thu Jul 12, 2012 4:38 pm    Post subject: Reply with quote

i thought that you dont want output ,thanks for your replies ,i wil past the output of mount | column -t && blkid as soon as possible!bill,i never give up of learning of my mistakes,thanks for your care again :D
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Thu Jul 12, 2012 6:18 pm    Post subject: Reply with quote

This is the output :

Code:
#mount | column -t && blkid
/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)
   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)

/dev/sda1:LABEL="System Reserved"UUID="FCB090DFB090A226"TYPE="ntfs"
/dev/sda2:UUID="4028B2BD2B2B170" TYPE="ntfs"
/dev/sda4:UUID="b31eb9df-9bd4-4795-9b5b-33a443f67ecd"TYPE="ext2"
/dev/sda5:UUID="f22cco2b-457a-4526-b226-9fde33095a3a"TYPE="swap"
/dev/sda6:UUID="de7eddb3-95ed-4a9f-8e18-0740abcde6d"TYPE="ext3"
/dev/loop0 :TYPE="squashfs"
/dev/sdb1 : LABEL ="MYLINUXLIVE" UUID="BOBA-C649" TYPE ="vfat"
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1587
Location: US

PostPosted: Thu Jul 12, 2012 7:15 pm    Post subject: Reply with quote

haleh,

There's something wrong with the chroot. This is what it should look like.
Code:
root@gentoo-gateway distfiles # mount /dev/sda9  /media/arch
root@gentoo-gateway distfiles # mount /dev/sda8  /media/arch/boot
root@gentoo-gateway distfiles # mount /dev/sda10 /media/arch/home
root@gentoo-gateway distfiles # mount -t proc none /media/arch/proc
root@gentoo-gateway distfiles # mount -o bind /dev /media/arch/dev
root@gentoo-gateway distfiles # chroot /media/arch /bin/bash
[root@gentoo-gateway /]# source /etc/profile
[root@gentoo-gateway /]# export PS1="\[\033[1;33m\]chroot to ->\[\033[1;31m\](arch) #\[\e[0m\] "
chroot to ->(arch) # dmnt
/dev/sda9   on  /      type  ext3      (rw,relatime,errors=continue,barrier=1,data=writeback)
/dev/sda8   on  /boot  type  ext2      (rw,relatime,errors=continue)
/dev/sda10  on  /home  type  ext4      (rw,relatime,data=ordered)
none        on  /proc  type  proc      (rw,relatime)
udev        on  /dev   type  devtmpfs  (rw,nosuid,relatime,size=10240k,nr_inodes=464990,mode=755)

This is chrooted to an arch linux installation. Notice mount /dev/sda9 /media/arch and /dev/sda9 on / type ext3 (rw,relatime,errors=continue,barrier=1,data=writeback)

dmnt is an alias for 'mount | column -t'

You don't show anything mounted on /dev/sda4 and /dev/sda6 in your list :!:

Try the outline that I gave you to chroot and paste back the info again
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Thu Jul 12, 2012 7:28 pm    Post subject: Reply with quote

BillWho wrote:
haleh,

There's something wrong with the chroot. This is what it should look like.
Code:
root@gentoo-gateway distfiles # mount /dev/sda9  /media/arch
root@gentoo-gateway distfiles # mount /dev/sda8  /media/arch/boot
root@gentoo-gateway distfiles # mount /dev/sda10 /media/arch/home
root@gentoo-gateway distfiles # mount -t proc none /media/arch/proc
root@gentoo-gateway distfiles # mount -o bind /dev /media/arch/dev
root@gentoo-gateway distfiles # chroot /media/arch /bin/bash
[root@gentoo-gateway /]# source /etc/profile
[root@gentoo-gateway /]# export PS1="\[\033[1;33m\]chroot to ->\[\033[1;31m\](arch) #\[\e[0m\] "
chroot to ->(arch) # dmnt
/dev/sda9   on  /      type  ext3      (rw,relatime,errors=continue,barrier=1,data=writeback)
/dev/sda8   on  /boot  type  ext2      (rw,relatime,errors=continue)
/dev/sda10  on  /home  type  ext4      (rw,relatime,data=ordered)
none        on  /proc  type  proc      (rw,relatime)
udev        on  /dev   type  devtmpfs  (rw,nosuid,relatime,size=10240k,nr_inodes=464990,mode=755)

This is chrooted to an arch linux installation. Notice mount /dev/sda9 /media/arch and /dev/sda9 on / type ext3
(rw,relatime,errors=continue,barrier=1,data=writeback)

dmnt is an alias for 'mount | column -t'

You don't show anything mounted on /dev/sda4 and /dev/sda6 in your list :!:

Try the outline that I gave you to chroot and paste back the info again


one question ??your sda8 will be your boot and sda9 your root ???

Quote:
/dev/sda9 on / type ext3 (rw,relatime,errors=continue,barrier=1,data=writeback)

it seems that it is some how the same as :

Quote:
/dev/root on / type ext3 (rw,naotime,errors=continue,barrier=1,data=writeback)

but mine has some problems ,you chroot it with your root login ?should I do this or chroot with LIVECD??
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1587
Location: US

PostPosted: Thu Jul 12, 2012 7:40 pm    Post subject: Reply with quote

haleh,

What I want you to do is to chroot to gentoo from the live cd using the outline I gave you.

Then paste back mount|column -t && blkid again.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Thu Jul 12, 2012 7:55 pm    Post subject: Reply with quote

bill, #mount /dev/sda6 /media/arch mount: mount point /media/arch doesnt exist!!
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1587
Location: US

PostPosted: Thu Jul 12, 2012 7:57 pm    Post subject: Reply with quote

This one - the arch stuff was just to show you what it should look like

BillWho wrote:
BillWho wrote:
haleh,

Looking through all the info in this thread things are getting more and more confusing :( It 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 using :?: and whatever you're using chroot to gentoo like this:

Code:
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\] "

I can't tell if you have a separate /home partition or not so just start with /boot and /.

After you're chrooted paste back
Code:
mount|column -t && blkid


You ignored this request completely and responded with extraneous information that didn't help in identifying the problem. If you don't provide the requested info, we can't help :roll:

Quote:
i think the best idea is to install gentoo again

That's up to you. You'll have to make that determination :D

_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Thu Jul 12, 2012 8:28 pm    Post subject: Reply with quote

I am sorry really sorry Bill :oops: :oops: :oops: :( ,I am really confused,I am not stupid :D but I did whatever you said to me :I chroot by livecd and paste

#mount | column -t && blkid in my previous post ,believe me I don't lie

I know that my sdas are not mounted and they should have been mounted but why are these like this ?????what cause this problem !!!!!
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1587
Location: US

PostPosted: Thu Jul 12, 2012 8:36 pm    Post subject: Reply with quote

OK, just do this - boot the live cd and just mount gentoo with:

Code:
mkdir /mnt/gentoo
mkdir /mnt/gentoo/boot

mount /dev/sda6 /mnt/gentoo
mount /dev/sda4 /mnt/gentoo/boot

Then paste back ls -l /mnt/gentoo/boot and ls -l /mnt/gentoo
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Thu Jul 12, 2012 9:22 pm    Post subject: Reply with quote

Code:
#ls -l /mnt/gentoo/boot
total 4827
lrwxrwxrwx  1  root  root  1             Jul  7  17:06   boot  -> .
drwxr-xr-x   2  root  root  1024        Jul  8  17:28  grub
-rw-r--r--     1  root  root  4908624   Jul  7  15:03  Kernel-2.6.34-gentoo-r1
drwx------    2  root  root  12288       Jul  7  11:15  lost+found

#ls -l /mnt/gentoo
total 81
drwxr-xr-x  2  root  root  4096  Jul  7  17:06  bin 
drwxr-xr-x  4  root  root  1024  Jul  7  17:06  boot
drwxr-xr-x  3  root  root  4096  Jul  3  17:20  dev
drwxr-xr-x  30root  root  4096  Jul  13  01:10  etc
drwxr-xr-x  3  root  root  4096  Jul  8  19:27  home
drwxr-xr-x  8  root  root  4096  Jul  7  17:06  lib
drwx------   2  root  root  16384 Jul 7 11:16 lost+found
drwxr-xr-x  2  root  root  4096  Jul  3  17:20  media
drwxr-xr-x  2  root  root  4096  Jul  3  17:20  mnt
drwxr-xr-x  2  root  root  4096  Jul  3  17:20  opt
drwxr-xr-x  2  root  root  4096  Jul  3  16:23  proc
drwx------   2  root  root  4096  Jul  7  18:09  root
drwxr-xr-x  3  root  root  4096  Jul  4  03:05  run
drwxr-xr-x  2  root  root  4096  Jul  7  17:06  sbin
drwxr-xr-x  2  root  root  4096  Jul  3  17:20  sys
drwxrwxrwt  4  root  root  4096  Jul  13  01:10  tmp
drwxr-xr-x  12  root  root  4096  Jul  7  11:44  usr
drwxr-xr-x  9  root  root  4096  Jul  3  17:20  var
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1587
Location: US

PostPosted: Thu Jul 12, 2012 9:34 pm    Post subject: Reply with quote

good - now paste back mount|column -t
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Thu Jul 12, 2012 10:15 pm    Post subject: Reply with quote

something hopeful :D
Code:

#mount | column -t 
/rootfs        on        /                          type           rootfs            (rw)
 proc        on       /proc                       type          proc              (rw,nosuid,nodev,noexec,relatime)
 sysfs      on       /sys                         type          sysfs            (rw,nosuid,nodev,noexec,relatime)
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)                     
/dev/sdb1  on   /mnt/cdrom               type         vfat              (ro,relatime,fmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro )
/dev/loop0   on    /mnt/livecd              type      squashfs         (ro,relatime)                                                                                                                                                 
rc-svcdir   on    /mnt/livecd/lib/rc/init.d   type    tmpfs           (rw,nosuid,nodev,no exec,relatime,size=1024k,mode=755)
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)
/dev/sda 6  on  /mnt/gentoo               type          ext3                 (rw)     
/dev/sda4  on   /mnt/gentoo/boot      type               ext2               (rw)
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1587
Location: US

PostPosted: Thu Jul 12, 2012 10:40 pm    Post subject: Reply with quote

OK, did you notice:
/dev/sda 6 on /mnt/gentoo type ext3 (rw)
/dev/sda4 on /mnt/gentoo/boot type ext2 (rw)

Now mount these:
Code:
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev

And again post back mount|column -t
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Thu Jul 12, 2012 10:50 pm    Post subject: Reply with quote

Yeah Bill,really thanks for your help,I appreciate your help,but can I continue tomorrow ??,now in my country it is after midnight ,I get a headache because of not sleeping ,because you help me a lot ,I ask your permission to quit,if you become angry or something like this ,I will continue :D ;) so what do you say?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1587
Location: US

PostPosted: Thu Jul 12, 2012 10:54 pm    Post subject: Reply with quote

haleh,

My advice is go get some sleep.

Just get back to the same place you were now and show me the output tomorrow

Good night :D
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Fri Jul 13, 2012 11:02 am    Post subject: Reply with quote

Hi Bill,
BillWho wrote:

Now mount these:
Code:
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev

And again post back mount|column -t


These two lines were added to previous :
Code:

none  on   /mnt/gentoo/proc     type   proc   (rw)
/dev   on   /mnt/gentoo/dev     type   none   (rw,bind)
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1587
Location: US

PostPosted: Fri Jul 13, 2012 12:32 pm    Post subject: Reply with quote

haleh,

Excellent,

Now do the chroot and do an ls then copy and paste pack the portion of the screen with the output of the chroot like this:
Code:
lmde bill # chroot /media/xen /bin/bash
lmde / # env-update
>>> Regenerating /etc/ld.so.cache...
lmde / # source /etc/profile
lmde / # export PS1="\[\033[1;33m\]chroot to ->\[\033[1;31m\](xen) #\[\e[0m\] "
chroot to ->(xen) # ls
bin  boot  dev  etc  home  lib  lib32  lib64  lost+found  media  mnt  opt  portage-20120710.tar.bz2  proc  root  run  sbin  stage3-amd64-20120621.tar.bz2  sys  tmp  usr  var
chroot to ->(xen) #


Go for it :D
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
haleh
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jul 2012
Posts: 127

PostPosted: Fri Jul 13, 2012 1:29 pm    Post subject: Reply with quote

bin boot dev etc home lib lost+found media mnt opt proc root run sbin sys tmp usr var
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1587
Location: US

PostPosted: Fri Jul 13, 2012 2:00 pm    Post subject: Reply with quote

haleh,

So far so good :)

Now emerge x11-base/xorg-server x11-base/xorg-drivers

When done exit the chroot, reboot the live cd and reenter gentoo with this
Code:
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 rbind /dev /mnt/gentoo/dev
mount -o rbind /dev /mnt/gentoo/sys
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="\[\033[1;33m\]chroot to ->\[\033[1;31m\](gentoo) #\[\e[0m\] "

Then paste back the output of qlist -I -C x11-base/
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum