From owner-freebsd-questions Fri Feb 9 1:15:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f101.law9.hotmail.com [64.4.9.101]) by hub.freebsd.org (Postfix) with ESMTP id 347FB37B684 for ; Fri, 9 Feb 2001 01:15:32 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 9 Feb 2001 01:15:32 -0800 Received: from 209.246.84.161 by lw9fd.law9.hotmail.msn.com with HTTP; Fri, 09 Feb 2001 09:15:31 GMT X-Originating-IP: [209.246.84.161] From: "gerald stoller" To: freebsd-questions@freebsd.org Subject: Resolving boot problems Date: Fri, 09 Feb 2001 04:15:31 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 09 Feb 2001 09:15:32.0078 (UTC) FILETIME=[DA3178E0:01C09278] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There must be some system calls to read and/or write a sector on hard-disk based on an LBA value. FreeBSD's file systems (I expect) resolve reads and writes to a sequence of reads and writes based on LBA values. What are these system calls (full argument lists desired)? I want to check on the boot code that the system sees as it boots up; running the partition editor will yield the LBA values of the boot1 pieces, and I expect the boot1 pieces to contain the LBA values of the boot2 pieces. All of this is because I am getting the messages "Invalid partition" and "No /boot/loader"; I believe the second one is directing me to the wrong place, and these messages (from the Handbook, section 5.2) come from boot0 & boot2 respectively. URLs to the source code and makefile's for all the boots ( 0 thru 2 ) and loader will be appreciated. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message