由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - How to shrink the ubuntu UML rootfs size ?
相关主题
转到debian sid了f11给我装的是kernel.i586
急求debian-etch-i386安装盘下载连接远程桌面实现不少...
Debian 支持FreeBSD[ZZ]一个读doc里文档的小问题
amd64 architectureQuery packages by files
how to install adobe flash player in a 64 bit system?stack smashing detected
用Ubuntu 9.10一个星期,非常满意xterm got kill when i run my application, how come ?
Can you guys play ppstream from 64bit linux(debian)问个一直没弄明白的initrd/initramfs问题
Ubuntu LTS 16.04关于WRT54GS router 的 flash/nvram 的技术细节
相关话题的讨论汇总
话题: uml话题: rootfs话题: shrink话题: ubuntu话题: size
进入Linux版参与讨论
1 (共1页)
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
4
any one tried this, never works for me.
https://help.ubuntu.com/community/UserModeLinux
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

1 (共1页)
进入Linux版参与讨论
相关主题
关于WRT54GS router 的 flash/nvram 的技术细节how to install adobe flash player in a 64 bit system?
最小的linux用Ubuntu 9.10一个星期,非常满意
欠扁看进来Can you guys play ppstream from 64bit linux(debian)
有几个分区不知道怎么挂载的。。。Ubuntu LTS 16.04
转到debian sid了f11给我装的是kernel.i586
急求debian-etch-i386安装盘下载连接远程桌面实现不少...
Debian 支持FreeBSD[ZZ]一个读doc里文档的小问题
amd64 architectureQuery packages by files
相关话题的讨论汇总
话题: uml话题: rootfs话题: shrink话题: ubuntu话题: size