(First post, kinda noob, Pls help )
So I have a rather clunky dual boot between a windows 10 partition and Kubuntu (Ubuntu 19.04 \n \1)) in an LVM, and messed up.
Wanted to allocate some more space to my swap partition, for that I had to shrink the main one, so I ran this command: sudolvresize -L -10GB /dev/mapper/vg0-ext4/ , it gave me a warning of potential data loss, but I had a lot of free space and timeshift backups so I ignored it, NOT GOOD, rebooted right after and the worst happened, was met with the GNU Grub (Version 2.02) Terminal.
(After a lot of research), I can use ls (lvm/vg0-ext4)/ command to view things inside my root folder (including the timeshift folder!), but when I try to boot into it manually, after raining some lines in the terminal I'm met with another "ubuntu terminal" and I'm stuck.
So I made a live USB stick and booted into that, installed timeshift but I can't mount my vg0-ext4 logical volume, gives me the error:
Code:
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mapper/vg0-ext4, missing codepage or helper program, or other error.
, so timeshift can't restore it!
What should I do?
Some more information:
If I run, from the live stick, sudo fsck dev/mapper/vg0-ext4, gives me this error:
Code:
Error writing block 132128812 (Invalid argument). Ignore error<y>? yes
Error writing block 132120608 (Invalid argument). Ignore error<y>? yes
Error writing block 131606831 (Invalid argument). Ignore error<y>? cancelled!
Error writing block 131608458 (Invalid argument). Ignore error<y>? cancelled!
Error writing block 131608240 (Invalid argument). Ignore error<y>? cancelled!
(...) and goes on like that
The output of sudofdisk -l:
Code:
Disk /dev/loop0: 1.9 GiB, 1987817472 bytes, 3882456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 88.5 MiB, 92778496 bytes, 181208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 54.4 MiB, 57069568 bytes, 111464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 42.8 MiB, 44879872 bytes, 87656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 149.9 MiB, 157184000 bytes, 307000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 4 MiB, 4218880 bytes, 8240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop6: 14.8 MiB, 15462400 bytes, 30200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop7: 1008 KiB, 1032192 bytes, 2016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdb: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xde324ff1
Device Boot Start End Sectors Size Id Type
/dev/sdb1 1985 312575999 312574015 149G f W95 Ext'd (LBA)
/dev/sdb5 2048 312575999 312573952 149G 7 HPFS/NTFS/exFAT
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xdcc90a50
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1026047 1024000 500M 7 HPFS/NTFS/exFAT
/dev/sda2 1026048 829401087 828375040 395G 7 HPFS/NTFS/exFAT
/dev/sda3 829401088 860858367 31457280 15G 83 Linux
/dev/sda4 860858368 1953523711 1092665344 521G 7 HPFS/NTFS/exFAT
Disk /dev/sdc: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x08f05c50
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 2048 61439999 61437952 29.3G c W95 FAT32 (LBA)
Disk /dev/mapper/vg0-swap: 8 GiB, 8589934592 bytes, 16777216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/vg0-ext4: 502 GiB, 539030978560 bytes, 1052794880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop8: 3.7 MiB, 3825664 bytes, 7472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
I'm genuinely scared for all my data, if I could at least boot back into windows I'd be already very thankful.
Any help is much appreciated.
Thanks in advance.
-A noob that messed up.
Bookmarks