LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-22-2006, 12:04 AM   #1
dojiep
LQ Newbie
 
Registered: May 2006
Location: Valenzuela, Philippines
Distribution: Redhat
Posts: 8

Rep: Reputation: 0
how to extract .img file to create a "DUD" on a floppy diskette


Hi!

I need your help!

I just wanna know how to extract .img file to my floppy using any Redhat distros.

Thanks in advance!

Dojie
 
Old 05-22-2006, 12:32 AM   #2
nitinatindore
Member
 
Registered: Dec 2004
Location: India
Distribution: Mandrake, Mandriva, PclinuxOS
Posts: 114

Rep: Reputation: 15
dd if=whateevr.img of=/dev/fd0 bs=512
 
Old 05-22-2006, 01:28 AM   #3
dojiep
LQ Newbie
 
Registered: May 2006
Location: Valenzuela, Philippines
Distribution: Redhat
Posts: 8

Original Poster
Rep: Reputation: 0
Actually the .img file is the driver for Intel RAID Controller. I need that to transfer to a floppy disk so that i can load and install the RHEL 3. But my problem is, the file is larger than the floppy disk. How can i transfer it to a diskette?
 
Old 05-22-2006, 10:15 PM   #4
dojiep
LQ Newbie
 
Registered: May 2006
Location: Valenzuela, Philippines
Distribution: Redhat
Posts: 8

Original Poster
Rep: Reputation: 0
Good day!

just to elaborate my problem...

the contents of the image file includes Redhat AS 2.1, RHEL 3, and RHEL 4. That specific file has the capacity of 1,474KB which is larger than the capacity of a diskette. I just want only driver for RHEL 3. How can i extract the said file to get only driver for RHEL 3 so that it can be copied to a diskette.

Thanks!

Dojie
 
Old 05-23-2006, 09:31 AM   #5
nitinatindore
Member
 
Registered: Dec 2004
Location: India
Distribution: Mandrake, Mandriva, PclinuxOS
Posts: 114

Rep: Reputation: 15
A normal floppy can easily hold data upto approx 1.728 MB, for e.g. take tomsrtbt floppy. None the less if you want to view that particular file and copy selective contents, you can try the following.

mount imagefile.img /mnt/whatevr_mount_point -o ro,loop
then you can see image contents in the directory /mnt/whatevr_mount_point. Copy whatever you like, as you do from a normal directory.

If mount complains try out:
#mount imagefile.img /mnt/whatevr_mount_point -o ro,loop=/dev/loop0
OR
#mount -t filesystemtype imagefile.img /mnt/whatevr_mount_point -o ro,loop=/dev/loop0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to extract a "tar.bz2" file? deWin Linux - Newbie 14 08-09-2016 09:49 AM
Where can I find "boot.img" to copy to my diskette? zahrul Linux - Newbie 9 01-02-2010 05:10 AM
Unable to extract "tar.gz" file - please try for me Riddick Linux - Software 6 08-27-2005 05:57 PM
"how do I extract a number from a text file using shell command?" sdandeker Linux - Networking 3 02-12-2004 09:54 AM
How to extract (unpack) file in "A" driver matin Linux - Newbie 1 03-01-2002 07:59 AM


All times are GMT -5. The time now is 04:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration