Re: Bad magic number and

From: Prashant Shah
Date: Fri Dec 28 2012 - 00:38:37 EST


Hi,

On Fri, Dec 28, 2012 at 10:57 AM, Manish Katiyar <mkatiyar@xxxxxxxxx> wrote:
>
>
> On Thu, Dec 27, 2012 at 8:29 PM, sham pavman <shampavman.cg@xxxxxxxxx>
> wrote:
>>
>> I've tried that as well.. and the result is the same.
>> I've little idea on how to start debugging.
>> If you can provide some info it would be great.

Check your mkfs and mount commands. You have specified the whole disk
instead of partition. It should be...

mkfs -t ext4 /dev/sdb1
mount -t ext4 /dev/sdb1 /mnt/test

Regards.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/