From owner-freebsd-questions@FreeBSD.ORG Sat Jun 21 11:58:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBF4E37B404 for ; Sat, 21 Jun 2003 11:58:53 -0700 (PDT) Received: from yoda.warpnet.ro (yoda.warpnet.ro [217.156.25.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B513543F93 for ; Sat, 21 Jun 2003 11:58:51 -0700 (PDT) (envelope-from ady@freebsd.ady.ro) Received: from yoda.warpnet.ro (localhost [127.0.0.1]) by yoda.warpnet.ro (8.12.6p2/8.12.6) with ESMTP id h5LIwnr7069470; Sat, 21 Jun 2003 21:58:49 +0300 (EEST) (envelope-from ady@freebsd.ady.ro) Received: from localhost (ady@localhost)h5LIwm4V069467; Sat, 21 Jun 2003 21:58:48 +0300 (EEST) (envelope-from ady@freebsd.ady.ro) X-Authentication-Warning: yoda.warpnet.ro: ady owned process doing -bs Date: Sat, 21 Jun 2003 21:58:48 +0300 (EEST) From: Adrian Penisoara X-X-Sender: ady@yoda.warpnet.ro To: ROFUG list In-Reply-To: <20030621173954.GF25333@beep.cluj.astral.ro> Message-ID: <20030621215138.U68948@yoda.warpnet.ro> References: <3EF3FDFB.14131.5EB48@localhost> <3EF46170.8550.BB609@localhost> <20030621173954.GF25333@beep.cluj.astral.ro> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-RAVMilter-Version: 8.4.2(snapshot 20021212) (yoda.warpnet.ro) cc: freebsd-questions@FreeBSD.ORG Subject: Re: [rofug] Re: (Fwd) mountroot> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2003 18:58:54 -0000 Hi, Please use english. Try inserting the following in /boot/loader.conf: root_disk_unit=1 From loader(8): root_disk_unit If the code which detects the disk unit number for the root disk is confused, eg. by a mix of SCSI and IDE disks, or IDE disks with gaps in the sequence (eg. no primary slave), the unit number can be forced by setting this variable. Alternatively you can try creating a file "boot.config" in the root filesystem containting: 2:da(1,a)/kernel See boot(8). Ady (@freebsd.ady.ro) On Sat, 21 Jun 2003, Camelia Nastase wrote: > > > 1. pe mine personal ma enerveaza cross-posting'ul. > 2. ai incercat cu boot -c, unload, boot-conf ? sau un ls dupa unload, sau > lsdev sa vezi ce posibilitati ai? > > > > > > > > Hello BSD-lovers, > > > > i'm stuck on a tricky situation: > > > > > > > > i got FreeBSD 4.8-STABLE running smoothly on a SCSI disk, > > > > but i had to move the HDD on a multi-OS system, so i am > > > > heading this problem: > > > > > > > > there are 3 disks > > > > - ad0: IDE WDC-drive with a MSwinOS > > > > - da0: SCSI IBM-drive with Debian Linux > > > > - da1: SCSI IBM FreeBSD disk > > > > > > > > ad0 is the primary disk with lilo in the MBR > > > > > > > > lilo.conf uses > > > > > > > > boot=/dev/hda > > > > ... > > > > /dev/sda1 to boot the debianOS > > > > /dev/sdb1 to boot FreeBSD > > > > > > > > well, this is working fine for winOS and linux but FreeBSD > > > > returns this error lines: > > > > > > > > Root mount failed: 22 > > > > Mounting root from ufs:/dev/da2s1a > > > > Root mount failed: 22 > > > > Mounting root from ufs:/dev/da2a > > > > Root mount failed: 22 > > > > > > > > Manual root filesystem specification: > > > > mountroot> > > > > > > > > > > > > i've tried all kind of combos like ufs:/dev/da1s1a but nothing worked out. > > > > what i still can't understand is why it's trying to mount /dev/da2 instead of /dev/da1 > > > > > > __________________________________________________________ > > Send 'unsubscribe rofug' to listar@rofug.ro to unsubscribe > -- > Camelia Nastase > Network Administrator Motto: "All you have to do > Departamentul Internet is want it bad enough" > ASTRAL TELECOM SA, Sucursala Cluj > > > __________________________________________________________ > Send 'unsubscribe rofug' to listar@rofug.ro to unsubscribe >