14

cross-posted from: https://lemmygrad.ml/post/6734778

My laptop is (maybe was) Linux and Windows 10 dual booted. I was reinstalling the Linux OS and in the process I accidentally formatted the Windows 10 boot partition. At least I think it is the boot partition because I don't really know how Windows works (or doesn't work amirite).

This is the lsblk output:

$ lsblk -f
NAME        FSTYPE     FSVER LABEL [...] MOUNTPOINTS
nvme1n1     zfs_member 5000  zroot [...]
├─nvme1n1p1 vfat       FAT32       [...] /boot/efi
├─nvme1n1p2 swap       1           [...] [SWAP]
└─nvme1n1p3 zfs_member 5000  zroot [...]
nvme0n1
├─nvme0n1p1
└─nvme0n1p2 ntfs

The nvme0n1p1 is the one related to booting. I accidentally formatted it.

I have a Windows 10 USB prepared. I tried looking online and I never found a question asking exactly for this. The ones I found that were similar enough suggested different commands.

Anyone has experience with this?

Thanks in advance.

you are viewing a single comment's thread
view the rest of the comments
[-] ksynwa@lemmygrad.ml 4 points 2 days ago

Yeah it is really weird how sparse the info is on this topic.

Consider switching to only booting

I have a terrible secret. I am a gam*r.

[-] KrasMazov@lemmygrad.ml 2 points 2 days ago* (last edited 2 days ago)

What kind of g*mer? Cuz it's possible to game on Linux nowadays. I've been exclusively gaming on Linux for the last 3 years and it is incredible.

Also I don't think efibootmgr can help if your boot files from Windows are gone from the boot partition.

this post was submitted on 14 Jan 2025
14 points (100.0% liked)

technology

23419 readers
202 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 4 years ago
MODERATORS