Jgke
Posts: 7
Joined: Wed May 16, 2012 2:41 pm

Removing Xorg

Wed May 16, 2012 2:55 pm

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?

benzeman
Posts: 108
Joined: Fri Apr 20, 2012 12:04 pm
Contact: Website

Re: Removing Xorg

Wed May 16, 2012 3:05 pm

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".

Jgke
Posts: 7
Joined: Wed May 16, 2012 2:41 pm

Re: Removing Xorg

Wed May 16, 2012 3:20 pm

Say, what 'extra' would I have to remove to get the 'pure' Debian?

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Removing Xorg

Wed May 16, 2012 3:22 pm

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.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

benzeman
Posts: 108
Joined: Fri Apr 20, 2012 12:04 pm
Contact: Website

Re: Removing Xorg

Wed May 16, 2012 3:28 pm

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.

Jgke
Posts: 7
Joined: Wed May 16, 2012 2:41 pm

Re: Removing Xorg

Wed May 16, 2012 3:30 pm

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!

Jgke
Posts: 7
Joined: Wed May 16, 2012 2:41 pm

Re: Removing Xorg

Wed May 16, 2012 8:03 pm

Would anything bad happen if I would remove every lib* from the system?

User avatar
simonlc
Posts: 31
Joined: Wed May 16, 2012 4:11 am
Location: Calgary, AB
Contact: Website

Re: Removing Xorg

Wed May 16, 2012 8:06 pm

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.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: Removing Xorg

Wed May 16, 2012 8:08 pm

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

Return to “Troubleshooting”