What to do?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: What to do?

Post by MagnusB »

What did you do before GDM failed? Have you changed the refresh rate? Should always be careful when doing that, as setting it to high could fry your panel.
Now, there is a easy fix to restore a broken xorg.conf, assuming you still have your livecd.
1. Boot into the liveCD.
2. Make sure the root filesystem is mounted, open nautilus/konqueror/thunar and double click on xxxGB disk or whatever.
3. Open a terminal window, and CD into your root disk:

Code: Select all

cd /media/disk
Make sure it is your root disk by:

Code: Select all

ls
This should return something like:
bin dev home lost+found
and so on.
4. Now just copy the working xorg.conf from your live session to your HDD install:

Code: Select all

sudo cp /etc/X11/xorg.conf /media/disk/etc/X11/xorg.conf
This is probably the easiest way to recover the xorg.conf if you didn't take a backup.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: What to do?

Post by MagnusB »

Are you using KDE or GNOME?
If you use GNOME, open mintMenu (in a live session) and select computer. On the navigation bar to the right double click on something like "50 GB disk" or a like.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: What to do?

Post by MagnusB »

Ok, then you might have to use mount in a terminal:

Code: Select all

fdisk -l
this should return something like:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000195ad

Device Boot Start End Blocks Id System
/dev/sda1 1 249 2000061 82 Linux swap / Solaris
/dev/sda2 250 13083 103089105 83 Linux
In my case it is /dev/sda2, so I'll need to mount that:

Code: Select all

sudo mkdir /media/disk
sudo mount /dev/sda2 /media/disk
Then use my above mentioned codes to restore xorg.conf.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
User avatar
newW2
Level 5
Level 5
Posts: 821
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Re: What to do?

Post by newW2 »

you need to have root privileges.

Code: Select all

sudo fdisk -l
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: What to do?

Post by MagnusB »

To load ndiswrapper at boot:

Code: Select all

sudo gedit /etc/modules
and add ndiswrapper to the list. As for ndiswrapper -m, that only need to run once.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
Husse

Re: What to do?

Post by Husse »

I just read the beginning of this topic and I don't intend to participate more in it but
there is mintUpdate for updates
specifically made to keep dangerous updates out of harms way! Please, please use it
Locked

Return to “Beginner Questions”