Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ffffdd UP!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lucab617
Apprentice
Apprentice


Joined: 07 Jan 2005
Posts: 156
Location: Boston, MA

PostPosted: Thu Feb 10, 2005 4:48 am    Post subject: Ffffdd UP! Reply with quote

Ok well I tried to mess around with some video settings and now im locked out of my desktop enviroment. I need to boot up with the cd and chroot. Does anyone know the mounting procedures to get into my / directory. I am tring to access my xorg.conf file. Thanks.
Back to top
View user's profile Send private message
transient
l33t
l33t


Joined: 13 Jan 2005
Posts: 759

PostPosted: Thu Feb 10, 2005 5:01 am    Post subject: Reply with quote

Yep.
From the livecd, mount your root partition under /mnt/gentoo:
Code:
mount /dev/hdxX /mnt/gentoo
where hdxX is whatever partition of whatever drive your / is located on.
Then, mount any remaining partitions as required. The only ones you will need for accessing your xorg.conf will be /, though you can mount /home or any others as well.
Now chroot into /mnt/gentoo:
Code:
chroot /mnt/gentoo /bin/bash

Now youre in your gentoo install, so simply
Code:
env-update && source /etc/profile
and find your config, edit it, and youre done.
Back to top
View user's profile Send private message
seank
l33t
l33t


Joined: 08 Jul 2004
Posts: 686

PostPosted: Thu Feb 10, 2005 5:02 am    Post subject: Reply with quote

chroot /dev/hdXn /mnt/gentoo (where X is the harddrive letter and n is the parition number for /) then you can nano -w /mnt/gentoo/etc/X11/xorg.conf.
Back to top
View user's profile Send private message
twoup
n00b
n00b


Joined: 25 Oct 2004
Posts: 14
Location: Australia

PostPosted: Thu Feb 10, 2005 5:16 am    Post subject: Reply with quote

Heres my solution which I think is a bit easier (no need to use live cd)..

If you are using grub you can change the runlevel to boot to 3 (text mode) or (level 1 basic shell).. Once your in text mode you can run xorgconfig to generate new xorg.conf..

To change runlevel in grub when the menu appears press e to edit and place either 3 or 1 immedialy after the kernel command line. Then press b to boot into a text mode runlevel (note these changes are just temp.)

This should get you back to text mode and run xorgconfig..

That you be alot easier than stuff around with livecd's and chrooting..etc

Cheers
Twoup
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
Page 1 of 1

 
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