Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
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.
Wayne Sallee
You place xorg.conf to wrong dir - xorg-server just ignore it and use defaults:
[ 2043.173] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
In my system I see:
[ 5.066] (==) Using config file: "/etc/xorg.conf"]
But this not standard path - I build xorg-server with --sysconfdir=/etc. You can find all standard path in 'man xorg.conf'.
I moved the hard drive to another laptop that has Intel graphics.
When it booted up it started out with regular sized text, and then suddenly changed to smaller text. So I knew the graphics card was working. Then when I entered startx, it started up X.
I still want it to work on other laptops as well, but at least I have X now on this laptop.
It's good that Intel is more Linux friendly than AMD.
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616
Rep:
Quote:
Originally Posted by Wayne Sallee
I moved the hard drive to another laptop that has Intel graphics.
When it booted up it started out with regular sized text, and then suddenly changed to smaller text. So I knew the graphics card was working. Then when I entered startx, it started up X.
I still want it to work on other laptops as well, but at least I have X now on this laptop.
It's good that Intel is more Linux friendly than AMD.
The issues with hardware & FOSS are more complicated than that I believe. Between industry consortia and hardware vendor's ambitions, it really is a wonder anything works at all. The fact that there is an open standard of any kind is miraculous and the existence of the "PC" platform completely the result of a tech giant's blunder and a young Harvard student's skill at playing poker.
I deleted the unneeded xorg config files, and let xorg figure it out itself.
I got X to work by using a laptop that has Intel for graphics.
I still want to get other video drivers to work, but now I'm in a situation that I'm working through on the blfs mailing list where my system won't compile on a different computer. After I get that fully investigated, and fixed, I'll go back to getting more drivers to work, and more X functions. I'm no longer interested in having Virtualbox drivers.
I'm basically past the phase of running it inside a virtual environment, other than working through this compile snag.
Are you able to get Vesa or other generic video driver to work inside VMware?
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616
Rep:
In vmware several drivers work: vbe vgafb simplefb, etc. But, in the DRI subsystem only the vmware stack works.
The compile snag could be optimization. Even if you're not using -march=native, a lot of times GCC will automatically do that. If you need to make sure something you build one place is functional elsewhere use -mtune=generic or -march=i686. If you know the exact architecture of the target it's safe to tune for it if it's compatible. (Remember /tools gets executed on the build host, and is slowly replaced by what you're building in the chroot's bin folders.) For instance, my desktop is Haswell and my laptop is Ivy Bridge, so I can compile on the desktop for the laptop's native by -march=core-avx-i, but it will boot on either.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.