Page 1 of 1

Removing Xorg

Posted: Wed May 16, 2012 2:55 pm
by Jgke
So, I have a 1GB memory card, and the Debian image is over that limit. As I won't be using any GUI-programs, I might as well remove X and everything related. The problem is, obviously, I can't use the system without removing X, and I can't remove X without using the system. What should I do?
Did I mention that I have no installation media?

Re: Removing Xorg

Posted: Wed May 16, 2012 3:05 pm
by benzeman
AFAIK you have to wait for somebody to post a "cleaned" version for you. I would also appreciate just debian, no packages you don't "need".

Re: Removing Xorg

Posted: Wed May 16, 2012 3:20 pm
by Jgke
Say, what 'extra' would I have to remove to get the 'pure' Debian?

Re: Removing Xorg

Posted: Wed May 16, 2012 3:22 pm
by Joe Schmoe
Do you have access to another (Linux) system, so that you can manipulate the image and the card? If so, you should be able to do get something working, by brute force if nothing else.

P.S. It just occurred to me that if you have a Windows system, you could get the QEMU emulation going, and then do it cleanly. By "It", I mean remove packages, then resize (downwards) the image. Then, once the image is the right size (like the trees in Michigan), you can write it out to your 1G SD card.

Re: Removing Xorg

Posted: Wed May 16, 2012 3:28 pm
by benzeman
When I way "pure", I mean without python, perl, xorg... basically until you got down to what you'd have if you installed the "desktop" version of debian.

Re: Removing Xorg

Posted: Wed May 16, 2012 3:30 pm
by Jgke
Heh, had the idea throw arch to the stick and chroot from it. Turns out it's 1.9GB instead of the expected ~200MB. Cool, they give us extra pre-installed, in Arch!

Re: Removing Xorg

Posted: Wed May 16, 2012 8:03 pm
by Jgke
Would anything bad happen if I would remove every lib* from the system?

Re: Removing Xorg

Posted: Wed May 16, 2012 8:06 pm
by simonlc
Jgke wrote:Would anything bad happen if I would remove every lib* from the system?
I think a lot of things would stop working, and the only way you should try to remove things is with your package manager.

Re: Removing Xorg

Posted: Wed May 16, 2012 8:08 pm
by pepedog
Jgke wrote:Heh, had the idea throw arch to the stick and chroot from it. Turns out it's 1.9GB instead of the expected ~200MB. Cool, they give us extra pre-installed, in Arch!
It's 1.9Gb because it an image of a card, including all the spare space. Only "extra" is firmware-raspberrypi