Topic: Check disk - error while checking partition Gparted
I was using boot repair while running Ubuntu 16 GNOME LIVE version.
As prompted to close all programs so that it can perform File System Repair, I closed all programs but it didn't work. I manually unmounted partitions from GParted, then also it would get mounted again.
I checked disk and sda2 gave error. sda2 was created with bios_grub flag of size 10 MB and unformatted. However, strangely, it automatically shows format as ext4.
The following is the Checkdisk output:
GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize
Libparted 3.2
Check and repair file system (fat32) on /dev/sda1 00:00:05 ( SUCCESS )
calibrate /dev/sda1 00:00:01 ( SUCCESS )
path: /dev/sda1 (partition)
start: 2048
end: 1050623
size: 1048576 (512.00 MiB)
check file system on /dev/sda1 for errors and (if possible) fix them 00:00:00 ( SUCCESS )
fsck.fat -a -w -v /dev/sda1 00:00:00 ( SUCCESS )
fsck.fat 3.0.28 (2015-05-16)
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "mkfs.fat"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
4096 bytes per cluster
32 reserved sectors
First FAT starts at byte 16384 (sector 32)
2 FATs, 32 bit entries
523264 bytes per FAT (= 1022 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 1062912 (sector 2076)
130812 data clusters (535805952 bytes)
63 sectors/track, 255 heads
2048 hidden sectors
1048576 sectors total
Reclaiming unconnected clusters.
Checking free cluster summary.
/dev/sda1: 0 files, 1/130812 clusters
grow file system to fill the partition 00:00:04 ( SUCCESS )
using libparted
========================================
Check and repair file system (ext4) on /dev/sda2 00:00:01 ( ERROR )
calibrate /dev/sda2 00:00:01 ( SUCCESS )
path: /dev/sda2 (partition)
start: 1050624
end: 1071103
size: 20480 (10.00 MiB)
check file system on /dev/sda2 for errors and (if possible) fix them 00:00:00 ( ERROR )
e2fsck -f -y -v -C 0 /dev/sda2 00:00:00 ( ERROR )
Error reading block 60325888 (Invalid argument). Ignore error? yes
Force rewrite? yes
Superblock has an invalid journal (inode 8).
Clear? yes
* ext3 journal has been deleted - filesystem is now ext2 only *
Superblock has_journal flag is clear, but a journal is present.
Clear? yes
The filesystem size (according to the superblock) is 120942336 blocks
The physical size of the device is 2560 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort? yes
Error writing block 60325888 (Invalid argument). Ignore error? yes
/dev/sda2: ***** FILE SYSTEM WAS MODIFIED *****
e2fsck 1.42.13 (17-May-2015)
========================================
Check and repair file system (ext2) on /dev/sda3
========================================
Check and repair file system (ext4) on /dev/sda5
========================================
Check and repair file system (ntfs) on /dev/sda6
========================================
I removed and recreated the partition again but it is getting changed from unformatted to ext4. Please suggest how to repair file system and install GNOME.