I have problems with my internal hard drive so I now boot from an external 1TB drive. It is normally identified as sdb but currently for file system checking I am booting from a LiveCD memory stick so the external drive appears as sdc. It is partitioned as sdc1 97GB ext4 on /, sdc2 4GB swap, sdc3 585GB ext4, sdc4 243GB ext4. Running fsck /dev/sdc gives following error:-
fsck from util-linux 2.27.1 e2fsck 1.42.13 (17-May-2015) 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/sdc
fsck returns clean when I fsck each partition individually except swap. Example for sdc1 below, same for sdc3 and 4.
fsck from util-linux 2.27.1 e2fsck 1.42.13 (17-May-2015) /dev/sdc1: clean, 1069686/6406144 files, 11807341/25600000 blocks
but swap partition just returns
fsck from util-linux 2.27.1
my question is do I have a file system problem or is it just because I have a swap partion or is it because my swap partition is sdc2, if it is a file system error how do I fix it, do I need to do anything or is system ok - thanks guys