You are not logged in.

#1 2024-11-20 21:34:57

inchrys
Member
Registered: 2024-11-20
Posts: 7

arch not booting after i did something stupid

no, i didnt sudo rm -rf /

what i did may be just as bad, i edited the partitions on the disk i was currently booting arch from, and now whenever i turn it on, it just gets stuck starting "/dev/disk/by-uuid/98aea665-Za53-425d-a47a-2174a8035b27"

and the partitions look fine when i check them with fdisk from an endeavour usb

i just need to know if this is fixable or not

Offline

#2 2024-11-20 21:44:52

seth
Member
Registered: 2012-09-03
Posts: 58,974

Re: arch not booting after i did something stupid

Altering the partitions might/will have changed the UUID?

lsblk -f

Offline

#3 2024-11-20 21:54:23

inchrys
Member
Registered: 2024-11-20
Posts: 7

Re: arch not booting after i did something stupid

as it turns out, the uuid was the uuid of my root partition, so im not sure what i should do about that

and a critical piece of information i left out: i removed my swap partition and put that space on my root partition, thats what i was doing editing my partitions

Last edited by inchrys (2024-11-20 21:57:54)

Offline

#4 2024-11-20 21:59:41

seth
Member
Registered: 2012-09-03
Posts: 58,974

Re: arch not booting after i did something stupid

Yes, of course that *was* the UUID of the root partition, the question is what is the UUID of your your partition *now* since it very likely has changed.

Offline

#5 2024-11-20 22:04:03

inchrys
Member
Registered: 2024-11-20
Posts: 7

Re: arch not booting after i did something stupid

so how should i go about finding out the new uuid

Last edited by inchrys (2024-11-20 22:05:31)

Offline

#6 2024-11-20 22:06:09

seth
Member
Registered: 2012-09-03
Posts: 58,974

Re: arch not booting after i did something stupid

seth wrote:
lsblk -f

Offline

#7 2024-11-20 22:12:32

inchrys
Member
Registered: 2024-11-20
Posts: 7

Re: arch not booting after i did something stupid

seth wrote:
seth wrote:
lsblk -f

already did that and got the same uuid, thought there was something else i should have done

Offline

#8 2024-11-20 22:15:04

seth
Member
Registered: 2012-09-03
Posts: 58,974

Re: arch not booting after i did something stupid

Post the output of lsblk -f, remove the quiet parameter from the kernel commandline, boot the system and link a picture of the stall.

Offline

#9 2024-11-20 22:36:44

inchrys
Member
Registered: 2024-11-20
Posts: 7

Re: arch not booting after i did something stupid

Offline

#10 2024-11-20 22:49:11

seth
Member
Registered: 2012-09-03
Posts: 58,974

Re: arch not booting after i did something stupid

You could have posted that as text, only the stalled boot will be hard to share in that form.
Also https://bbs.archlinux.org/misc.php?action=rules - EOS isn't supported here.

The UUID however still matches your OP, but the drive is an MMC and you might lack the relevant kernel modules in the initramfs, try the fallback image.

Offline

#11 2024-11-20 22:52:59

inchrys
Member
Registered: 2024-11-20
Posts: 7

Re: arch not booting after i did something stupid

my bad about the endeavour thing

and uh, it still doesnt boot with the fallback image

Offline

#12 2024-11-20 22:57:56

seth
Member
Registered: 2012-09-03
Posts: 58,974

Re: arch not booting after i did something stupid

Ah, imgur is an album.
The device is found, you're probably fsck'ing it.

From the live distro, try to mount the partition, if that fails run an fsck and just a quick guess: did you grow the partition but not the filesystem?

Offline

#13 2024-11-20 23:37:09

inchrys
Member
Registered: 2024-11-20
Posts: 7

Re: arch not booting after i did something stupid

seth wrote:

Ah, imgur is an album.
The device is found, you're probably fsck'ing it.

From the live distro, try to mount the partition, if that fails run an fsck and just a quick guess: did you grow the partition but not the filesystem?

yeah i did

Offline

#14 2024-11-21 08:23:23

seth
Member
Registered: 2012-09-03
Posts: 58,974

Re: arch not booting after i did something stupid

Did what?
Resize the FS, not resize the FS, mount the partition, fsck, it …

Offline

#15 2024-11-21 22:32:42

obelisk
Member
Registered: 2021-01-10
Posts: 62

Re: arch not booting after i did something stupid

As I understanding it well, inchrys wanted to remive his swap partition. Then the Pc does not more boot.
UUID and PARTUID (not the same) are well shown with command blkid

As seth has suggested, try fsck the partition:

fsck.ext4 /dev/mmcblk0p2

And what is you lsblk output?
When you have removed your swap partition, have you removed the swap entry in your fstab?
Mount the parition with the root file system end check your /etc/fstab. Comment the swap line out.

Wait... mmcblk0p2? SD-card? Is that an Raspberry Pi?

Offline

Board footer

Powered by FluxBB