You are not logged in.
Hi, I am trying to figure out all the package dependencies and trying to make a simple enough archlinux with desktop(no big things like GNOME or KDE, mybe LXDE or Openbox). I don't need any security things like PAM or acl+attr things , just keep it as simple-and-small as it could. The ultimate goal is trying to get a linux with networking and is capable to playing video. Is it possible to do so? I am trying hard to reduce the size of the whole system down to 512MB, and if it is not possible, 1GB is also acceptable.
Did anyone ever do such things before? Please , I really need some advice.
My machine is an Atom CPU based machine(Intel 945G) which only have 512MB SSD disk( or 1GB) with 512 RAM
Last edited by sunliwei (2009-10-20 09:58:45)
Offline
Try Slackware.
Offline
I may understand your question wrong, but why don't you try a pure Arch installation and then subsequently add things as you need them? That should be at least below the 1G mark. I think what makes an installation big are the apps you add, not the basic operating system.
Offline
anyting can be done with archlinux, I've tried a lot of linux distro these days, kind of tied of trying another one ....
Offline
I may understand your question wrong, but why don't you try a pure Arch installation and then subsequently add things as you need them? That should be at least below the 1G mark. I think what makes an installation big are the apps you add, not the basic operating system.
My purpose is let the system run on an Atom CPU based machine(Intel 945G) which only have 512MB SSD disk( or 1GB) with 512 RAM. I also have to consider the swap partition may occupied some space( maybe 100MB swap space).
Offline
Try Slackware.
I've tried several minimal linux like DSL, knoppix. The problem is my machine has a built-in Intel GMA 950 GPU. I have to use xorg-intel-video-driver >= 2.7 to make the dual screen works well. Some linux distro do not have the latest video driver.
Last edited by sunliwei (2009-10-19 16:48:04)
Offline
esters wrote:Try Slackware.
I've tried several minimal linux like DSL, knoppix. The problem is my machine has a built-in Intel GMA 950 GPU. I have to use xorg-intel-video-driver >= 2.7 to make the dual screen works well. Some linux distro do not have the latest video driver.
What about Crux?
Offline
Trial and error. Lots of experimentation. For a few months I used a 1GB drive. I think I went with all command line apps except for Midori and Gnumeric.
pacgraph was pretty much designed for this task. Here are the two most useful modes for you:
pacgraph --console
This will count up the total size of the installed packages. Then it will rank each top level package according to size. The size indicates the space freed by "pacman -Rssc packagename", letting you quickly cut out the bloat.
pacgraph --console -m arch-repo package1 package2 package3 ...
This will let you build a hypothetical Arch install. Any packages you list will have all dependencies automatically included, and it will tell you the total install size. This is only aware of official packages, so it may miss any gems in the AUR.
For example, my old system with X11, Midori and Gnumeric:
> pacgraph --console -m arch-repo xorg-server midori gnumeric
Total size: 544MB
34MB gnumeric
9972kB xorg-server
2136kB midori
Notice how the numbers don't quite add up? The difference is due to 498 MB of shared dependencies. This is a good thing, as you'll want as much overlap as possible.
Also, if you are running off of an SSD, don't waste space on swap. I have not used swap on any of my laptops in four years. You have more than enough ram and you will not need swap. (Please don't open a hundred tabs in your browser, though.)
Last edited by keenerd (2009-10-19 17:02:15)
Offline
sunliwei wrote:esters wrote:Try Slackware.
I've tried several minimal linux like DSL, knoppix. The problem is my machine has a built-in Intel GMA 950 GPU. I have to use xorg-intel-video-driver >= 2.7 to make the dual screen works well. Some linux distro do not have the latest video driver.
What about Crux?
But Crux is like Arch. My problem is I don't have much time to figure out all the package dependencies( I hate my boss , by the way). If I have time, I can spend a week ( or less) to use Linux From Scratch build my own system.
Offline
Have you already thought about SliTaz? ISO is about 30MB, installed size about 80MB. Quick check showed that they have Xorg server Intel driver 2.7.0 (http://pkgs.slitaz.org/search.cgi).
Offline
Arch will do the dependencies for you. Just install the base and carefully choose the top-level packages (eg what keenerd suggested), install them via pacman. It pulls the dependencies and nothing more.
Offline
Have you already thought about SliTaz? ISO is about 30MB, installed size about 80MB. Quick check showed that they have Xorg server Intel driver 2.7.0 (http://pkgs.slitaz.org/search.cgi).
Slitaz seems lacking media player like MPlayer or VLC. Do you have a guide to install these packages on Slitaz?
Offline
I did this, just not to the extent of skipping PAM.
My advice is to read LFS, install a core archlinux setup and modify as suited. I find it's less work than LFS (why do it in the first place since I'm gonna end up using pacman...) and slackware's lack of dependancy checking.
You have a point though, there are a lot of packages that could be split and trimmed. Take mplayer for example; it could be mplayer and mencoder as separate packages. There are more people interested in just playing music than there are interested in encoding it/doing both. A bunch of little other things like JACK dependancies, libcaca, but that's the main one.
I'm not encouraging whining, however. Just recompile the packages, man.
Last edited by gog (2009-10-19 19:25:56)
Offline
MadTux wrote:Have you already thought about SliTaz? ISO is about 30MB, installed size about 80MB. Quick check showed that they have Xorg server Intel driver 2.7.0 (http://pkgs.slitaz.org/search.cgi).
Slitaz seems lacking media player like MPlayer or VLC. Do you have a guide to install these packages on Slitaz?
They have MPlayer (http://pkgs.slitaz.org/cooking/multimedia.html#mplayer) and VLC (http://pkgs.slitaz.org/cooking/multimedia.html#vlc) and SliTaz has a package management system (http://www.slitaz.org/en/doc/manuals/tazpkg.en.html), so installation shouldn't be that difficult.
Offline
SliTaZ seems to be your best bet.
Offline
Theres also tiny core linux:
Tiny Core Linux is a very small (10 MB) minimal Linux GUI Desktop. It is based on Linux 2.6 kernel, Busybox, Tiny X, and Fltk. The core runs entirely in ram and boots very quickly. Also offered is Micro Core a 6 MB image that is the console based engine of Tiny Core.
Our goal is the creation of a nomadic ultra small desktop capable of booting from cdrom, pendrive, or frugally from a hard drive. The desktop boots extremely fast and is able to support additional applications and hardware of the users choice.
Offline
Theres also tiny core linux:
Tiny Core Linux is a very small (10 MB) minimal Linux GUI Desktop. It is based on Linux 2.6 kernel, Busybox, Tiny X, and Fltk. The core runs entirely in ram and boots very quickly. Also offered is Micro Core a 6 MB image that is the console based engine of Tiny Core.
Our goal is the creation of a nomadic ultra small desktop capable of booting from cdrom, pendrive, or frugally from a hard drive. The desktop boots extremely fast and is able to support additional applications and hardware of the users choice.
I tried tinycore, it seems doesn't have intel video driver >=2.7
Offline
SliTaZ seems to be your best bet.
It's full of french text. How about the i18n support? I need UTF-8
Last edited by sunliwei (2009-10-20 10:04:39)
Offline
I am trying the way keenerd advised. My work is still undergoing. But I think I will get my 1GB system. Thank you all. I love Arch! My Next goal is 512MB, hard work ...
Offline
While I should suspect that you will have little difficulty accomplishing your goal of installing a 512 MB arch system, have you considered that you could attach external drives? I mean you could definately use external hard-drives for storing any personal documents you have, but you can also do anything from using an external hard-drive as "/usr" or swap space to just installing your entire OS onto an external disk (of course, doing something like this will make you dependant on having that external disk whenever you want to use your computer). Just thought I'd mention it.
Offline
I ran a ~1gig Arch system on a 4GB hdd a few years back. Was fun, and not very difficult to get in under 1 gig. I deselected unneeded stuff from the base category, and went from there.
Offline
aditya.shevade wrote:SliTaZ seems to be your best bet.
It's full of french text. How about the i18n support? I need UTF-8
You can chose language at boot. Though there are a few places where you see French language persisting. It's a minor issue though once you select English and US keymap at boot.
Offline
@sunliwei
You could try out my livecd on my blog. Its under 700mb and it has a lot programs since i use squashfs+lzma 3.4 to make it all fit on to a CD. Xfce is the default desktop but you can change it at the slim login.
I'm working on a live cds based on Archlinux. http://godane.wordpress.com/
Offline
Rebuilding everything, splitting out -dev and -doc stuff would probably help quite a bit on the disc space used too. And maybe using uclibc.
Last edited by Mr.Elendig (2009-10-21 21:57:42)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline