[pocket-linux] Problems with Section 2.3.10 and 2.3.11

David Horton dhorton at speakeasy.net
Sun Dec 26 23:09:37 CST 2004


KodeKrash wrote:
> Hello all...
> 
>  First off, I'm still wget'ing the list archives so I can grep through 
> them to see if this has been answered already, but just in case, I'm 
> going to ask. :-)
> 
> Section 2.3.10
>    After compiling and copying bash to the floppy
> When attempting:
>    ln -s bash /mnt/bin/sh
> I get:
>    ln: creating symbolic link '/mnt/bin/sh' to 'bash': Operation not 
> permitted
> 
> Section 2.3.11
>    After mkdir /mnt/dev
> When attemping:
>    mknod /mnt/dev/console c 5 1
> I get:
>       mknod: '/mnt/dev/console': Operation not permitted
> 
> I'm logged in as root, and the floppy is formatted as ext2 and mounted 
> in rw mod. I can execute "normal" filesystem commands, but can't do any 
> "special" commands. For example, cp and mkdir, etc work, but ln and 
> mknod fail.
> 
> I've been a sys admin for 7 years, but this is my first attempt at 
> making a distro from scratch. I'm clue[ful/less], depending on how you 
> look at it. :-)
> 
> Any help is appreciated!
> 
> Regards,
>    James 'KodeKrash' Linden

I have had problems with some of the "preformatted" floppies.  Even 
after 'mke2fs /dev/fd0' it seems the old FAT info sticks around.  The 
result is the floppy gets mounted as a FAT filesystem unless I specify 
the filesystem type with 'mount -t ext2 /dev/fd0'.  You might give this 
a try.  You can also try to erase the floppy first with 'dd if=/dev/zero 
of=/dev/fd0 bs=1k count=1440' and then do 'mke2fs /dev/fd0'.

Good Luck!
Dave



More information about the Pocket-Linux mailing list