From owner-freebsd-questions Fri Jan 10 9: 8:59 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 9FD0137B401 for ; Fri, 10 Jan 2003 09:08:55 -0800 (PST) Received: from scuff.cc.utexas.edu (scuff.cc.utexas.edu [128.83.135.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC63E43F1E for ; Fri, 10 Jan 2003 09:08:54 -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 h0AH8sR09339 for ; Fri, 10 Jan 2003 11:08:54 -0600 Message-Id: <5.1.0.14.2.20030110110450.02e7f360@scuff.cc.utexas.edu> X-Sender: osilva@scuff.cc.utexas.edu X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 10 Jan 2003 11:08:54 -0600 To: questions@freebsd.org From: Oscar Ricardo Silva Subject: Re: Mount root fails after clean install of FreeBSD 4.7 In-Reply-To: <5.1.0.14.2.20030109113500.023a2118@scuff.cc.utexas.edu> 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 wonder if I scared anybody off with all the detail. The short of it is that I have a Seagate 80GB drive on a motherboard, the drive on the 3rd of four IDE controllers (3rd and 4th are Promise ATA66). The install goes fine but after reboot, I get the boot2 prompt, which if I interrupt with the correct entry instead of the default: >>FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: the boot continues properly. If I don't interrupt it, I get the "Manual root filesystem specification" screen and am given the mountroot prompt. If I give the correct entry of ufs:/dev/ad4s1a everything goes well, otherwise the boot procedure is stopped. Is there a way to change the default boot2 so that it boots off of ad4 instead of ad0? At 11:45 AM 1/9/2003 -0600, Oscar Ricardo Silva, you wrote: >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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message