[BusyBox] problem with mount command
tito
farmatito at tiscali.it
Wed Jul 10 06:04:03 UTC 2002
On Tuesday 09 July 2002 22:41, you wrote:
> Hi all -
>
> I'm having trouble with the mount command. I'm using BusyBox 0.60.3
> with uclibc (snapshot dated June 6) as shared libraries on a ppc with
> the Linux 2.4.12 kernel. I am not using a login.
>
> I'm trying to create an ext2 filesystem.
Where? On a ramdisk? If this is your case, you can try:
dd if=/dev/zero of=/dev/ram* bs=1k count=4096
mke2fs /dev/ram* (ram1 , ram2 as you need)
mount /dev/ram* /mnt -t ext2
or on a file. In this case maybe:
dd if=/dev/zero of=file bs=1k count=4096 (or whatever size you need)
mke2fs file
mount file -o loop /mnt -t ext2
Hope this helps
Tito
> I can do the "mke2fs
> /dev/loop0" command fine, but when I try to mount it I get this error:
>
> # mount /dev/loop0 /mnt
> mount: Mounting /dev/loop0 on /mnt failed: Permission denied
> #
>
> I've tried specifying -t ext2 and mount -ro but no luck. Has anyone
> else seen this problem?
>
> Thanks,
>
> Doug
More information about the busybox
mailing list