Date: Wed, 27 Oct 1999 22:00:44 +0200 From: Oren Sarig <sarig@bezeqint.net> To: freebsd-questions@freebsd.org Subject: Raw device writing? Message-ID: <3.0.6.32.19991027220044.007b5c30@mail.bezeqint.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.19991027220044.007b5c30>