Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2016 09:42:48 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Mike Brown <mike@skew.org>, freebsd-arm@freebsd.org
Subject:   Re: Booting FreeBSD on BeagleBone Black from microSD by default
Message-ID:  <1461685368.1191.67.camel@freebsd.org>
In-Reply-To: <20160426084344.GA29063@chilled.skew.org>
References:  <20160426084344.GA29063@chilled.skew.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2016-04-26 at 02:43 -0600, Mike Brown wrote:
> When I was looking to do this, I was told on IRC to just rename the
> MLO file:
> 
> mkdir /emmc.root
> mount -t msdosfs /dev/mmcsd1s1 /emmc.root
> cd /emmc.root && mv MLO MLO.old
> 
> Once MLO is renamed, /dev/mmcsd1s2 is then available for whatever you
> want. I 
> use it for swap.
> 
> Is there any advantage to using the gpart method instead of renaming 
> MLO?

The only advantage is that it leaves everything else on the emmc
intact.  If you wanted to boot into linux all you'd need to do is turn
the active flag back on and reboot.

If you're sure you never want to use linux again, you can just
repartition / reformat the emmc and use it for whatever you want.

-- Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1461685368.1191.67.camel>