You are not logged in.

#26 2024-05-08 13:57:37

seth
Member
Registered: 2012-09-03
Posts: 51,894

Re: Can't boot after shrinking root (/) to expand /home

grub, distro logo, login screen, checks for forever and brings me back on login screen, as if pw was wrong despite it being the right one

You first and foremost want to check whetehr you can mount or fsck theupsized partition

Offline

#27 2024-05-08 14:50:55

archiedummy
Member
Registered: 2024-03-26
Posts: 15

Re: Can't boot after shrinking root (/) to expand /home

Meaning adding it to the fstab file? fsck has to be done from the corrupted distro or can be done from the gparted iso ?

Offline

#28 2024-05-08 15:28:16

seth
Member
Registered: 2012-09-03
Posts: 51,894

Re: Can't boot after shrinking root (/) to expand /home

Meaning you boot the sysytem into the multi-user or rescue target or boot the install iso or grml.
The you try to mount the partition "mount /dev/sdX8 /mnt/wherever" and see whether that gets you an error.
If yes see whether you can "fsck /dev/sdX8" and whether this can sanitize the partition and whetehr you can then mount it.

Offline

#29 2024-05-08 16:23:34

archiedummy
Member
Registered: 2024-03-26
Posts: 15

Re: Can't boot after shrinking root (/) to expand /home

rewrote the clone2 from gparted live iso, and right after this, still from the iso
# fdisk /dev/sdc
d8
n8
+208 666 616
Do you want to remove ext4 signature ? n
w
# partprobe
# fsck /dev/sdc8
Superblock has an invalid journal (inode 8).
Clear<y>? y
*** journal has been deleted ***
Superblock has_journal is clear, but a journal is present.
Clear<y>? y
Pass 1: Checking inodes, blocks, and sizes
Journal inode is not in use, but contains data. Clear<y>? y
Inode 1 441 793 seems to contain garbage. Clear<y>? y
'a' to say yes to all
/dev/sdc8: 60/bunch of files (13.3% non-contiguous), 424730/ 26 083 327 blocks

# partprobe
# mount /dev/sdc8 /mnt/
# cd /mnt/ && ls -a
.   ..
So it sees nothing, right clicking on the desktop to open a file manager and going into /mnt only displays lost+found folder and a .directory file with a logo which is an exclamation sign within a triangle...

# umount /mnt/
# mount
# reboot (into clone2)
gets me grub, distro splash, login screen, endless bringback sad (however this time it instantly deny my password instead of taking time, I do can ensure the pw typed is the latest I defined tho. It could as old as being unique that I defined at install time, I don't remember changing it after install)

Last edited by archiedummy (2024-05-08 16:24:01)

Offline

#30 2024-05-08 20:35:19

seth
Member
Registered: 2012-09-03
Posts: 51,894

Re: Can't boot after shrinking root (/) to expand /home

https://man.archlinux.org/man/core/e2fs … xt4.8.en#b
https://man.archlinux.org/man/mke2fs.8.en#n

login screen, endless bringback

The bigger DEs won't start if they cannot open your $HOME

Inode 1 441 793 seems to contain garbage. Clear<y>? y
'a' to say yes to all

What exactly did you say here? Did you clear more than inode 1441793?

Offline

Board footer

Powered by FluxBB