delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/23/14:43:21

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Jeremy Greiner" <jeremy AT win1 DOT net>
To: <cygwin AT cygwin DOT com>
Subject: more on /dev/fd0
Date: Fri, 23 Mar 2001 13:32:13 -0600
Message-ID: <NIEBKANEJPCFCMBAFHOCGEMACAAA.jeremy@win1.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Importance: Normal

I tried to go to the floppy
/cygdrive/e/jos/GRUB> cd /cygdrive/a
bash: cd: /cygdrive/a: Permission denied

I tried mounting the floppy
/dev> mount A: /dev/fd0
mount: /dev/fd0: Device or resource busy

then I tried changing /dev/fd0 to /cygdrive/a
/cygdrive/e/jos/GRUB> ./mkboot

***************************************
*     JOS/GRUB Boot Disk Creator      *
***************************************

WARNING! You shoud run this program as ROOT
Insert a blank disk and hit ENTER read: arg count
dd: /cygdrive/a: Permission denied
dd: /cygdrive/a: Permission denied
Boot disk creation completed

the command in the script that I am trying to run is:
dd if=stage1 of=/cygdrive/a bs=512 count=1
dd if=stage2 of=/cygdrive/a bs=512 seek=1

my main question is why is permission denied? and what can I do to get this
command to work? I am sorry if I am repeating questions I tried searching
the mailing list and couldn't find anything on this particular problem.
-jeremy



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019