Date: Fri, 14 Jul 2017 15:45:49 -0700 (PDT) From: "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net> To: Guangyuan Yang <yzgyyang@outlook.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: RaspberryPi 3 freezes on single user mode (init 1) Message-ID: <201707142245.v6EMjnul094864@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <SG2PR0301MB12211DFFEF063A0C9171DC1FD0AD0@SG2PR0301MB1221.apcprd03.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Thursday, July 13, 2017 10:34:03 AM EDT sVx wrote: > > Hi, > > > > I've installed RaspBSD (FreeBSD-aarch64-12.0-GENERIC-320146M.img) on an > > 4 GB microSD-Card for a RaspberryPi 3. So far it boots and runs fine but I > > would like to expand the root slice (the only slice) over the full disk > > space but I cannot enter single user mode. > > > > Un-commenting in /etc/rc.conf 'growfs_enable="YES"' and rebooting has no > > effect. So I tried the manual way via `gpart resize /dev/mmcsd0s2` but > > growfs(8) cannot expand root because root is mounted -- I guess. So I > > tried `init 1` which just directly freezes the system as well as > > `nextboot -o "-s" -k kernel` which hangs right after detecting the > > keyboard. Guess in both cases it just freezes. > > Can confirm that 'growfs_enable=YES' is not working properly on RaspBSD. > Instead, running a 'service growfs onestart' worked for me: I believe you need to have /firstboot before growfs_enable="YES" well work for you. /firstboot is in the rpi images from RaspBSD, but once you have booted it the first time that file is wiped. ... -- Rod Grimes rgrimes@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707142245.v6EMjnul094864>