You are not logged in.
Pages: 1
Yesterday I decided to shrink my Arch partition, so I created a bootable GParted Live USB perndrive, saved my important data on an HDD and booted up GParted.
I resized the partition inside GParted and applied. All went well until the computer suddenly shut down (I guess it tried to go sleep or something but didn't work well...).
But the worst thing is that it rebooted into my main installation and started an fsck which tried (without success) to repair errors. I rebooted into GParted and resized the partition again and this time it went well.
My Arch installation kinda works (I can log in the shell, I can run programs and there are all (I think) my files) but some system files went away. For example the folder /etc/pacman.d disappeared.
I tried to reinstall all base and base-devel packages with the --force parameter, but it's still not working well.. At boot it reachs the "Grafilcal Interface" target and then stops...
Can someone help me?
Thanks all
Offline
By resize, do you mean only the end of the partition was moved, or the start of the partition as well? those are very different beasts.
> But the worst thing is that it rebooted into my main installation and started an fsck which tried (without success) to repair errors.
Usually it's game over at this point. k in fsck stands for kill, and c stands for crunch ![]()
Offline
I changed only the end of the partition.
> k in fsck stands for kill, and c stands for crunch big_smile
I thought 'ck' stands for 'check'... ![]()
Offline
I'm not totally familiar with parted, but I presume it only changes the partition table. Did you also resize the filesystem itself? If not, you would need to use something like resize2fs (for ext2/ext3/ext4) to resize the actual filesystem, to supplement adjusting the partition table.
Last edited by GenkiSky (2017-05-05 20:06:35)
Offline
I'm not totally familiar with parted, but I presume it only changes the partition table. Did you also resize the filesystem itself? If not, you would need to use something like resize2fs (for ext2/ext3/ext4) to resize the actual filesystem, to supplement adjusting the partition table.
Recent parted no longer touches the filesystem but such filesystem resizing capability remains in libparted, which is used by GParted, which also resizes the filesystem AFAIK (haven't used it for a LOOONG time and probably will never use it again) and is what the OP used to resize the partition.
Also the OP explicitly mentioned that the system got haywire _during_ the first resize attempt so...
Last edited by tom.ty89 (2017-05-05 20:37:51)
Offline
Recent parted no longer touches the filesystem but such filesystem resizing capability remains in libparted, which is used by GParted, which also resizes the filesystem AFAIK (haven't used it for a LOOONG time and probably will never use it again) and is what the OP used to resize the partition.
Oh I see, thanks for clearing that up.
Also the OP explicitly mentioned that the system got haywire _during_ the first resize attempt so...
True. I had interpreted OP as saying that the resize finished successfully, but then the computer rebooted before he finished but due to an orthogonal issue. shrugs
Offline
Pages: 1