NetBSD-Users archive

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

Re: NetBSD on sd0 (memory) and CGD on wd0... success but



On Tue, May 6, 2008 at 7:40 PM, Cem Kayali 
<cemkayali%eticaret.com.tr@localhost> wrote:
>
>
>
>  Hello!
>
>  I really love NetBSD, since i started use it as desktop OS... Nowadays, i
> am interested in something similar to geli approach in FreeBSD one.
>
>  As first try, i have installed NetBSD onto usb memory which has only 1 GB
> storage... I edited fstab etc and also mounted CGD drive on local disk wd0.
>
>  Now, i assume/know that i can boot NetBSD through usb and mount /usr /var
> /tmp /home and swap which are actually on wd0 disk... That's not main pupose
> of course. So, i would like to ask NetBSD users and developers that is not
> it possible to setup a system that just boots from sd0 using
>
>  /sd0a/netbsd
>  /sd0a/etc/cgd/cgd.conf
>  /sd0a/etc/cgd/wd0e
>  /sd0a/etc/fstab ?
>  etc.
>  etc.
>  etc.
>
>  and then use wd0 environment.
>

I have similar setup, only I have everything on wd0. I have installed
base NetBSD to wd0a , created wd0e, on which I have setup cgd0. Then I
have installed/copied NetBSD to cgd0 and add init.root=/mountpoint to
/etc/sysctl.conf in base system, cgd=yes to rc.conf and had to disable
every service in base system. That's all. I think base system can be
shrink, but it takes about 150MB anyway.

Daniel

-- 
Daniel Horecki
http://morr.pl


Home | Main Index | Thread Index | Old Index