[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re (2): remark from dd



From:	T o n g <mlist4suntong@yahoo.co.>
Date:	Wed, 30 Jun 2010 17:33:55 +0000 (UTC)
> dd reads in 41 blocks, and finds /dev/fd0 run of of space having written 
> 40 blocks.

Thanks everyone for the replies.  Still I miss something.  
I'm trying to make the NetBSD installer floppies for a 
Sparc 2, sun4c according to instructions here. 
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/sparc/INSTALL.html#Installing%20NetBSD%20by%20using%20the%20bootable%20floppies
The relevant section is quoted below.  These are the file sizes.

peter@dalton:~/Desktop$ ll d*
-rw-r--r-- 1 peter peter 1474560 Jun 30 08:17 disk1
-rw-r--r-- 1 peter peter 1530843 Jun 30 08:18 disk2

More specific questions.
1. Why is disk1 gzipped while disk2 is not?
2. How can disk2 of 1530843 bytes ever fit on a floppy of capacity 
  1.41 MiB (according to Wikipedia)?
3. Can the NetBSD commands be adapted to work in Debian?  How?

Thanks,              ... Peter E.

>From ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.2/sparc/INSTALL.html#Installing%20NetBSD%20by%20using%20the%20bootable%20floppies
"NetBSD and SunOS use the same commands. First, get two 1.44 MB floppy 
disks and format them either using the fdformat(8) command or a PC.

    # fdformat

Be sure that the `fdformat' command completes successfully before 
proceeding; on NetBSD success is a string of all `V 's', and on SunOS 
success is a string of `. 's'.

Next, transfer the two floppy images (installation/floppy/disk1.gz and 
installation/floppy/disk2) to the disks you just formatted. You can 
do this step from NetBSD, SunOS, or a Windows machine using 
rawrite.exe (available in the NetBSD/i386 distribution). Insert the 
first floppy and run the following commands:

    # gunzip disk1.gz
    # dd if=disk1 of=/dev/rfd0a bs=36k
    # eject floppy

Insert the second floppy and run the following commands:

    # dd if=disk2 of=/dev/rfd0a bs=36k
    # eject floppy
"

-- 
Carnot is down, waiting for installation of NetBSD.
Personal site works;  http://members.shaw.ca/peasthope/ .


Reply to: