home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8021 < prev    next >
Encoding:
Text File  |  1992-08-12  |  2.0 KB  |  49 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!boulder!kinglear!drew
  3. From: drew@kinglear.cs.colorado.edu (Drew Eckhardt)
  4. Subject: Re: Can I use dd on my UNIX system instead of Rawrite?
  5. Message-ID: <1992Aug12.175526.18803@colorado.edu>
  6. Sender: news@colorado.edu (The Daily Planet)
  7. Nntp-Posting-Host: kinglear.cs.colorado.edu
  8. Organization: University of Colorado at Boulder
  9. References: <1992Aug11.192753.8568@dg-rtp.dg.com> <1992Aug12.043754.21260@ennews.eas.asu.edu> <1992Aug12.053539.14825@mnemosyne.cs.du.edu>
  10. Date: Wed, 12 Aug 1992 17:55:26 GMT
  11. Lines: 36
  12.  
  13. In article <1992Aug12.053539.14825@mnemosyne.cs.du.edu> smace@nyx.cs.du.edu (Scott Mace) writes:
  14. >In article <1992Aug12.043754.21260@ennews.eas.asu.edu> mcguirk@enuxhb.eas.asu.edu (Dan McGuirk) writes:
  15. >>In article <1992Aug11.192753.8568@dg-rtp.dg.com> welshm@groupw.rtp.dg.com (Matt Welsh) writes:
  16. >>>I've been thinking. Instead of using rawrite on DOS to put the binary
  17. >>>Linux images onto diskettes, couldn't one just copy the images to the
  18. >>>raw floppy device on their UNIX system such as:
  19. >>>
  20. >>>  cp boot-US.1 /dev/pdsk/1
  21. >>
  22. >>Well, I'm not sure what you meant by /dev/pdsk/1, but something like
  23. >>    cp /etc/Image /dev/fd0
  24. >>will definitely work (replace /etc/Image with any filename, and
  25. >>/dev/fd0 with any floppy drive).
  26. >>
  27. >>>Or use dd(1)? I'm pretty sure this would accomplish the same thing as 
  28. >>>rawrite under DOS. Has someone tried this?
  29. >>
  30. >>dd will work too, but cp is easier...
  31. >>
  32. >don't forget you need to do dd bs=8192 if=Image of=/dev/PS0
  33. >
  34. >bs = bootsector and you need this for the kernel boot disk in order for
  35. >it to work.  I don't no what will happen if you don't use the 'bs'
  36. >option.
  37.  
  38. Wrong.  bs=block size.
  39.  
  40. This is how much dd will read before writing it - 8K will be faster than 
  41. the smaller 512 byte or 1K default.  
  42.  
  43. It will work fine if you leave off BS.
  44.  
  45. -- 
  46. Microsoft is responsible for propogating the evils it calls DOS and Windows, 
  47. IBM for AIX (appropriately called Aches by those having to administer it), but neither is as bad as AT&T.  Boycott AT&T, and let them know how you feel. 
  48.  
  49.