#[SOLVED]Can't mkinitcpio -P

53 messages · Page 1 of 1 (latest)

dusty minnow
#

My boot partition is apparently too small and I am having trouble with resizing it

dark patio
#

have you installed fatresize?

#

it should function like resize2fs

dusty minnow
#

I did but I can't seem to get it to resize the partition

dark patio
#

post the output

dusty minnow
dark patio
#

well that's unexpected

dusty minnow
#

Don't tell me I gotta do everything all over again

dark patio
#

what happens if you don't specify a size

dusty minnow
#

It says illegal new volume size

dark patio
#

a bug report from 2020 suggests that the tool is incapable of resizing a partition filesystem that small

dusty minnow
#

Wtf

#

Lol

#

Is there a minimum written somewhere?

dark patio
#

256, according to this bug report; let me dig a little bit

dusty minnow
#

But my partition is double that size

#

😭

dark patio
dusty minnow
#

Okay, well how do I back up the data?

dark patio
#

copying the files out to a folder on your root partition would do

#

you have bootable media incase something goes terribly wrong?

dusty minnow
#

Okay how do I select the whole thing and copy it somewhere else?

dark patio
#

just a regular cp -r /boot <target>

dusty minnow
#

When I do mkfs.fat it says command not found

#

What pack do I need to do that?

dark patio
#

dosfstools - in the future if you're stuck on missing commands you can typically find what package they're in using the wiki search, or package search

#

not that I mind, but sometimes it'll be faster to help yourself than to wait for someone on discord

dusty minnow
#

Absolutely I am still fairly new but yeah I try to use the wiki when I can

dark patio
#

takes practice.

dusty minnow
#

It's just late and I can't really reason straigjt

#

I just have one last question, I copied the boot partition content in my root, now to copy it back I have to use the same command as before?

#

Or actually I should use move?

dark patio
#

copy it, if it works then delete the backup on root

#

you know, safety

dusty minnow
#

So I mount the partition and then do cp -r /home/boot /boot?

#

Damn they would have the same name

#

That's not good is it?

dark patio
#

not a problem just make sure it doesn't end up as /boot/boot

dusty minnow
#

Okay how can I avoid that? How do I copy only the files in it?

dark patio
#

glob it; cp -r /home/boot/* /boot

#

then check the folder to make sure it's right

dusty minnow
#

Looks right to me yeah

dark patio
#

OK run your mkinit

dusty minnow
#

They are not writeable now

#

I gotta chmod?

#

Or sudo

#

?

#

It workeddddd

dark patio
#

🎉

dusty minnow
#

Ty so much

dark patio
#

remember to mark the thread as solved.