Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

create dd image without floppy?

0 views
Skip to first unread message

NCS

unread,
Dec 30, 1999, 3:00:00 AM12/30/99
to
I have a scoworld script that creates root/boot images to /tmp that I
have frigged with to run without any user input. The images are created
fine and I then ftp them to a NT box. I can use a win32 dd program to
create the boot disk in times of trouble but I can't do this with the
root fs image. What I want to know is how do I create a 1.44MB dd image
if I have to go through the following to make a usable root fs disk.
Obviously I want to automate the process and a floppy would not be in
the drive. I guess the 'marry' command would come into play.

To create the root fs disk:

format /dev/rfd0135ds18
mkfs -f EAFS /dev/install
mount /dev/install /mnt
cp /tmp/central.root.Z /mnt/ramdisk.Z

Thanks in advance
Scott

Roberto Zini

unread,
Dec 30, 1999, 3:00:00 AM12/30/99
to

Hi Scott !

Not sure about your question (time to improve my English :-)
but you can manage to access the root floppy as follows
(from memory so it couldn't be 100% accurate) :

cd /tmp
mount -r /dev/fd0 /mnt
cp ramdisk.Z .
uncompress ramdisk.Z
umount /mnt
marry -a ramdisk
mount /dev/marry/tmp/ramdisk /mnt

You can now access the floppy contents by referring to
the /mnt directory.

Plase notice that the seventh command (the last mount)
could use a slightly different path (eg, /dev/marry/ramdisk);
please double check under the /dev/marry durectory just to
make sure.

Hope it helps !

Best,
Roberto
--
---------------------------------------------------------------------
Roberto Zini email : fr...@strhold.it
Technical Support Manager -- Strhold Sistemi EDP Reggio Emilia(ITALY)
---------------------------------------------------------------------
"Has anybody around here seen an aircraft carrier?"
(Pete "Maverick" Mitchell - Top Gun)

0 new messages