From owner-freebsd-questions Sun Jan 21 8:34:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from perkunas1.omnitel.net (perkunas1.omnitel.net [194.176.32.132]) by hub.freebsd.org (Postfix) with ESMTP id 3DC5F37B402 for ; Sun, 21 Jan 2001 08:33:32 -0800 (PST) Received: from post.omnitel.net (salc0-s5.ot.lt [194.176.53.21]) by perkunas1.omnitel.net (8.9.3/8.9.3) with ESMTP id SAA08321 for ; Sun, 21 Jan 2001 18:33:14 +0200 Message-ID: <3A6B1D61.CCA5CE8@post.omnitel.net> Date: Sun, 21 Jan 2001 18:33:21 +0100 From: Ed Organization: None X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: PLEASE HELP !!!(FLOPPY DEVICE) LAST HOPE !!!!! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello people, I want to write my own OS(tiny) :-) and I have witten a boot loader on assebler, but I can't to do an image to disk ! I wrote about it many times, but I still haven't correct answer ! Can anybody help me? I am typing: "cat fname > /dev/fd0" or any other device "/dev/rfd0" I tryed them all !!! I am getting: "cat: stdout: Invalid argument" ! I tryed: "dd if=fname of=/dev/fd0" (with all floppy device files) I got: "dd: /dev/fd0: Invalid argument" ! What it's going ON !!! I can't work with my comp normally !!! I tryed to remake floppy device: "cd dev; sh ./MAKEDEV fd 0" and "cd /dev; sh ./MAKEDEV fd*"... etc. I got: "bad unit for disk in: fd" ! don't know what I have to do now !? Please don't write answers like: "check your disk" or "your floppy device is bad"(I can mount it, read-write files) or "floppy must be unmounted" -- I am not dumb, in this case(with my FreeBSD) I need a professional answer. Many thanks for reading - Ed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message