News for hackers. Stuff that matters.
Re:Running NetBSD on IBM ThinkPad 380Z by AshamedCaptain on Tuesday December 17, 2024 @03:57AM (#42439635)
> In general it's safer to use a smaller root partition and a separate one for /home. However, NetBSD worked just fine off a single full-disk partition.

Right until there is an update or anything and a bootloader or one of its required files gets written past the 8GB barrier, rendering your system unbootable.

Re:Running NetBSD on IBM ThinkPad 380Z by luke8086 on Tuesday December 17, 2024 @04:34AM (#42439835)
Yeah, I suspect so!

To be honest, I wouldn't notice this issue at all, if it wasn't for FreeBSD which refused to boot right off the bat. It has a more advanced bootloader though, so perhaps it does some extra sanity checks.

Re:Running NetBSD on IBM ThinkPad 380Z by AshamedCaptain on Tuesday December 17, 2024 @07:44PM (#42447064)
Of course you're not going to notice anything until it breaks -- you didn't write more than 8GB of files to the root partition yet, I guess...
Re:Running NetBSD on IBM ThinkPad 380Z by likeabatterycar on Tuesday December 17, 2024 @04:35AM (#42439839)
Better or worse than OpenBSD and its ridiculous baker's dozen partitions and mount points? You know __for your protection__ meanwhile they fill up if you install more than a few packages or heaven forbid build a custom kernel when 80% of /home and /var is free and you realize you're screwed and have to start all over.
Re:Running NetBSD on IBM ThinkPad 380Z by reidrac on Tuesday December 17, 2024 @04:53AM (#42439945)
Been there, done that. Feels painful, but that's because you're learning. My favourite, too small /boot in Linux that prevents updating the kernel if you keep more than 3 versions, and autoremove doesn't seem to happen automatically.

I had to install a new Debian last night. Manual partitioning and I'm quite happy with the results. I couldn't do that without all my past mistakes.

Re:Running NetBSD on IBM ThinkPad 380Z by likeabatterycar on Tuesday December 17, 2024 @05:10AM (#42440040)
Debian's partitioner is really buggy and a major pain point for me. Won't support a backup EFI partition, creating and booting from RAID volumes is really tricky, many other issues. Issues that are resolved or nonexistent in RedHat, Ubuntu, and even Windows. I've had it create unbootable GRUB configurations many times - it only tells you at the very end.

I now make the partitions beforehand in fdisk then choose them in the installer. Which for some bizarre reason is not included in the install image; you have to boot into rescue for that.

Re:Running NetBSD on IBM ThinkPad 380Z by jmclnx on Tuesday December 17, 2024 @08:27AM (#42441155)
>Right until there is an update or anything and a bootloader or one of its required files gets written past the 8GB barrier, rendering your system unbootable.

I do not fully understand this. Can you add specifics ? To me the article indicates he used a small root partition. Or did I miss something ?

A little hint for people (like me) who have a separate partition for /usr, /var, /tmp and /home due to cgd encryption or other reasons. If using wireless, you may need this in /etc/rc.conf to force a mount before daemons kick off. In my case, without this wireless breaks.

critical_filesystems_local="/var /usr /tmp"

Re:Running NetBSD on IBM ThinkPad 380Z by AshamedCaptain on Tuesday December 17, 2024 @07:47PM (#42447084)
> To me the article indicates he used a small root partition. Or did I miss something ?

The article explicitly says a single full disk partition was used -- it's right on the quote I used.

In any case, this is a BIOS limitation affecting all bootloaders from all operating systems. It has nothing to do with any particular BSD or OS, and you do not need to care if your computer is less than 20 years old.

Re:Running NetBSD on IBM ThinkPad 380Z by luke8086 on Wednesday December 18, 2024 @07:50AM (#42450036)
Yeah, you're right, sorry for the confusion! I've just rewritten this part to make it more clear.