Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Olivier Cochard-Labb=E9 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 sli=
ce 2.
 >=20
 > Then I use boot0cfg like that:
 >=20
 > sysctl kern.geom.debugflags=3D16
 > boot0cfg -s 2 -v /dev/ad0
 > sysctl kern.geom.debugflags=3D0
 >=20
 > But, after the reboot my system still reboot from the slice 1 (but t=
he
 > boot loader show correctly that the default choice is now the 2)!
 > Where is my problem =3F

Are you sure you're booting from slice 1=3F
Is fstab on slice 2 pointing to slice 1=3F



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