From owner-freebsd-questions@FreeBSD.ORG Sun May 22 06:37:17 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9533716A440 for ; Sun, 22 May 2005 06:37:17 +0000 (GMT) (envelope-from andy_lists@bananabread.net) Received: from smtp815.mail.sc5.yahoo.com (smtp815.mail.sc5.yahoo.com [66.163.170.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 7126743D54 for ; Sun, 22 May 2005 06:37:17 +0000 (GMT) (envelope-from andy_lists@bananabread.net) Received: from unknown (HELO ?192.168.123.105?) (andrewbn@pacbell.net@63.207.14.110 with plain) by smtp815.mail.sc5.yahoo.com with SMTP; 22 May 2005 06:37:17 -0000 Message-ID: <4290289C.7010005@bananabread.net> Date: Sat, 21 May 2005 23:37:16 -0700 From: "Andrew C. Brown" User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Getting "can't load kernel" on a fresh install (5.4R) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 06:37:17 -0000 I've been doing a fresh install, new file systems, slices, partitions and so on, of 5.4 Release. May layout is like this: hd0: My original FBSD install v5.0. It boots fine. 10GB drive hd1: Haven't dealt with this one yet. Nothing on it. But empty slices. 300GB hd2: My new target (hd2,0,d) mount to /boot 64MB (hd2,1,a) mount to / (hd2,1,b) swap (hd2,1,d) /var (hd2,1,e) /tmp (hd2,1,f) /usr around 180GB Since I'm not installing on my first drive, I initially had a little trouble getting GRUB to find hd2. I set these new disk partions to be UFS2+S and it couldn't read them. So I got GRUB 0.95 which supposedly does read UFS2 and it hasn't complained about the format since. Since I was getting "can't load kernel", I have just been going straight to the GRUB shell so I could step through it. What's particularly confusing me is, I issue grub> root (hd2,0,d) response is>Filesystem is type UFS2, partition type 0xa5 which looks happy to me So I issue grub> kernel /loader { not preceeded with /boot/ since this whole partition hd2,0,d is going to be mounted at /boot } response> [FreeBSD-a.out, loadaddr=0x200000, text=0x1000, data=0x32000, bss=0x0. entry=0x200000] To the extent of my knowledge, this also looks 'healthy'. But when I issue grub> boot I get BTX loader 1.00 BTX version is 1.01 Console: internal video/keyboard BIOS drive C: is disk0 BIOS drive D: is disk1 BIOS drive E: is disk2 BIOS 639kb/261056kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 root@{something}.buffalo.edu Sun May 8 (some time) 2005 \ can't load 'kernel' type ? for list of commands, help for detailed help OK --------- Other details: disk 1 & 2 are on separate channels of a PCI UDMA133 controller by Maxtor (Promise Tech). System BIOS is not picking up disk1 consistently but that hasn't impacted my boot results. disk 2 has no trouble being mounted as long as I boot off some other drive. If I'd compiled my own kernel I would suspect that, but this is a clean install. So does anyone have a sense for where I should be placing my focus in order to solve this? It just seems like it's gotta be something simple. I've done enough head-banging on the table. Andrew