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

[no subject]



echo " Unziping initrd.img  "
gunzip -c isolinux/initrd.img >/tmp/initrd.img

echo " Mounting /tmp/initrd.img as /mnt/loop "
sudo mount -o loop /tmp/initrd.img /mnt/loop

echo " Copying ks.cfg to /mnt/loop/ks/ks.cfg "
cp -f ks.cfg /mnt/loop/ks/ks.cfg 

echo " Unmounting /mnt/loop  "
sudo umount /mnt/loop

echo " Gziping /tmp/initrd.img >isolinux/initrd.img  "
gzip -c9v /tmp/initrd.img >isolinux/initrd.img 

echo " Removing /tmp/initrd.img "
rm -f /tmp/initrd.img

echo " Making ISO image build_base.iso  "
mkisofs -b isolinux/isolinux.bin \
	-c isolinux/boot.cat \
	-no-emul-boot -boot-load-size 4 -boot-info-table \
	-V 'LDAP & MySQL' \
	-o ../ISOs/build_base.iso .


echo " Make sure that there is a blank CD in drive then press enter "
read x

cd ..

cdrecord -v speed=16 -eject -blank=fast  dev=/dev/hdd
driveropts=burnfree ISOs/build_base.iso 

echo " Finished  "


Randal


On Sun, 2005-05-01 at 18:26 -0400, Christopher Bergeron wrote:
> I thought this was a straightforward task, but I'm having trouble 
> mounting an initrd.img file.  When I try:
> 
> mount -o loop initrd.img directory_to_mount_to
> 
> I'm getting a "must specify filesystem" error.  Does anyone have any 
> idea on what I'm doing wrong?  Can I not mount this initrd.img file or 
> am I in fact, not specifying the correct filesystem?  I've tried -t 
> ext2  and -t ext3 (and -t tmpfs and -t cramfs), but to no adeu.
> 
> Does anyone have any ideas?
> 
> Thanks in advance,
> CB
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
-- 

Randal Jarrett  &lt;rsj at logix.net&gt;
RSJ Consulting, Inc
Lawrenceville, GA
(770) 822-1096


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00029" href="msg00029.html">[ale] how to mount an initrd file?</a></strong>
<ul><li><em>From:</em> christopher at bergeron.com (Christopher Bergeron)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00007" href="msg00007.html">[ale] how to mount an initrd file?</a></strong>
<ul><li><em>From:</em> christopher at bergeron.com (Christopher Bergeron)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00027.html">[ale] ATA RAID</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00029.html">[ale] how to mount an initrd file?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00015.html">[ale] how to mount an initrd file?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00029.html">[ale] how to mount an initrd file?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00028"><strong>Date</strong></a></li>
<li><a href="threads.html#00028"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>