相关讨论
做嵌入式根文件系统时,有linuxrc如下:
#!/bin/sh
echo "mount /etc as ramfs"
/bin/mount -n -t ramfs ramfs /etc
这里的ramfs是从哪儿来,做的根目录没有这个,挂这个的目的是干吗
/bin/cp -a /mnt/etc/* /etc
echo "re-create the /etc/mtab entries"
# re-create the /etc/mtab entries
/bin/mount -f -t cramfs -o remount,ro /dev/bon/2 /
/bin/mount -f -t ramfs ramfs /etc
exec /sbin/init 这里是映象的还是根目录...
做嵌入式根文件系统时,有linuxrc如下:
#!/bin/sh
echo "mount /etc as ramfs"
/bin/mount -n -t ramfs ramfs /etc
这里的ramfs是从哪儿来,做的根目录没有这个,挂这个的目的是干吗
/bin/cp -a /mnt/etc/* /etc
echo "re-create the /etc/mtab entries"
# re-create the /etc/mtab entries
/bin/mount -f -t cramfs -o remount,ro /dev/bon/2 /
/bin/mount -f -t ramfs ramfs /etc
exec /sbin/init 这里是映象的还是根目录...
linuxrc 详解
2007-07-24 19:57做嵌入式根文件系统时,有linuxrc如下:
#!/bin/sh
echo "mount /etc as ramfs"
/bin/mount -n -t ramfs ramfs /etc
这里的ramfs是从哪儿来,做的根目录没有这个,挂这个的目的是干吗
/bin/cp -a /mnt/etc/* /etc
echo "re-create the /etc/mtab entries"
# re-create the /etc/mtab entries
/bin/mount -f -t cramfs -o remount,ro /dev/bon/2 /
/bin/mount -f -t ramfs ramfs /etc
exec /sb...
新手,用busybox制作文件系统,/sbin/init不可执行,求高手指点。。。。
asoc: W55FA93ADC HiFi <-> w55fa93adc_cpu_dai mapping ok
ALSA device list:
#0: W55FA93_SPU (W55FA93_DAC)
#1: mach-W55FA93_ADC (codecADC)
TCP cubi...
本帖最后由 飞天二狭 于 2013-03-02 00:05 编辑
ssh 进入下面的窗口,觉得很奇怪,不知道怎么回事,请高手帮助一下。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/49231/showart_397310.html
http://hi.baidu.com/smilewwh/blog/item/ee79a3269b97f6178b82a159.html
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/1421/showart_251983.html
我省去了制作启动盘的过程,这个网上可以大把大把的抓!
更多...
我通过在硬盘上安装linux得到linux的分区:
/dev/hda1 /boot
/dev/hda2 /
/dev/hda3 swap
好了,现在开始用busybox来制作了。。。
实际操作过程相当简单:
下载好busybox的源文件,大家最好到busybox的官方网站上面去下,这样还可以看到很多文档 :)
我下载的是busybox-1.00-rc3版本,也是它的最新版
tar zxvf busybox-1.00-rc3.tar.gz
cd busybox-1.00-...
http://www.busybox.net/
busybox: The Swiss Army Knife of Embedded Linux
busybox combines tiny versions of many common UNIX utilities into a single
small executable. It provides replacements for most of the utilities you
usually find in GNU fileutils, shellutils, etc. The utilities in busybox
generally have fewer options than their full-featured GNU cousins; however,
the options that are included p...