NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: need help as new user



For full disk, you need to boot from a ramdisk and then pivot root to the new cgd root. This is more complicated:

https://wiki.netbsd.org/security/custom_cgdroot/

thank you


4) newfs is easy, but what option to give to support TRIM.

Don't know.

As i already found there is journalling equivaled to freebsd -j enable, called WAPBL, but i don't need it for now. It's SSD, fsck time is short.

nia's doc about covers use of lfs, that might be worth looking at too.

5) How to do any other operation (if any) needed to make it bootable.
I assume boot files will be on small unencrypted partition, but something must be set so kernel will want root on encrypted one.

As above, you'll need to use a ramdisk to allow it to mount the encrypted root.

Making it bootable is little more than creating the MSDOS partition of the correct type and the contents of EFI directory within that.

In FreeBSD there is /boot/loader.conf to set it.

Editing boot.cfg (which will be alongside the bootloader, not in the root dir) may be necessary. Depends on how you want to load that ramdisk.

6) What to put in /etc/rc.conf for a minimum.

rc_configured=YES is the main one that is done by sysinst - without that it'll drop to single-user.


7) Is there in default system any editor available other that vi? which i don't like.

-current has natto.

--
Stephen




Home | Main Index | Thread Index | Old Index