News for hackers. Stuff that matters.
Re:Running NetBSD on IBM ThinkPad 380Z by 1vuio0pswjnm7 on Tuesday December 17, 2024 @06:07PM (#42446421)
"It doesn't matter to operating systems, but confuses some bootloaders. 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."

A favourite component of NetBSD for me has always been the i386 bootloader. Perhaps it is personal taste but I have not found another one that I like better.

"Even NetBSD comes with some bloatware ;-) To save as much RAM as possible, you can turn it off by adding to /etc/rc.conf:

   inetd=NO
   postfix=NO
   cron=NO
   virecover=NO
   makemandb=NO
   powerd=NO
   syslogd=NO"
Isn't powerd off by default

For example, if install provided sets from https://ftp.netbsd.org/pub/NetBSD/NetBSD-9.4/i386/binary/set...

Look at https://ftp.netbsd.org/pub/NetBSD/NetBSD-release-9/src/etc/d...

"You can also reduce the amount of consoles by commenting them out in /etc/ttys."

By default only one tty is enabled

Look at https://ftp.netbsd.org/pub/NetBSD/NetBSD-release-9/src/etc/e...

NetBSD might have some "bloatware" but _the user must enable it_ first

Everything is off by default. That is one of the things that makes NetBSD great IMHO

"I was able to fix it by adding usermod disable wss to the bootloader line."

Does he mean userconf

Another option is comment the driver out in the kernel source and recompile

For example https://ftp.netbsd.org/pub/NetBSD/NetBSD-release-9/src/sys/a...

"... I think it's the ultimate UNIX to put on a spare, underpowered machine."

100%

Some folks who are not "developers" or gamers use underpowered computers every day

I've used it for decades as a daily driver

Re:Running NetBSD on IBM ThinkPad 380Z by luke8086 on Tuesday December 17, 2024 @07:23PM (#42446919)
> Isn't powerd off by default

Sometimes it's on, see https://ftp.netbsd.org/pub/NetBSD/NetBSD-release-10/src/etc/...

> By default only one tty is enabled

Ah, but the rest is getting enabled by the installer, see https://github.com/NetBSD/src/blob/netbsd-10/usr.sbin/sysins...

> NetBSD might have some "bloatware" but _the user must enable it_ first

> Everything is off by default. That is one of the things that makes NetBSD great IMHO

I mean, it gets pretty close to that, and I don't even mind syslogd and powerd, but I'm confused why they enable stuff like postfix, inetd and makemandb without asking. Especially makemandb is pretty intensive on slow machines.

> "I was able to fix it by adding usermod disable wss to the bootloader line."

> Does he mean userconf

Whoopsie, that's on me, good catch!

Re:Running NetBSD on IBM ThinkPad 380Z by 1vuio0pswjnm7 on Tuesday December 17, 2024 @09:31PM (#42447607)
Ah, sysinst. I do not use it. This explains the enabling of programs in the configuration. Apologies I should have guessed that's where these settings were coming from.

I usually installboot and disklabel manually, download and extract sets manually, use makefs or mdsetimage and vnconfig to create/edit images.

Re:Running NetBSD on IBM ThinkPad 380Z by ruthmarx on Wednesday December 18, 2024 @11:40AM (#42452079)
> I usually installboot and disklabel manually, download and extract sets manually,

Why do things a harder way when there is no discernible benefit?

Re:Running NetBSD on IBM ThinkPad 380Z by 1vuio0pswjnm7 on Wednesday December 18, 2024 @01:20PM (#42453239)
The "discernable benefit" for me is 1. learning how things work and 2. flexibility.