Mount and ext3 issues with Busybox 1.2.2.1

Jim Gifford maillist at jg555.com
Thu Nov 16 03:04:46 UTC 2006


Denis Vlasenko wrote:
> On Thursday 16 November 2006 00:59, Jim Gifford wrote:
>   
>> What I've done is created a nfs boot version of a build, to fdisk, 
>> format, and install drives. When I try to do this, I get the following 
>> errors:
>> Could not determine if /dev/hda1 is mounted
>> mkfs.ext3: Could not create journal
>> failed: Block device required
>>
>> Here's are all the details.
>> ls /dev/hda1 -lh
>> brw-rw----    1 root     root       3,   1 Nov 15 16:22 /dev/hda1
>> / $ mkfs.ext3 /dev/hda1
>> mke2fs 1.38 (30-Jun-2005)
>> mkfs.ext3: Could not determine if /dev/hda1 is mounted
>> Filesystem label=
>> OS type: Linux
>> Block size=4096 (log=2)
>> Fragment size=4096 (log=2)
>> 1221600 inodes, 2441494 blocks
>> 122074 blocks (5.00%) reserved for the super user
>> First data block=0
>> 75 block groups
>> 32768 blocks per group, 32768 fragments per group
>> 16288 inodes per group
>> Superblock backups stored on blocks:
>>         32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
>>
>> Writing inode tables: done
>> Creating journal (32768 blocks): mkfs.ext3: Could not create journal
>>     
>
> Maybe the device is too small for ext3? IOW: does creating ext2 instead work?
>
>   
>> mount -t ext3 /mnt/lfs /dev/hda1
>> mount: Mounting /mnt/lfs on /dev/hda1 failed: Block device required
>>     
>
> You have parameters swapped here.
> --
> vda
>   
Denis,
    It's a 30 MB Hard drive, so I don't think that's the issue, 
mkfs.ext2 seems to work, but the still can't mount it.

    Tried to change the parameters, I got a different error
    mount -t ext3 /dev/hda1 /mnt/lfs
    mount: Mounting /dev/hda1 on /mnt/lfs failed: Invalid argument

The errors are the same for ext2. I also tried jfs and received the same 
errors.



More information about the busybox mailing list