.img files and .iso files and bootable USB sticks...
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
.img files and .iso files and bootable USB sticks...
Hi all,
Firstly, is an .img 'raw image' file the same as an .iso 'disk image' file? I mean, exactly the same format but for the different file extensions? Some googling I've done would seem to indicate so, but I've not found anything definitive and more often than not, the combination of "raw" and "image" entered into a search engine just throws up a lot of stuff about digital photography.
Secondly, in the belief that the two file types are identical, I've tried making a USB rescue stick by copying an .iso image file over to it using programs like All Image and Self Image, but the resulting stick isn't bootable and Linux just sees it as a CD rom device, placing a CD icon on the desktop. What am I doing wrong??
There is a very useful site that explains just about every known extension. Here it is pointing at the .img extension You can then type in .iso and you'll see the difference. http://filext.com/file-extension/IMG
Google is your friend.
cheers
jdk
You cannot take a dvd.iso and just burn it to a usb stick and expect it to work. Just like you cannot put the DVD.iso on a HD or FD and just boot to it. Each type of media has a different area that they look at for boot information. If you look on the wiki of most distros they now have instructions on how to make a bootable usb/flash stick.
You cannot take a dvd.iso and just burn it to a usb stick and expect it to work. Just like you cannot put the DVD.iso on a HD or FD and just boot to it. Each type of media has a different area that they look at for boot information. If you look on the wiki of most distros they now have instructions on how to make a bootable usb/flash stick.
That's exactly the info I was hoping for and expecting to make sense out of this, thanks!
CC.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
you would need 'syslinux' to do this, depending on your distribution you are using to create your bootable thumbdrive it might already be installed
a good start would be to take a knopix iso
mount it with mount -o loop knoppix.iso /mnt/knoppix (first create the directory /mnt/knoppix)
then mount your thumbdrive to say /mnt/thumbdrive
copy the contents of the knoppix iso to the thumbdrive (cp -rv /mnt/knoppix /mnt/thumbdrive)
rename the isolinux.cfg file to syslinux.iso
unmount the thumberive
as root (using su or sudo) run syslinux /dev/sda (where /dev/sda is the device node for your thumbdrive
also make sure to fdisk (again as root) your thumbdrive and set the partition to bootable
reboot your computer and make sure you tell it to boot from the thumbdrive and see if it works
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.