Op 01/11/2022 om 19:37 schreef Noth:
>
> On 01/11/2022 13:27, Ottavio Caruso wrote:
>> Hi,
>>
>> 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]
>>
>> Questions:
>>
>> 1) Can/should I reuse the EFI partition?
>>
>> 2) Can I reuse and mount the Linux swap partition?
>>
>> 3) I will nuke sda5 and install OpenBSD in there. Anything I need to
>> know or do before installation?
>>
>> I have read the installation guide:
>> https://www.openbsd.org/faq/faq4.html#Multibooting
>>
>> but it's quite short and terse.
>>
>> Is multibooting worth it or is it just a pain in the down under? I did
>> install OpenBSD before but in a VM, so... apples and oranges really.
>>
>> Thanks.
>>
>>
>
> Hi,
>
> Presumably you are using GRUB to multiboot. Yes you should keep the
> EFI partition and add an OpenBSD directory in there, copy the
> BOOTX64.EFI file to it (available on your local mirror in the 7.2/amd64
> directory) and point your grub.cfg entry to the BOOTX64.EFI file in it.
> It's easiest to edit the /etc/grub.d/40_custom file and add this:
>
> menuentry 'OpenBSD/amd64 normal kernel' {
> insmod part_gpt
> insmod search_fs_uuid
> insmod chain
> chainloader (hd0,gpt2)/EFI/OpenBSD/BOOTX64.EFI
> }
>
> and run update-grub to modify grub.cfg.
>
Thanks. I'll try that.
--
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