Re: [rofug] Re: (Fwd) mountroot>

From: Adrian Penisoara (ady_at_freebsd.ady.ro)
Date: 06/21/03

  • Next message: Kent Stewart: "Re: /entropy"
    Date: Sat, 21 Jun 2003 21:58:48 +0300 (EEST)
    To: ROFUG list <rofug@rofug.ro>
    
    

    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
    >
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Kent Stewart: "Re: /entropy"