From owner-freebsd-questions Wed Oct 27 13: 1:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.bezeqint.net (mail-a.bezeqint.net [192.115.106.23]) by hub.freebsd.org (Postfix) with ESMTP id 21D7414BF7 for ; Wed, 27 Oct 1999 13:01:29 -0700 (PDT) (envelope-from sarig@bezeqint.net) Received: from default (pri-ra-1152.isdn.net.il) by mail.bezeqint.net (Sun Internet Mail Server sims.3.5.1999.07.30.00.05.p8) with SMTP id <0FKA00D0M29RXY@mail.bezeqint.net> for freebsd-questions@freebsd.org; Wed, 27 Oct 1999 22:01:04 +0200 (IST) Date: Wed, 27 Oct 1999 22:00:44 +0200 From: Oren Sarig Subject: Raw device writing? X-Sender: sarig@mail.bezeqint.net To: freebsd-questions@freebsd.org Message-id: <3.0.6.32.19991027220044.007b5c30@mail.bezeqint.net> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Content-type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am running a FreeBSD 3.3-RELEASE x86. I am currently writing an operating system, and would like to start using a partition to boot it instead of a floppy. I create an image, but if I do a `dd if=image of=/dev/wd0s2`, freebsd does a disc sync and reboots. When I try to boot from that partition, BootEasy says `Boot Error'. If I do a `dd if=image of=/dev/rwd0s2`, it only lets me write the first sector. If that wasn't enough (*grin*), whenever I boot, fbsd gives me errors about the slice size != partition size on /dev/wd0s2. If I go to the label editor, it doesn't even have a label for /dev/wd0s2. If I try to make one, fbsd crashes and reboots, and then the label wasn't changed. The partition is not a fbsd partition (it is type 0x1A), and wasn't even created with fbsd's fdisk. How do I get fbsd to ignore this partition altogether? And let me raw write to it? TIA. -- Oren Sarig sarig@bezeqint.net PS I have two HDs in case that matters. The first has partition 1 a dos partition, partition 2 my OS partition, and partition 3 another dos partition. Disk 2 is a dangerously-dedicated fbsd disk. /dev/wd0=3Gb, /dev/wd1=6Gb. The are both connected on the primary IDE channel, wd0 as master, wd1 as slave. Don't know if this matters, but it's here for your use :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message