Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Desktop / X-Windows
Reload this Page Xwindow INstallation
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Desktop / X-Windows Anything X. Gnome, KDE, remote desktop's, XGames etc.

Reply
 
Thread Tools Display Modes
Old 04-05-2008   #1 (permalink)
ameya.malondkar
Just Joined!
 
Join Date: Apr 2008
Posts: 8
Question Xwindow INstallation

I am working on Project : Pendrive Linux which is booting and running linux from pendrive. I have succeeded it getting a basic working root filesystem with busybox. Next i wish to install X server and planning to use xfce as my desktop. i am not able to figure out whether to xfree86 binaries or source. and how to start withthis.
Can anybody help me out with this
ameya.malondkar is offline   Reply With Quote
Old 04-06-2008   #2 (permalink)
i92guboj
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 994
Quote:
Originally Posted by ameya.malondkar View Post
I am working on Project : Pendrive Linux which is booting and running linux from pendrive. I have succeeded it getting a basic working root filesystem with busybox. Next i wish to install X server and planning to use xfce as my desktop. i am not able to figure out whether to xfree86 binaries or source. and how to start withthis.
Can anybody help me out with this
Well, did you build the basic system using source or pre-built binary packages?

If you are doing something portable, your best approach would be the source way, because that way you can discard lot's of dependencies at compile time by compiling only the options you really need. I'd look at the LFS guides for that. Another option is to use Gentoo and build a custom stage4
i92guboj is offline   Reply With Quote
Old 04-07-2008   #3 (permalink)
ameya.malondkar
Just Joined!
 
Join Date: Apr 2008
Posts: 8
Question Using Source

I am building system from source. I m reluctant to refer LFS guides because they dont fit in my pendrive. I have to build entire system within 128 MB. Isnt there any way other than LFS?
ameya.malondkar is offline   Reply With Quote
Old 04-07-2008   #4 (permalink)
i92guboj
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 994
Quote:
Originally Posted by ameya.malondkar View Post
I am building system from source. I m reluctant to refer LFS guides because they dont fit in my pendrive. I have to build entire system within 128 MB. Isnt there any way other than LFS?
I assume you are using a bigger drive to build all the stuff, and then you copy the resulting binaries to your pen drive.

It's very hard to strip down the lfs basic installation if you really want a functional os, but it's not impossible.

There are some things you can look into:

-use busybox instead of the tipical linux tools, that'll save some space

-use a 2.4 kernel to save a bit more... though this might not be an option if you need support for recent hardware

-compile using -Os when possible, that will make your binaries smaller, some packages might break with anything other than -O2, though

-look into sqashfs to host the bootable image, that will allow you to include a lot more of stuff because it's a compressed read only filesystem

-you can look into uclib vs. glibc. A tipical linux system uses glibc, but uclib is much smaller, making it interesting for some applications. They try to retain compatibility with glibc as far as possible, but I don't know the kind of problems you can find when using it as a substitute for glibc though...

http://www.uclibc.org/downloads/Glib...ifferences.txt

I know that it should be possible because I still have a knoppix mini-livecd that fits in a small cd on about 200 megabytes or so, and it shipped with kde 3.5 or something like that. So, it must be possible to strip it a bit more.

If I can think of anything more that could help, I will post again.
i92guboj is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 01:17 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0