w*s 发帖数: 7227 | 1 hi everyone, i have a rootfs, but the size is 1GB.
How should i shrink it ?
i tried to load it 1st, then from this UML, built another rootfs from this
UML,
then copy out.
But when i load the new UML, it crashed. | b**r 发帖数: 352 | 2 I recommend debian if your embedded system is based on arm
【在 w*s 的大作中提到】 : hi everyone, i have a rootfs, but the size is 1GB. : How should i shrink it ? : i tried to load it 1st, then from this UML, built another rootfs from this : UML, : then copy out. : But when i load the new UML, it crashed.
| w*s 发帖数: 7227 | 3 well, i follow the ubutun instructions which is similar with debian, got
this
sudo debootstrap lucid /tmp/lucid http://us.archive.ubuntu.com/ubuntu
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
E: Couldn't download dists/lucid/main/binary-i386/Packages
【在 b**r 的大作中提到】 : I recommend debian if your embedded system is based on arm
| w*s 发帖数: 7227 | | b**r 发帖数: 352 | 5 It really depends on your arch.
For ARM, debian's armel is a really good choice.
My rootfs is around 300MB, which has most of those usual stuff: openssl,
perl, php, c toolchain, lighttpd and ffmpeg.you probably can get it under
200MB if you don't need ffmpeg.
ubuntu has arm support too, but is targeting newer processor(ARMv7 and above
), while debian supports armv5.
https://wiki.ubuntu.com/ARM | w*s 发帖数: 7227 | 6 actually this is uml for i386,
just won't load that rootfs based on the instruction, :(
above
【在 b**r 的大作中提到】 : It really depends on your arch. : For ARM, debian's armel is a really good choice. : My rootfs is around 300MB, which has most of those usual stuff: openssl, : perl, php, c toolchain, lighttpd and ffmpeg.you probably can get it under : 200MB if you don't need ffmpeg. : ubuntu has arm support too, but is targeting newer processor(ARMv7 and above : ), while debian supports armv5. : https://wiki.ubuntu.com/ARM
|
|