From owner-freebsd-questions@freebsd.org Mon Mar 26 01:31:44 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CAF48F5C1D1 for ; Mon, 26 Mar 2018 01:31:44 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 28B628378E for ; Mon, 26 Mar 2018 01:31:43 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39970029; Mon, 26 Mar 2018 08:28:02 +0700 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w2PFprOG000594; Sun, 25 Mar 2018 22:51:55 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w2PFpo0T000593; Sun, 25 Mar 2018 22:51:50 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Sun, 25 Mar 2018 22:51:49 +0700 From: Victor Sudakov To: Moheed Ahmad Cc: freebsd-questions@freebsd.org Subject: Re: How to make default root as partition-d (ada0s1d) Message-ID: <20180325155149.GA494@admin.sibptus.transneft.ru> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.3 (2018-01-21) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2018 01:31:45 -0000 Moheed Ahmad wrote: > Hello there, > > I am trying to have two different version of bsd on a single slice. > > I've an MBR partitioned 2T disk with single slice. > > I've divided disk to 4 slices. > ada0s1a [9.x bsd here] > ada0s1b [swap] > ada0s1d [want 11.x bsd here] > ada0s1e [data partition] > > Installation goes fine and things boot fine. > > > However, everytime I boot, default boot happens from 0:ad(1,a)/boot/loader. > How can this default be changed so that default boot happens from ):ad(1,d). If you try echo "0:ad(1,d)/boot/loader" > /boot.config Is it ignored? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859