resize2fs: Illegal indirect block found while trying to resize /dev/sdd2
LoganDark opened this issue · comments
root@LD-Server:~/i386-pc-iso# ./installUSB /dev/sdd bootfs.iso usersfs.img
120832+0 records in
120832+0 records out
61865984 bytes (62 MB, 59 MiB) copied, 26.1061 s, 2.4 MB/s
333908+0 records in
333908+0 records out
170960896 bytes (171 MB, 163 MiB) copied, 74.8892 s, 2.3 MB/s
Welcome to fdisk (util-linux 2.31.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (120832-7821311, default 120832): Last sector, +sectors or +size{K,M,G,T,P} (120832-7821311, default 7821311):
Created a new partition 2 of type 'Linux' and of size 3.7 GiB.
Partition #2 contains a ext3 signature.
Command (m for help):
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
e2fsck 1.44.1 (24-Mar-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sdd2: 26735/50904 files (0.2% non-contiguous), 166231/166954 blocks
resize2fs 1.44.1 (24-Mar-2018)
Resizing the filesystem on /dev/sdd2 to 3850240 (1k) blocks.
Begin pass 1 (max = 464)
Extending the inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Begin pass 2 (max = 6405)
Relocating blocks XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Begin pass 3 (max = 21)
Scanning inode table XXXresize2fs: Illegal indirect block found while trying to resize /dev/sdd2
Please run 'e2fsck -fy /dev/sdd2' to fix the filesystem
after the aborted resize operation.
And in addition (after the e2fsck
), /bin/getty
then fails to start when booted into the OS.
Error: cannot find module './lib/colors'
[...]
at Object.<anonymous> (/lib/node_modules/logon/node_modules/colors/safe.js:8:14)
[...]