From owner-freebsd-questions Thu Jan 9 9:48:20 2003 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 7EBDF37B401 for ; Thu, 9 Jan 2003 09:48:17 -0800 (PST) Received: from scuff.cc.utexas.edu (scuff.cc.utexas.edu [128.83.135.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 010BF43F1E for ; Thu, 9 Jan 2003 09:48:17 -0800 (PST) (envelope-from osilva@scuff.cc.utexas.edu) Received: from chepe.mail.utexas.edu (chepe.cc.utexas.edu [128.83.135.25]) by scuff.cc.utexas.edu (8.11.6/8.11.2) with ESMTP id h09HmFR24329 for ; Thu, 9 Jan 2003 11:48:15 -0600 Message-Id: <5.1.0.14.2.20030109113500.023a2118@scuff.cc.utexas.edu> X-Sender: osilva@scuff.cc.utexas.edu X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 09 Jan 2003 11:45:38 -0600 To: questions@freebsd.org From: Oscar Ricardo Silva Subject: Mount root fails after clean install of FreeBSD 4.7 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a motherboard with two onboard Promise ATA66 controllers. The hard drive is a Seagate ST380021A, connected as the master on the first Promise controller, referenced as ad4. I have attempted to do a clean install, creating one FreeBSD slice on the entire disk. I set the slice bootable and I install a Standard MBR on it. After this I do a full install of 4.7, do the post-install configuration, but when the machine reboots I get prompted to mount the root. For some reason, the machine is attempting to mount the root from ad0s1a instead of ad4s1a. At the mountroot prompt I do enter: mountroot> ufs:/dev/ad4s1a and the machine continues booting without problem. Here is the dmesg output: atapci1: port 0xe800-0xe83f,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd807 mem 0xe0000000-0xe001ffff irq 9 at device 14.0 on pci0 ata2: at 0xd800 on atapci1 ata3: at 0xe000 on atapci1 ... lpt0: Interrupt-driven port ppi0: on ppbus0 ad4: 76319MB [155061/16/63] at ata2-master UDMA66 acd0: CDROM at ata1-master PIO4 Mounting root from ufs:ad0s1a Root mount failed: 6 Mounting root from ufs:ad0a Root mount failed: 6 Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0s1a ? List valid disk boot devices Abort manual input mountroot> ufs:/dev/ad4s1a Mounting root from ufs:/dev/ad4s1a There is only the Seagate hard drive in the computer, no others. I don't know why it's looking for anything on ad0. There are the correct devices listed in /dev : /dev/ad4 /dev/ad4s1 /dev/ad4s1a /dev/ad4s1b /dev/ad4s1c /dev/ad4s1d /dev/ad4s1e /dev/ad4s1f /dev/ad4s1g /dev/ad4s1h and /etc/fstab references all the right devices: # See the fstab(5) manual page for important information on automatic mounts # of network filesystems before modifying this file. # # Device Mountpoint FStype Options Dump Pass# /dev/ad4s1b none swap sw 0 0 /dev/ad4s1a / ufs rw 1 1 /dev/ad4s1e /boot ufs rw 2 2 /dev/ad4s1h /home ufs rw 2 2 /dev/ad4s1g /tmp ufs rw 2 2 /dev/ad4s1d /usr ufs rw 2 2 /dev/ad4s1f /var ufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0 In case it helps, here is how I labeled and sized the filesystems (listed in order of creation during the install): /boot 50M / 1500M swap 1024M /var 5000M /tmp 1000M /home 5000M /usr 60000M Any information would be appreciated. Oscar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message