Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2003 21:58:48 +0300 (EEST)
From:      Adrian Penisoara <ady@freebsd.ady.ro>
To:        ROFUG list <rofug@rofug.ro>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: [rofug] Re: (Fwd) mountroot>
Message-ID:  <20030621215138.U68948@yoda.warpnet.ro>
In-Reply-To: <20030621173954.GF25333@beep.cluj.astral.ro>
References:  <3EF3FDFB.14131.5EB48@localhost> <3EF46170.8550.BB609@localhost> <20030621173954.GF25333@beep.cluj.astral.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>



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