Op 03/11/2022 om 20:54 schreef Noth:
>
> On 03/11/2022 15:14, Ottavio Caruso wrote:
>> On Tue, 1 Nov 2022 at 12:27, Ottavio Caruso naively wrote:
>>> I have some spare space on my laptop (a rubbish Thinkpad E130) that was
>>> originally meant for NetBSD, but I gave up on it due suspend/resume not
>>> working.
>>>
>>> This is how it looks from Debian:
>>>
>>>
>>> Device Start End Sectors Size Type
>>> /dev/sda1 2048 1023999 1021952 499M Windows recovery
>>> environment
>>> /dev/sda2 1024000 1226751 202752 99M EFI System >>> [EFI
>>> partition]
>>> /dev/sda3 1226752 1259519 32768 16M Microsoft reserved
>>> /dev/sda4 1259520 51845119 50585600 24.1G Microsoft basic data
>>> /dev/sda5 51845120 124938239 73093120 34.9G NetBSD FFS
>>> /dev/sda6 223012864 877277183 654264320 312G Microsoft basic data
>>> /dev/sda7 206057472 223012863 16955392 8.1G Linux swap
>>> /dev/sda8 877277184 976773119 99495936 47.4G Linux filesystem >>>
>>> ]Debian /home partition]
>>> /dev/sda9 124938240 206057471 81119232 38.7G Linux filesystem >>>
>>> [Debian / root]
>>>
>> So I officially joined the club of idiots who don't back up their
>> partition table. I wanted to install OpenBSD to free space, instead I
>> must have overwritten the partition table (hopefully not formatting
>> the drive because I aborted soon after realizing the mistake). I have
>> attached two screenshots.
>>
>> I don't mind reinstalling Windows and Linux but I have a 350GB fat32
>> partition with tons of videos and books that I'd like to recover.
>>
>> I have tried using testdisk from cgsecurity but it cannot recover that
>> particular partition.
>>
>> Any help will be appreciated.
>>
>> --
>> Ottavio Caruso
>>
>> A: Because it messes up the order in which people normally read text.
>> Q: Why is top-posting such a bad thing?
>> A: Top-posting.
>> Q: What is the most annoying thing in e-mail?
>
> Hi,
>
> You're lucky enough to have the exact printout block by block of the
> disk layout. I wouldn't want to do this in OpenBSD's fdisk, it'd be
> easier with gparted on a Linux liveCD if you can. It can be done with
> fdisk but it's not very userfriendly.
Thanks. I managed to do it with Linux parted. Gparted doesn't accept
sectors, only cylinders or {M,G}bytes. Back into Debian. Now, with
regards to installing OpenBSD:
> Be sure to make that NetBSD
> partition an OpenBSD one while you're at it so the installer finds it
> right away.
And that's where the problems started in the first place.
At the prompt:
(W) (G) (E)
I choose (E) edit. Then, recalling from memory, I selected (disk) and
changed the NetBSD filesystem to OpenBSD. After that, I couldn't go
anywhere else. I didn't know what to do and I must have selected the
whole disk. I wanted to mount / on the ex-NetBSD partition, and that's
where I got stuck.
--
Ottavio Caruso
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
No comments:
Post a Comment