Date: Fri, 7 Aug 2009 09:36:07 -0600 From: John Hein <jhein@timing.com> To: Olivier =?iso-8859-1?Q?Cochard-Labb=E9?= <olivier@cochard.me> Cc: freebsd-embedded@freebsd.org Subject: Re: [NanoBSD] Can't use boot0cfg for changing the booting slice Message-ID: <19068.18919.843159.936827@gromit.timing.com> In-Reply-To: <3131aa530908070809l2ac13931xf65981db6eeb83e8@mail.gmail.com> References: <3131aa530908070809l2ac13931xf65981db6eeb83e8@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
Olivier Cochard-Labbé wrote at 17:09 +0200 on Aug 7, 2009: > I meet a problem under FreeBSD 7.2 and 8.0-current (nanoBSD) using > boot0cfg: I can't use boot0cfg for changing the booting slice. > Here is my problem: > I'm using the FreeBSD Boot manager on a system with MBR partitions. > The active slice is the partition 1, but I want to boot from the slice 2. > > Then I use boot0cfg like that: > > sysctl kern.geom.debugflags=16 > boot0cfg -s 2 -v /dev/ad0 > sysctl kern.geom.debugflags=0 > > But, after the reboot my system still reboot from the slice 1 (but the > boot loader show correctly that the default choice is now the 2)! > Where is my problem ? Are you sure you're booting from slice 1? Is fstab on slice 2 pointing to slice 1?help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19068.18919.843159.936827>
