View previous topic :: View next topic |
Author |
Message |
lucab617 Apprentice
Joined: 07 Jan 2005 Posts: 156 Location: Boston, MA
|
Posted: Thu Feb 10, 2005 4:48 am Post subject: Ffffdd UP! |
|
|
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 |
|
|
transient l33t
Joined: 13 Jan 2005 Posts: 759
|
Posted: Thu Feb 10, 2005 5:01 am Post subject: |
|
|
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 |
|
|
seank l33t
Joined: 08 Jul 2004 Posts: 686
|
Posted: Thu Feb 10, 2005 5:02 am Post subject: |
|
|
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 |
|
|
twoup n00b
Joined: 25 Oct 2004 Posts: 14 Location: Australia
|
Posted: Thu Feb 10, 2005 5:16 am Post subject: |
|
|
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 |
|
|
|