I'm trying to recover from accidentally deleting the first (probably /dev/sda1) 500Mb partition in Debian 9
I know, the question might sound silly and trust me I was wandering for a fix for hours, but no solution I found really fit what I see on my screen and I would like to avoid making things worse.
I wanted to manually delete a partition from an SD card but I was on the wrong tab. Instead I deleted the partition on the far left of the system SSD that weight around 500 meg
So now I have the following :
- Code: Select all
fdisk -l
/dev/sda2 Linux filesystem
/dev/sda3 Linux swap
and I do have 537 meg of free space at te beginning of the SSD, I'm using graphic rescue mode on debian9 dvd, trying to partiton that free space EFI partition or anything else doest go through and I got "not root filesystem is defined", that is implying I should create a root partition which I already have at /dev/sda2 right?
I would be great if someone can hand me here a fix for this or any link that explain a fix for this problem, aiming to avoid making things worse
Thanks a lot !