From owner-freebsd-questions Thu May 10 16:44:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cmailg7.svr.pol.co.uk (cmailg7.svr.pol.co.uk [195.92.195.177]) by hub.freebsd.org (Postfix) with ESMTP id 07CB637B423 for ; Thu, 10 May 2001 16:44:47 -0700 (PDT) (envelope-from mark@dvdnews.co.uk) Received: from [195.92.67.23] (helo=mail18.svr.pol.co.uk) by cmailg7.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 14y06v-000533-00 for freebsd-questions@freebsd.org; Fri, 11 May 2001 00:44:45 +0100 Received: from modem-1.fu-manchu-lion-fish.dialup.pol.co.uk ([62.136.215.1] helo=mark2) by mail18.svr.pol.co.uk with smtp (Exim 3.13 #0) id 14y06t-0006Ki-00 for freebsd-questions@FreeBSD.ORG; Fri, 11 May 2001 00:44:44 +0100 Message-ID: <02f101c0d9ab$2bbaa0a0$0400a8c0@mark2> From: "Mark Hughes" To: Subject: Quick question - editing etc/rc before initial re-boot. Date: Fri, 11 May 2001 00:44:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Still having problems installing FreeBSD (see earlier message "Panic on install..."). I've managed to get it as far as completing the install, but on initial boot I get read command timeout errors then a cycle of reseting the drives and write timeouts over and over again. Anyway, I'm sure I could get it working if I could include the line /sbin/sysctl -w hw.atamodes="pio,dma" in the /etc/rc.local or whichever conf file it is, to keep the hard disc in pio rather than DMA mode, as it's when it tries to move up to DMA that all the errors come along. So, is there any way to edit the rc.local file before the first boot? after booting and the errors, it becomes unbootable, so I can't get on to change it, and I don't have another machine around to plug it into to edit the file from, apart from this laptop but that doesn't have an IDE port knocking around. Thanks in advance, Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message