UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ok i just did a minor upgrade on a really old pc. stuck an ati 9600 pro into it. booted the computer up, went into low graphics mode and once i was logged in, ubuntu picked up the card, downloaded the drivers, then told me to restart. i did the restart but the driver will not become enabled. i went into the restricted drivers menu, the driver is listed there with a check mark, however there is a red light saying "not enabled". i tried another restart again hoping that would get the driver enabled. when booting up xorg tries to start up a few times but then gives up. im now just looking at a command prompt. i tried to log in, it looks like it does the log in, but then brings me right back to the login prompt.
ok so i can only get command prompt at the moment. i have the prompt to log in, do my username and password but i get: cannot execute /bin/bash: too many levels of symbolic links.
after this it takes me back to the login prompt.
is there a way to boot up off of a live cd and get into the system to do this?
You could access in single user mode which will take you to a single session using root so you can be able to modify the xorg.conf or see the xorg log file...
As far as I remember, ubuntu add that type of boot to grub, you should see something like 'Ubuntu XXXX Single Mode' or the like, if not and you don't know how to do that, when you're in the grub ready to press Enter to boot, press the E key to edit the line of the kernel, normally, something like:
Code:
kernel /boot/vmlinuz ....
In the end of that line add Single and then press Enter, then, press B key to boot.
So, if you have something like:
Code:
kernel /boot/vmlinuz real_root=/hda1 ro
Adding 'Single' will look like:
Code:
kernel /boot/vmlinuz real_root=/hda1 ro Single
Regards
Last edited by Acron_0248; 12-08-2007 at 07:15 PM.
dont know if this will help any either but here is my xorg file. i noticed that driver is already set to ati, however the board name is for a radeon 8500 where as i in actual fact have a 9600 pro. i dont know if any of this matters though. thanks!
With that configuration you would be able to enter the desktop again using the ati driver, not the fglrx.
About the problem, the name 'ATI Radeon 8500' is nothing, but it could be, I mean, the name you put regarding to your video card in the xorg.conf doesn't mean anything to it, but, it could be meaning that ubuntu is not reading the right specs from your card, so, it thinks that is a radeon 8xxx series instead of a 9xxx series.
If that's happening, could explain the problem also, the problem is this, the driver fglrx is saying to you that doesn't find any supported card. AFAIK, the lastest fglrx only support 9500 and newer, but, if the system is telling that you've an 8xxx series, the driver will complaing that didn't find any supported card.
It would be great if you give us a deeper background of your systems, for instance, what card the system had before? which version of ubuntu is?
ok well its a pretty old system like 7 years now. its a p3 800mhz, and it was running a nvidia TNT2 card in it before. 32mb. im not really sure about anything else int he system, its just a really old dell computer. about editing this xorg.conf file, how would i go about doing that since i am on a live cd, ill need to get the right permissions somehow. i know where to find it, just dont know how to open it so i can edit it. right now its read only.
While using the liveCD, create a dir in /mnt (for example mkdir /mnt/ubuntu), after that, mount the ubuntu partition in that directory and then chroot to it. Something like this:
Code:
mkdir /mnt/ubuntu
mount -t file_system /dev/hdx /mnt/ubuntu
chroot /mnt/ubuntu
Ubuntu normally use reiserfs by default, so it would be mount -t reiserfs, but if that's not the case, be sure to change 'file_system' according with your partition, and also, change hdx or sdx for whatever the device in your system is.
After the chroot part, you'll be able to edit de file using nano for instance.
ok im aobut 99.9% sure the hd is ext3. im all clear on how to use the commands and everything and i should be able to do it once i get this cleared up. how do i tell the exact name of the hard drive? its on the desktop of the live cd just titled "disk" i thought normally linux referred to hard drives as hda1 hda2 rather then hd1 or hd2 but i for sure could be wrong. its been awhile since i partioned the drive so i just dont remember what is what. my guess is that it would be hda1 but when i try to mount that i get this:
Code:
ubuntu@ubuntu:~$ sudo mount -t ext3 /dev/hd1 /mnt/ubuntu
mount: special device /dev/hd1 does not exist
Well, the "x" was just a variable that in your case could be a1 b1 c2 d3, I mean, hda1 hdb2 hdc3, etc...(just examples), you were gonna replace that using the proper device name of your installation
While in the cli, you can type:
Code:
fdisk -l
You should have something like:
Code:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2607 20940696 83 Linux
/dev/hda2 2608 2806 1598467+ 82 Linux swap
/dev/hda3 2807 5423 21021052+ 83 Linux
"This is also an example, in your system may be different!"
If you remember that it was hda or hdb, and the partition number, great, that's what you're gonna use
If your partition is hda1, use that as the command you put:
Code:
ubuntu@ubuntu:~$ sudo mount -t ext3 /dev/hda1 /mnt/ubuntu
heh, always have to run into some sort of problem.
But without them, where would be the fun
So, for what I know, the problem seem to be that you have and endless loop throught symlinks, I mean, a link that point to itself, like sh linked to bash and bash linked to sh.
Also, you can check the symlinks with something like:
Code:
ls -l /bin
To see if bash is linked to something that references to itself.
Now, if you have access to root using the livecd (I mean the root user of the liveCD) you can try to use it to edit the file without chrooting, I told you the chroot stuff because in some liveCD the root use a password and I have known people that go mad with this since they don't know the root pass ^^ and to avoid that, I told you to chroot.
OK, sorry had no time the last few days to work on things. I just did things kind of the lazy way. I started up nautilus as root and just made my way to the xorg file and edited that way. I am now booted up on the hard drive, I have a GUI. The graphcis certainly look weird though. And the restricted drivers menu still says the driver is not in use. Are you familiar with ubuntu at all? To me it seems like this would be a rather simple fix at this point to just get ubuntu to start using the driver, I mean it's already installed and everything. I tried posting this problem on the ubuntu forums, but those are the worst forums ive ever used, nobody helps anybody!
It's normal that the systems tells you that the driver isn't being used "if you change the system to use the driver ati instead of fglrx"
I'm also familiarized with the problem of the fglrx which, from the begging is:
Code:
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:0) found
(EE) No devices detected.
Fatal server error:
no screens found
This line: "(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:0) found" is where the problem start and the driver is basically telling you that can't find any hardware that could be supported.
¿Simple fix? maybe, you could try to install some legacy driver of ati from the repos, but it shouldn't be necessary since you're video card is supported by the latests ati drivers. If it is a bug in the package, you could also try to downloading the ati driver from ati's page and install that driver instead those that are in ubuntu repository.
Also, it can be a problem with how the card is reported by the system, you could try this modifications if that's the case:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.