LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 01-14-2007, 03:59 PM   #1
c_a_s
LQ Newbie
 
Registered: Jan 2007
Distribution: SuSE 10.1
Posts: 3

Rep: Reputation: 0
Autodetect video hardware at boot


I just want to preface this by saying I'm a new Linux convert and don't know much yet.

I have installed SuSE 10.1 to a 250 GB USB external hard drive. My goal is to tweak it so that I can plug it into any modern x86 machine and run SuSE with KDE. So far, I have managed to use it on my desktop ( 3.00 GHz P4 w/ HT, 1GB RAM, 128 MB ATI Radeon X300 SE PCI graphics card)without difficulty. But when I try to boot on other computers (two tested so far, both with integrated graphics cards), I can't get KDE or any kind of GUI to run; the boot process is normal but instead of showing the graphical login screen, it shows me the CLI/Terminal and asks me to login. After logging in, I try startkde and startx but both give me error messages saying that no monitor is detected. Is there some way that I could edit the xorg.conf file so that it autodetects the graphics card setup? Are there any boot arguments (cheatcodes?) I could add to improve the situation?

Thanks in advance
 
Old 01-14-2007, 08:25 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,783

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
As you have learned, when you installed SuSE to an external drive, SuSE detected the hardware for that machine. When you move the drive to another machine, it has different hardware, and the config files are wrong. But, you do have command line to work with.

1) you can run sax2 to configure graphics for the machine you have moved the drive to.
a) Study the man pages for sax2 to learn what options to pass
b) Use the search function on these boards to search for sax2 issues for discussion on the topic.
c) use www.google.com/linux for Linux related issues such as the use of sax2.

2) SuSE has modified grub a bit, such that, at the boot screen, you have a boot prompt under the list of operating systems. You can pass parameters to the kernel via that boot prompt.

Here are two charts of vga values you can try to see if it gives you some kind of graphics on boot.

Colors ( depth) 640x480 800x600 1024x768 1280x1024 1600x1200
---------------+-------+-------+--------+---------+---------
256 ( 8 bit)| 769 771 773 775 796
32,768 (15 bit)| 784 787 790 793 797
65,536 (16 bit)| 785 788 791 794 798
16.8M (24 bit)| 786 789 792 795 799

640x480 800x600 1024x768 1280x1024
----+-------------------------------------
256 | 0x301 0x303 0x305 0x307
32k | 0x310 0x313 0x316 0x319
64k | 0x311 0x314 0x317 0x31A
16M | 0x312 0x315 0x318 0x31B

These should work for all modern monitors. To pass a parameter for the resolution you want, at the boot prompt, type 'vga=792' or 'vga=0x318' for 1280x768 resolution. You can see from the charts that they are the same, just different code (something like hex and octal values) for the same resolution.

If passing one of these parameters to the kernel on boot doesn't work, you may be stuck with option 1, every time you move the drive to a different machine.

Of course, if you are handy at writing scripts, take notes on every step you take when running sax2 manually, then write a script to do it all. Then just run the script when you mvoe the drive to another machine.
 
Old 01-17-2007, 06:42 PM   #3
c_a_s
LQ Newbie
 
Registered: Jan 2007
Distribution: SuSE 10.1
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the quick and detailed response; this community makes the transition to Linux much easier.
 
  


Reply

Tags
drive, external, hard, kde, monitor, startx, xorgconf


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
autodetect hardware and install! the software j.vilon Linux - Software 8 05-10-2006 02:43 PM
Hardware autodetect fireball003 Linux - General 1 02-04-2006 07:31 AM
setting up raid autodetect for boot? FliesLikeABrick Debian 1 01-25-2006 08:17 AM
How slackware autodetect system hardware? upset Linux - Newbie 6 02-29-2004 07:52 PM
How slackware autodetect system hardware? upset Linux - General 1 02-28-2004 05:33 AM


All times are GMT -5. The time now is 05:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration