Date: Thu, 13 Jul 2017 08:48:06 -0700 From: Carl Johnson <carlj@peak.org> To: freebsd-arm@freebsd.org Subject: Re: RaspberryPi 3 freezes on single user mode (init 1) Message-ID: <86bmoouymh.fsf@elm.localnet> In-Reply-To: <20170713163403.10ef76b0@unixbase> (sVx's message of "Thu, 13 Jul 2017 16:34:03 %2B0200") References: <20170713163403.10ef76b0@unixbase>
next in thread | previous in thread | raw e-mail | index | archive | help
sVx <sven.reber@nbt.ag> writes: > 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. > > Don't know what are the dos and doen'ts for mailing lists and I > felt uncomfortable to put the full dmesg into the email. So I've > uploaded it here so far to http://textuploader.com/dku3j (So in case > you expect it to be directly on the mailing list I can still send it.) > Don't know what else to supply because I cannot even see a core dump. > (Only checked in root directory.) > > Anyway for obvious reasons the dmesg is from from multiuser but I Could > supply a real screen shot for example. > > How do you proceed from here or what do I miss maybe? I think that you need a serial console as somebody already mentioned, but I think that you can force firstboot actions. I think that you can just create a /firstboot file and reboot. The growfs operation should run as long as you have the growfs_enable still enabled. I don't know any of this, but it should be easy to test. -- Carl Johnson carlj@peak.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bmoouymh.fsf>