complete beginner so dont judge me but few days ago been trying to get more into linux so i installed arch. just today i deleted a separate partition on my disk and i couldnt access arch anymore, it wasnt showing on the bios. so i tried installing arch again using archinstall and it unmounted all the partitions on my disk.

is everything just gone now? i feel dumber and dumber as i write this because i just dont know what to do.

  • @tal
    link
    3
    edit-2
    4 months ago

    Just today i deleted a separate partition on my disk and i couldnt access arch anymore, it wasnt showing on the bios.

    If it wasn’t your Arch installation, I’m guessing that that was maybe the EFI boot partition, since that’s the only thing I could think of that’d affect the visibility in BIOS.

    https://en.wikipedia.org/wiki/EFI_system_partition

    is everything just gone now?

    I’ve never used the Arch installer, but I’d guess that it doesn’t wipe everything without some kind of warning.

    If you mean, by “unmounted”, “deleted”, then yeah, it probably deleted them. It’s maybe possible to re-detect the location of filesystems on the drive if the data hasn’t been overwritten yet.

    If you don’t mean “deleted”, then it’s definitely there.

    In Linux, run lsblk. That’ll list all the partitions it can see.

    You can manually mount 'em doing something like this (if /dev/sdc1 is in there):

    # mkdir mountpoints
    # mkdir mountpoints/sdc1
    # mount /dev/sdc1 mountpoints/sdc1
    

    Then look at 'em.

    # ls mountpoints/sdc1
    

    And when done:

    # umount /dev/sdc1
    

    If you find your partitions, then you can re-add 'em, probably to /etc/fstab, which is just a text file in a particular format that tells a Linux distro what mountpoints to mount at boot. I don’t know if Arch does anything special here.