If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From - Thu Dec 30 16:08:45 1999 Xref: world comp.unix.sco.misc:112902 Path: world!newsfeed.mathworks.com!newsfeed.tli.de!bignews.mediaways.net!newsfeed.nettuno.it!drake.strhold.it!not-for-mail From: Roberto Zini <fred@strhold.it> Newsgroups: comp.unix.sco.misc Subject: Re: create dd image without floppy? Date: Thu, 30 Dec 1999 10:20:13 +0100 Organization: Strhold Sistemi Edp - Italy Lines: 54 Message-ID: <386B23CD.E242EFBF@strhold.it> References: <MPG.12d52277389b21d098969e@ingate> Reply-To: fred@strhold.it NNTP-Posting-Host: fred.strhold.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: drake.strhold.it 946545601 13889 192.106.230.3 (30 Dec 1999 09:20:01 GMT) X-Complaints-To: usenet@drake.strhold.it NNTP-Posting-Date: 30 Dec 1999 09:20:01 GMT X-Mailer: Mozilla 4.08 [en] (X11; I; UnixWare 5 i386) X-Mozilla-Status: 8010 X-Mozilla-Status2: 00000000 NCS wrote: > > 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 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 : fred@strhold.it
Technical Support Manager -- Strhold Sistemi EDP Reggio Emilia(ITALY)
---------------------------------------------------------------------
"Has anybody around here seen an aircraft carrier?"
(Pete "Maverick" Mitchell - Top Gun)
/Bofcusm/217.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar