using dd to dump an image file to a floppy

2007-04-16 Thread John
Everyone,

 

I'm trying to make boot and kern floppies, using dd, as follows:

 

Cdrom is mounted, floppy is mounted (and I have test written to it)

I have the 6.2 disk 1 in the cdrom drive (the floppies directory contains
the disk images I'd like to write)

 

I'm in the /cdrom directory

When I try to disk image the boot.flp file, here's what happens:

 

# dd if=floppies/boot.flp of=/dev/fd0

dd: /dev/fd0: Operation not permitted

 

I keep getting the operation not permitted message.

 

As I said before, I CAN write to the fd0 (floppy drive), and I am logged in
as root.

 

Anyone know what I'm doing wrong?

 

Thanks,

 

John

 

So here's to the role of time, patience, and reflection in our lives.  If we
believe it is better to build than to destroy, better to live and let live,
better to be than to be seen, then we might have a chance, slowly, to find a
satisfying way through life, this flicker of consciousness between two great
silences.

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using dd to dump an image file to a floppy

2007-04-16 Thread Kevin Kinsey

John wrote:

Everyone,

I'm trying to make boot and kern floppies, using dd, as follows:

Cdrom is mounted, floppy is mounted (and I have test written to it)
 

# dd if=floppies/boot.flp of=/dev/fd0

dd: /dev/fd0: Operation not permitted


dd works on raw devices, and can't operate on a
raw device if a filesystem is mounted.  umount fd0
and try again

Kevin Kinsey
--
Satellite Safety Tip #14:
If you see a bright streak in the sky coming at you, duck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using dd to dump an image file to a floppy

2007-04-16 Thread Yuri Grebenkin
On Mon, 16 Apr 2007 14:24:14 -0400
John [EMAIL PROTECTED] wrote:

 Everyone,

 I'm trying to make boot and kern floppies, using dd, as follows:
 Cdrom is mounted, floppy is mounted (and I have test written to it)
 I have the 6.2 disk 1 in the cdrom drive (the floppies directory contains
 the disk images I'd like to write)
 I'm in the /cdrom directory
 When I try to disk image the boot.flp file, here's what happens:

 # dd if=floppies/boot.flp of=/dev/fd0
 dd: /dev/fd0: Operation not permitted

 I keep getting the operation not permitted message.
 As I said before, I CAN write to the fd0 (floppy drive), and I am logged in
 as root.
 Anyone know what I'm doing wrong?
 

Maybe you just unmount your floppy before doing dd if=floppies/boot.flp 
of=/dev/fd0.
It's blocked.

  
 
 Thanks,
 John
 
 So here's to the role of time, patience, and reflection in our lives.  If we
 believe it is better to build than to destroy, better to live and let live,
 better to be than to be seen, then we might have a chance, slowly, to find a
 satisfying way through life, this flicker of consciousness between two great
 silences.
 
  
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]