How to add minimal X functionality to bare-bones linux.

I've got a bare-bones bootable Linux CD that contains a handfull of console apps I use. Right now the CD is only 25MB.
I'd like to include GParted because it has the ability to resize NTFS partitions and it's easier to use than Parted. I tried to include X buy running jk_cp on startx, then xinit, then copied a bunch of files/folders over from /etc but after adding another 25MB of files/folders I still wasn't able to get X working.
What's the easiest/smallest way to include GParted? Am I correct to assume that I don't need a window manager since I'll only be launching 1 program?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Duncan RoeSoftware DeveloperCommented:
You (almost) always need a window manager with X. Applications that directly drive the whole screen are the exception (no login, doesn't apply to you). twm (tiny window manager) is quite small though
jasonzxAuthor Commented:
Ok. that's fine. I don't mind using a window manager, just wasn't sure if there was a need for it.
since my original post I attempted to build xorg from scratch(using Ubuntu) but was unsuccessful. I couldn't get past:
checking for GL... configure: error: Package requirements (glproto >= 1.4.9 gl >= 7.1.0) were not met:
No package 'gl' found

Tried installing libdrm-dev x11proto-xf86dri-dev x11proto-gl-dev libgl1-mesa-dev libglu1-mesa-dev libgl1-mesa-swx11-dev but still no-go. Tried disabling almost every feature(especially anything with GL) and still no luck.
Duncan RoeSoftware DeveloperCommented:
Yes, building Xorg from scratch is tricky. I tried to move forward from the revisions my distributor (Slackware) had chosen, and came unstuck. Every little component of xorg is a separate package, so you could pick and choose from it to your heart's content. They don't have x86_64 packages yet (that was what I was trying to build). Their package manager is a flat-file database, really simple - all you need is their little package utils and tar.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

You should probably look into kdrive X server, especially its VESA flavoring.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jasonzxAuthor Commented:
gheist: you wouldn't happen to know where I can get the kdrive X server source code would you?
I've found this page that has some binaries but would like to build it statically if at all possible.
KDrive is included as build target in Xorg.
Ubuntu LiveCD contains gparted at least as much as i ever needed it.
jasonzxAuthor Commented:
Had some issues building Xorg but I managed to pull the KDrive binaries out of another working linux distro.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.