Please provide some information about the hard- and software used.
Box type: DM7025S-160
GUI (enigma1/enigma2): enigma 2
Firmware version:200606231443
your question
I just received two boxes. One has a Seagate drive (ST3160xx) that could be initialized from the GUI. No problem.
The other, has a strange unknown drive, cannot find what brand it is (without opening the box), but I tried by all means to get it working with no results. In a short, I can fdisk or sfdisk it, mkfs.ext3 it, no complaints whatsoever, but when I try to mount it it is not recognized. I can even read from it with dd by the way.
A few logs below for those speaking linux at my level or better. Any help appreciated, thanks.
====================================
root@dm7025:~# hdparm -I /dev/ide/host0/bus0/target0/lun0/disc
/dev/ide/host0/bus0/target0/lun0/disc:
ATA device, with non-removable media
Model Number: RT2160022ABE
Serial Number: 4JR9BCF3
Firmware Revision: 8.01
Standards:
Used: ATA/ATAPI-6 T13 1410D revision 2
Supported: 6 5 4 3
Configuration:
Logical max current
cylinders 16127 65279
heads 16 1
sectors/track 63 63
--
CHS current addressable sectors: 4128449
LBA user addressable sectors: 251657983
LBA48 user addressable sectors: 312581808
device size with M = 1024*1024: 152627 MBytes
device size with M = 1000*1000: 160041 MBytes (160 GB)
... etc...
=========================================
After deleting all partitions with fdisk, I start from clean state :
root@dm7025:~# sfdisk -l /dev/ide/host0/bus0/target0/lun0/disc
Disk /dev/ide/host0/bus0/target0/lun0/disc: 19457 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 0 - 0 0 0 Empty
/dev/ide/host0/bus0/target0/lun0/part2 0 - 0 0 0 Empty
/dev/ide/host0/bus0/target0/lun0/part3 0 - 0 0 0 Empty
/dev/ide/host0/bus0/target0/lun0/part4 0 - 0 0 0 Empty
=========================================
Then I partition it, no hassle, just one partition, no swap :
root@dm7025:~# sfdisk /dev/ide/host0/bus0/target0/lun0/disc
Checking that no-one is using this disk right now ...
OK
Disk /dev/ide/host0/bus0/target0/lun0/disc: 19457 cylinders, 255 heads, 63 sectors/track
sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/ide/host0/bus0/target0/lun0/disc: unrecognized partition table type
Old situation:
No partitions found
Input in the following format; absent fields get a default value.
<start> <size> <type [E,S,L,X,hex]> <bootable [-,*]> <c,h,s> <c,h,s>
Usually you only need to specify <start> and <size> (and perhaps <type>).
/dev/ide/host0/bus0/target0/lun0/part1 :
/dev/ide/host0/bus0/target0/lun0/part1 0+ 19456- 19457- 156288352 83 Linux
/dev/ide/host0/bus0/target0/lun0/part2 :
/dev/ide/host0/bus0/target0/lun0/part2 0 - 0 0 0 Empty
/dev/ide/host0/bus0/target0/lun0/part3 :
/dev/ide/host0/bus0/target0/lun0/part3 0 - 0 0 0 Empty
/dev/ide/host0/bus0/target0/lun0/part4 :
/dev/ide/host0/bus0/target0/lun0/part4 0 - 0 0 0 Empty
==========================================
Then I make the FS, using ext3 :
root@dm7025:~# mkfs.ext3 -v -T largefile /dev/ide/host0/bus0/target0/lun0/part1
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
152704 inodes, 39072088 blocks
1953604 blocks (5.00%) reserved for the super user
First data block=0
1193 block groups
32768 blocks per group, 32768 fragments per group
128 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
===========================================
All seems well right ? but can't mount it at all :
root@dm7025:~# mount -t ext3 /dev/ide/host0/bus0/target0/lun0/disc /media/hdd/
mount: Mounting /dev/ide/host0/bus0/target0/lun0/disc on /media/hdd failed: Invalid argument
root@dm7025:~# logread
Jun 27 15:27:27 dm7025 user.err kernel: VFS: Can't find ext3 filesystem on dev hda.
DOH ! what's going on here
Cheers
Clipper