LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2012, 11:15 AM   #1
wintergoat
LQ Newbie
 
Registered: Mar 2012
Posts: 12

Rep: Reputation: Disabled
Black screen after installing Debian on PowerPC iMac


I am not new to linux in general, but I am new to Debian, and installing it on PowerPC. I recently installed Debian for PowerPC on my old iMac. I do not know if it is a G3 or G4, but it is one of the CRT models. The install went through fine, but then I type "Linux" at the boot prompt, and it begins loading everything and printing status messages to the screen. But, when it is done loading, the screen goes entirely black. I even left it over night to make sure it didn't just have to load something to do with the display, but it was still black in the morning. I read somewhere else that it can be fixed by editing the xorg.conf, but how am I supposed to do that without the display? Please help me get this working! Thanks in advance!
 
Old 03-27-2012, 11:22 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853
If it is a G3 iMac then it is a know issue. Here is the fix:
Quote:
Blank screen on iMac G3

Do you get a blank screen after booting? The problem is that xorg.conf is not set up properly for the iMac G3.

Follow these steps to fix xorg.conf:

After booting is complete:

Type: ctrl-option-F1 (should give you a command prompt, may take a couple of tries)

Type: sudo nano /etc/X11/xorg.conf (return)

In the Monitor section, change "HorizSync" to 58-62 and "VertRefresh" to 75-117.

Disable DRI. In the Module section, put a hash mark (#) at the beginning of the line containing "load dri". If you have no Module section, make one like this:

Section "Module"
Disable "glx"
Disable "dri"
EndSection

Type: ctrl-O (return) to write edited file

Type: ctrl-X to exit nano back to command line

Type: sudo /etc/init.d/gdm restart (return) to restart Gnome. (In Dapper and Edgy, the restart command is broken. Use sudo killall -HUP gdm instead.)

For longer instructions, also see forum thread http://ubuntuforums.org/showthread.php?t=405934
Taken from here.
 
Old 03-27-2012, 11:35 AM   #3
wintergoat
LQ Newbie
 
Registered: Mar 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
If it is a G3 iMac then it is a know issue. Here is the fix:Taken from here.
I tried that key combination multiple times, nothing happened. Any other ideas?
 
Old 03-27-2012, 11:43 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853
No, that worked for me on my G3 iMac.
 
Old 03-27-2012, 12:05 PM   #5
wintergoat
LQ Newbie
 
Registered: Mar 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
When exactly do I press it? When the screen turns black?
 
Old 03-27-2012, 12:12 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853
After the screen goes black wait a while, until the harddisk is not active anymore, so that you can be sure the system is up and running. Then press the key combination.
 
Old 03-27-2012, 12:32 PM   #7
wintergoat
LQ Newbie
 
Registered: Mar 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
I just booted it again, waited for the HDD activity to die down, and then waited a bit longer. I pressed the key combo, and I heard some more HDD activity, but no command prompt. I waited a couple more minutes, and again, HDD activity as soon as I pressed the keys, but still no command prompt. I have no clue why it is not working.
 
Old 03-27-2012, 01:02 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853
It is some time ago, so I don't remember for sure, but does the bootloader has a line where you can type in a kernel you want to boot? If so type in the default kernel and add a 1 and the end of the line, so that the system does not start the graphical environment. Something that it looks like that
Code:
linux 1
Then proceed with editing xorg.conf.
Alternatively, boot to a rescue shell from your installer CD, mount the /-partition and edit the file.
 
Old 03-27-2012, 01:19 PM   #9
wintergoat
LQ Newbie
 
Registered: Mar 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
It is some time ago, so I don't remember for sure, but does the bootloader has a line where you can type in a kernel you want to boot? If so type in the default kernel and add a 1 and the end of the line, so that the system does not start the graphical environment. Something that it looks like that
Code:
linux 1
Then proceed with editing xorg.conf.
Alternatively, boot to a rescue shell from your installer CD, mount the /-partition and edit the file.

I did what you said, it gives me the command prompt. I will edit the file. One more thing. The display seems misaligned. The top left corner's text has too much of a border, and it too far away from the screen edge. The first few letters of the bottom left corner's text have disappeared beyond the boundaries of the screen. Is this a software or a hardware problem?
 
Old 03-27-2012, 01:22 PM   #10
wintergoat
LQ Newbie
 
Registered: Mar 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
GAHHHH! There is no X11 folder inside /etc/ !!!!
 
Old 03-27-2012, 01:31 PM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853
Have you booted from the install disc or modified the bootloader's command-line? If you use the install disc you have to mount the harddisk , for example to /mnt, and then edit the file inside /mnt/etc, not /etc.
 
Old 03-27-2012, 01:38 PM   #12
wintergoat
LQ Newbie
 
Registered: Mar 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Have you booted from the install disc or modified the bootloader's command-line? If you use the install disc you have to mount the harddisk , for example to /mnt, and then edit the file inside /mnt/etc, not /etc.
OK, I found it, but there was no xorg.conf. I made an xorg.conf with the monitor and module blocks, rebooting now to see if it worked.
 
Old 03-27-2012, 01:45 PM   #13
wintergoat
LQ Newbie
 
Registered: Mar 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
I rebooted it, and it booted to a command prompt without intervention by me. I typed "startx" and it said that the monitor needed an identifier in the xorg.conf. I tried "Monitor0" but now it gives me the black screen again. What should the monitor identifier be, and do I need the vendorname and modelname parameters?
 
Old 03-27-2012, 01:52 PM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853
When you have booted to the command-line just use
Code:
X -configure
to generate a template file named xorg.conf.new in the current directory. That file should almost be appropriate for that machine, just do the needed edits and copy it to /etc/X11/xorg.conf. After that it should work.
 
Old 03-27-2012, 01:54 PM   #15
wintergoat
LQ Newbie
 
Registered: Mar 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
When you have booted to the command-line just use
Code:
X -configure
to generate a template file named xorg.conf.new in the current directory. That file should almost be appropriate for that machine, just do the needed edits and copy it to /etc/X11/xorg.conf. After that it should work.

I'll try that, and is there anything I can do about the skewed display?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] imac powerpc g3 screen goes black during boot NK9sBoo Linux - Newbie 44 10-20-2011 01:38 PM
Installing Debian on eMac powerpc Kamodo Debian 12 08-28-2010 03:30 PM
Installing Debian on eMac powerpc Kamodo Debian 9 08-13-2010 07:59 AM
Debian Lenny + Nvidia Quadro FX 380 LP -> black screen on iMac 27" siriri Linux - Hardware 1 01-26-2010 07:19 AM
Ubuntu 6.06 -> Debian Sarge, using debootstrap on PowerPC (iMac G3) RavenOfOdin Debian 5 07-22-2006 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration