From owner-freebsd-stable Thu Dec 20 3:22:45 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 0DF0D37B417 for ; Thu, 20 Dec 2001 03:22:41 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id DAA15389; Thu, 20 Dec 2001 03:22:33 -0800 Message-ID: <3C21C9F8.7030109@owt.com> Date: Thu, 20 Dec 2001 03:22:32 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Ceri Cc: Kaming , stable@FreeBSD.ORG Subject: Re: Promise ultra100 References: <1008828582.4164.13.camel@kaming.portal2.com> <20011220104937.GA1007@rhadamanth> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ceri wrote: > On Thu, Dec 20, 2001 at 02:09:42PM +0800, Kaming wrote: > >>Hi all, >> >>I am a newbie of freebsd and hope someone can help... I have installed >>the 4.4 freebsd on a PC with promise ultra100 PCI card. During the >>installation. FreeBSD default kernel can find out the the harddisk >>connected to the promise ultra100 PCI card. But... after the >>installation and reboot it. it show the following message in the screen: >> >>Invalid partition >> >>>>FreeBSD/i386 BOOT >>>> >>Default: 0:ad(0,a)/kernel >>boot: >> > > Oh dear, you're in for some fun. > What's probably happened here is that the disk that used to be on ad0 > is now ad4 (I imagine this is why disabling your onboard controller worked, > Scott). > > This is going to let you in for a whole world of pain, including not being > to remount partitions because the devices don't exist, and not being able to > create the devices because you can't remount the partitions read-write. > See http://marc.theaimsgroup.com/?t=100708823700004&r=1&w=2 for more details. > > It's certainly fixable, but you have mentioned that you are a newbie, so I > think you're just about to start heading up a rather learning curve. > > To make life easier all round, I'd suggest making a backup of all of your > important data, then try putting the drives back as they were, booting > into FreeBSD and running this command as root : > > cd /dev && sh MAKEDEV ad4* ad4s1* ad4s2* ad4s3* ad4s4* > > Don't worry too much if you get some errors, as you may not have all of the > relevant slices and partitions. Then edit /etc/fstab and change all > occurences of /dev/ad0 to /dev/ad4. > Then put the drive back onto the promise controller and you should be ok. One other thing to consider and that is commenting out the "ATA_STATIC_ID" option. Then the drives are all number consequtively and you would have to have 5 drives before ad4 pops up. Kent > > If you're making backups, it might just be easier to reinstall FreeBSD. > > As for your Linux question, I don't have a clue. > > Ceri > > -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://users.owt.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message