problem on boot because of wrong resolution
Hi, there, I'm tired of being a newbie and I tried to solve this problem very hard before posting here, but I couldn't solve it by myself, so here it is.
I'm using Mdk 9.2 with XFree 4.3, and i entered the MCC (mandrake control center) and by accident I changed my screen resolution from 1024x768 to 11***x*** (the next in the list), everything went fine until I rebooted, it gave me the normal loading process until the screen where you put your password and login, cause it only gave me a black screen and I had to reset my box, then when i tried again it just gave a long list of errors which i couldn't write, and then it said something about a kernel panic, and that it would try to pass the command init= to the kernel, but it just freeze, and I had to reset again. I tried to fix it by "updating" Mdk with the Cd's but because I had updated my kernel with one that i found on a contribs site (2.4.22-28 I think) it only gave the option to install the OS, but off course I don't wanna miss all the data i have; also i tried to do something by entering in the rescue mode, thinking that i could modify the XFree config file, but I couldn't find the file this way, bacause it shows only some files on the PC, I don't know why is that but i would like to know, so I'm tired and need desperately a solution, I would appreciate all the help you could give. thanks |
I'm gonna assume that you're booting with a graphical lilo, as is common for Mandrake. Try booting with the "linux-failsafe" option, which should fire you in there with fewer options (and no framebuffer). If you get to the "black screen", try going to another console by hitting ctrl+alt+F2. If you get there, you can log in as root. Then you can fire up your favorite editor to fix the problems.
It sounds like you have two problems. One is the graphical problem, which is actually quite easy to fix - which is a good thing. The other sounds like you may have messed up your lilo.conf file a bit too. Here are where these files are: /etc/X11/XF86Config-4 /etc/lilo.conf I think nano is installed by default (and its easy to use), so to edit your XFree config, you'd Code:
nano -w /etc/X11/XF86Config-4 Find the section near the bottom referring to the screen Code:
Section "Screen" Ex: Code:
SubSection "Display" Code:
SubSection "Display" Now, if the kernel panic is happening and you can't get past it no matter what, try to type, when it asks you for an init, "/bin/bash" and see if it lets you get a shell. If so, you can edit from there. In that case, you'd want to try a rescue. Insert your Mandrake CD and hit F1 or F2 (whichever it says) to get help/rescue. Type rescue and it'll fire up a recovery tool list. Choose to repair lilo and see if that fixes it. |
All times are GMT -5. The time now is 10:31 PM. |