ading2210/shimboot

Failed to mount USB!

Closed this issue · 14 comments

Hi I'm using a dedede pre built and it was running fine but not it's hitting me with this error (See picture)
IMG_20240820_111938

Hi I'm using a dedede pre built and it was running fine but not it's hitting me with this error (See picture) IMG_20240820_111938

Better image:
IMG_20240820_112327

Try using a USB drive instead of an SD card. The error you're seeing is a bug with the shim's initramfs, which cannot be modified.

This also might be related to #44

Try using a USB drive instead of an SD card. The error you're seeing is a bug with the shim's initramfs, which cannot be modified.

Using a USB "solved" it. The reason I say it like that is because if I reflash my SD Card with the image it will work just fine. Its just very inconsistent. Like I got this error right b4 taking a test and was like UH. So ig more investigation is required.

You probably have a failing SD card then.

@ading2210 Also for some reason now when I login it just sends me back to the login screen like I didn't just login. Is there a fix?

That happens when you run out of disk space due to forgetting to expand the disk. Refer to this part of the instructions to fix it:

Expand the rootfs partition so that it fills up the entire disk by running sudo growpart /dev/sdX 4 (replacing sdX with the block device corresponding to your disk) to expand the partition, then running sudo resize2fs /dev/sdX4 to expand the filesystem.

That happens when you run out of disk space due to forgetting to expand the disk. Refer to this part of the instructions to fix it:

Expand the rootfs partition so that it fills up the entire disk by running sudo growpart /dev/sdX 4 (replacing sdX with the block device corresponding to your disk) to expand the partition, then running sudo resize2fs /dev/sdX4 to expand the filesystem.

@ading2210 I have 44 gib of storage still according to my other computer
image

Also Would I have to reformat the sdcard? If theres no other apparant Solution, or is there some log that has smth to do with it?

That happens when you run out of disk space due to forgetting to expand the disk. Refer to this part of the instructions to fix it:

Expand the rootfs partition so that it fills up the entire disk by running sudo growpart /dev/sdX 4 (replacing sdX with the block device corresponding to your disk) to expand the partition, then running sudo resize2fs /dev/sdX4 to expand the filesystem.

I have 44 gib of storage still according to my other computer image

That happens when you run out of disk space due to forgetting to expand the disk. Refer to this part of the instructions to fix it:

Expand the rootfs partition so that it fills up the entire disk by running sudo growpart /dev/sdX 4 (replacing sdX with the block device corresponding to your disk) to expand the partition, then running sudo resize2fs /dev/sdX4 to expand the filesystem.

@ading2210 Also I can't even get into a terminal so how would I run it

@ading2210 If you cannot answer those just lmk but one last thing what format should my sd card be in anyway? I've been formatting it to FAT 32 maybe thats an issue?

@ading2210 I figured out the issue which is very strange but is going to be SUPER useful for everyone else. So when creating these images they have everything installed, but if you try to use like curseforge or prismlauncher or like anything that requires fuse people will run "sudo apt install fuse" which will run the file sure but when you restart you have now lost essential files that runs your desktop. So yeah theres the fix. Don't do that.

That happens when you run out of disk space due to forgetting to expand the disk. Refer to this part of the instructions to fix it:

Expand the rootfs partition so that it fills up the entire disk by running sudo growpart /dev/sdX 4 (replacing sdX with the block device corresponding to your disk) to expand the partition, then running sudo resize2fs /dev/sdX4 to expand the filesystem.

I have 44 gib of storage still according to my other computer image

That happens when you run out of disk space due to forgetting to expand the disk. Refer to this part of the instructions to fix it:

Expand the rootfs partition so that it fills up the entire disk by running sudo growpart /dev/sdX 4 (replacing sdX with the block device corresponding to your disk) to expand the partition, then running sudo resize2fs /dev/sdX4 to expand the filesystem.

@ading2210 Also I can't even get into a terminal so how would I run it

reflash the image, login as root, and run it

That happens when you run out of disk space due to forgetting to expand the disk. Refer to this part of the instructions to fix it:

Expand the rootfs partition so that it fills up the entire disk by running sudo growpart /dev/sdX 4 (replacing sdX with the block device corresponding to your disk) to expand the partition, then running sudo resize2fs /dev/sdX4 to expand the filesystem.

I have 44 gib of storage still according to my other computer image

That happens when you run out of disk space due to forgetting to expand the disk. Refer to this part of the instructions to fix it:

Expand the rootfs partition so that it fills up the entire disk by running sudo growpart /dev/sdX 4 (replacing sdX with the block device corresponding to your disk) to expand the partition, then running sudo resize2fs /dev/sdX4 to expand the filesystem.

@ading2210 Also I can't even get into a terminal so how would I run it

reflash the image, login as root, and run it

@kkilobyte Do you know of anyway of doing this without wiping everything?