A friend and myself figured out how to go about the dd line.
the command is dd < initrd > /dev/ram5 bs=1k count=4000
or something like that.  We found that the dd command with trinux does not
support the if and of options but only the < and > redirectors.  Hope this
helps.
----- Original Message -----
From: Jordi Haarman <[EMAIL PROTECTED]>
To: Trinux <[EMAIL PROTECTED]>
Sent: Wednesday, November 24, 1999 2:08 PM
Subject: dd not working


> Ok somebody gave me the way I should edit the initrd.gz:
>
> First boot Trinux. Don't load any data disk or package.
> dd if=/dev/zero of=/dev/ram5 bs=1k count=4096
> mount /dev/fd0 /mnt         Use "mount /dev/hda1 /mnt" in TrinuxHD.
> cp /mnt/initrd.gz /usr      Use "cp /mnt/trinux/initrd.gz /usr" in
TrinuxHD.
> gzip -d /usr/initrd.gz
> dd if=/usr/initrd of=/dev/ram5 bs=1k
>       IMPORTANT: Write down now the number of blocks copied!
> rm /usr/initrd.gz
> mkdir /usr/init
> mount /dev/ram5 /usr/init
>       Now you have the original initrd filesystem in /usr/init.
>       Make changes to linuxrc or whatever. Below two lines are examples.
> vi /usr/init/linuxrc
> echo "modules parameters" > /usr/init/etc/conf.modules
>       Change finished. Now complete operation.
> umount /usr/init
> dd if=/dev/ram5 of=/usr/initrd bs=1k
> count=Put_here_number_of_blocks_written_down_before
> gzip -9 /usr/initrd
> cp /usr/initrd.gz /mnt    Use "cp /usr/initrd.gz /mnt/trinux" in TrinuxHD.
> umount /mnt
>
> Problem is that I can't even run the first line:
> I just get an Usage overview which specifies only two option:
>
> bs=BYTES
> count=BLOCKS
>
> Can somebody tell me what I'm missing???
>
> Thanx again.
>
> Jordi Haarman
> mailto:[EMAIL PROTECTED]
>
> --------------------------------------------------------------------------
----------
> www.trinux.org hosted by The Vnode Connector Services
> www.vnode.com *** Special Discounts For Trinux Users
> *** Email [EMAIL PROTECTED]
> --------------------------------------------------------------------------
----------

------------------------------------------------------------------------------------
www.trinux.org hosted by The Vnode Connector Services
www.vnode.com *** Special Discounts For Trinux Users
*** Email [EMAIL PROTECTED]
------------------------------------------------------------------------------------

Reply via email to