You are not logged in.

#1 2022-07-11 17:15:21

JaydenDev
Member
Registered: 2022-07-11
Posts: 172

Upon partition size modification, system refuses to boot.

Currently on my big number hereth arch install. But I will place it here as its probably an easy solution and I just searched the wrong words on google.

So, I have here /dev/sda2. It's a 470 gig partition. And I want to resize it to 400 gigs so I can install Windows alongside so I can play Halo Infinite ("borked" on ProtonDB). However, as with other distros I've tested this on. Resizing the partition makes the system ENTIRELY unable to mount, boot, or anything with said modified partition. Ubuntu, Fedora, Arch, Mint, this issue is everywhere. I will NOT consider a reinstall an option. I want my several hundred gigabytes of steam library to remain on my disk.

lsblk output:

sda      8:0    0 476.9G  0 disk 
|-sda1   8:1    0   300M  0 part /boot
`-sda2   8:2    0 476.6G  0 part /

Packages are entirely up to date.
Correct files and signatures remain post-resize.

As well, I know this will be a lot of work for Halo Infinite (which a lot of people hate anyway) but I just want to try it at least, I might like it. I'm entirely willing to use yucky Windows to play it!

Last edited by JaydenDev (2022-07-11 17:16:19)


System Specs:
Intel Core i5-2400 Nvidia GTX 1050ti Logitech G402 Hyperion Fury (Mouse) BestBuy Essentials USB Keyboard
Software Specifications:
Desktop Environment: KDE Plasma Window Manager: KWin Operating System: Arch Linux (btw)

Offline

#2 2022-07-11 17:21:34

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Upon partition size modification, system refuses to boot.

How did you resize the partition?
Did you make sure to resize the filesystem first?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-07-11 17:27:22

JaydenDev
Member
Registered: 2022-07-11
Posts: 172

Re: Upon partition size modification, system refuses to boot.

Slithery wrote:

How did you resize the partition?
Did you make sure to resize the filesystem first?

resize2fs fails to resize fs to part since i cant run the command it asks you to run since the partition is unmountable. I always use good ol' cfdisk for everything partitions.


System Specs:
Intel Core i5-2400 Nvidia GTX 1050ti Logitech G402 Hyperion Fury (Mouse) BestBuy Essentials USB Keyboard
Software Specifications:
Desktop Environment: KDE Plasma Window Manager: KWin Operating System: Arch Linux (btw)

Offline

#4 2022-07-12 01:43:26

jonno2002
Member
Registered: 2016-11-21
Posts: 848

Re: Upon partition size modification, system refuses to boot.

https://wiki.archlinux.org/title/Parted … partitions

arch wiki wrote:

......
If you are growing a partition, you have to first resize the partition and then resize the filesystem on it, while for shrinking the filesystem must be resized before the partition to avoid data loss
......

man cfdisk wrote:

......
           Reduce or enlarge the current partition. cfdisk then prompts you for the new size of the partition. The default size is the current size. A partition marked as free space or marked as unusable cannot be resized.

           Note that reducing the size of a partition might destroy data on that partition.
.......

man resize2fs wrote:

......
       If you wish to shrink an ext2 partition, first use resize2fs to shrink the size of file system.  Then you may use fdisk(8) to shrink the size of the partition.  When shrinking the size of the partition, make sure you do not
       make it smaller than the new size of the ext2 file system!

.......

im a bit confused whats going on as youve given conflicting info

Correct files and signatures remain post-resize.

i cant run the command it asks you to run since the partition is unmountable

Offline

Board footer

Powered by FluxBB