Saya memiliki hard disk dengan sistem file yang dibuat oleh versi lama Sistem V Unix yang ingin saya mount hanya-baca di Linux. fdisk menunjukkan kepada saya:
/dev/sda1 * 2048 86015 41984 63 GNU HURD or SysV
Tetapi ketika saya mencoba memasangnya:
mount -t sysv /dev/sda1 /mnt/tmp
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Inilah yang saya dapatkan ketika saya melihat dmesg segera setelah mencoba perintah mount.
root@debian:/# dmesg | tail
[ 52.495696] FS-Cache: Netfs 'cifs' registered for caching
[ 52.557019] CIFS VFS: default security mechanism requested. The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 3.3
[ 157.888559] VFS: Found a SystemV FS (block size = 1024) on device sda1
[ 362.223025] sd 0:0:5:0: [sda] No Caching mode page found
[ 362.223034] sd 0:0:5:0: [sda] Assuming drive cache: write through
[ 362.230168] sd 0:0:5:0: [sda] No Caching mode page found
[ 362.230174] sd 0:0:5:0: [sda] Assuming drive cache: write through
[ 362.320058] sda: sda1
[ 362.320059] sda1: <unixware: sda5 >
[ 362.397863] VFS: unable to find oldfs superblock on device sda1
Sepertinya saya tidak dapat menjalankan fsck pada sistem file ini. Inilah dua upaya saya:
root@debian:/# fsck /dev/sda1
fsck from util-linux 2.20.1
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda1
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
root@debian:/# fsck -t sysv /dev/sda1
fsck from util-linux 2.20.1
fsck: fsck.sysv: not found
fsck: error 2 while executing fsck.sysv for /dev/sda1
Perintah file pada perangkat drive memberikan:
root@debian:/home/whg# file -s /dev/sda
/dev/sda: sticky x86 boot sector; partition 1: ID=0x63, active, starthead 0, startsector 2048, 83968 sectors, code offset 0xc0
Saya akan menghargai saran untuk hal lain yang bisa saya coba.