Need help to umount initrd and mount real file system
Rupesh Gujare
rupesh_gujare at rediffmail.com
Mon Feb 5 09:21:13 UTC 2007
Hello all,
I am a newbie to busybox.. Dont know whether it is right place to ask..
I am building embedded linux.. and using initrd image to boot linux at the start. I am booting from USB pen drive.
But problem is after booting from pen drive, i am unable to remove initrd image. and mount my real filesystem.
My initrd image includes busybox links and rcS script. I am using busybox 1.3.1
My /etc/init.d/rcS file is as follow:-
#!/bin/sh
# Remount the root filesystem in read-write (requires /etc/fstab)
mount -n -o remount,rw /
# Mount /proc filesystem
mount /proc
/etc/inittab:----
::sysinit:/etc/init.d/rcS
::restart:/sbin/init
::shutdown:/bin/umount -a -r
::respawn:/bin/sh
fstab:----
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext2 defaults,errors=remount-ro 0 1
After booting system still i gets initrd image as a root file system.
Can anyone tell me what i am doing wrong?
Thanks in advance
Rupesh..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20070205/e3a9336e/attachment.htm
More information about the busybox
mailing list