An .img to iso cd/dvd

Posted:
Nov 14th, '18, 15:47
by fossiili
I have a img-file NetBSD-8.0-i386-install.img which I want to make an iso-dvd. I could then use it to install NetBSD to an old pc. I have found here a lot of discussion but nothing how to dd-copy an image to dvd as iso-dvd.
How could I do that

Re: An .img to iso cd/dvd

Posted:
Nov 14th, '18, 18:47
by denisbr
Hi,
Have you tried unetbootin? It's the general go-to for writing ISO/etc. to USB
Re: An .img to iso cd/dvd

Posted:
Nov 15th, '18, 09:28
by Lebarhon
Hi,
Why don't you choose a Mageia image or why don't you ask to a BSD forum?
You have here the information you are looking for:
https://wiki.mageia.org/en/Installation_Media
Re: An .img to iso cd/dvd

Posted:
Nov 15th, '18, 15:17
by fossiili
denisbr wrote:Hi,
Have you tried unetbootin? It's the general go-to for writing ISO/etc. to USB
Unfortunately MCC told that
UNetbootin allows you to create bootable Live USB drives for a variety of Linux distributions from Windows or Linux, without requiring you to burn a CD.UNetbootin allows you to create bootable Live USB drives for a variety of Linux distributions from Windows or Linux, without requiring you to burn a CD.
But I need to burn a cd or dvd

Re: An .img to iso cd/dvd

Posted:
Nov 15th, '18, 15:47
by fossiili
1) I have an old computer IBM NetVista which I rescued from rubbishing, Linuxes like Lubuntu do not work well, neither did I succeed in installing Arch so why not trying NetBSD
2) I have a working Mageia here and it seems to have a living forum. And from the Unix forum I did not get the answer ww.unix.com/unix-for-beginners-questions-and-answers/280245-grandpa-returning-unix-2.html#post303025863
3) OK. By reading and working and doing that again and again from
https://wiki.mageia.org/en/Installation ... _USB_Media But if you could tell me that directly

Re: An .img to iso cd/dvd

Posted:
Nov 15th, '18, 23:05
by jkerr82508
ccd2iso is in the Mageia repo's (for i586 and x86_64). I have never used it, and so have no opinion on its efficacy.
http://madb.mageia.org/package/show/nam ... lication/0http://madb.mageia.org/package/show/nam ... rch/x86_64Jim
Re: An .img to iso cd/dvd

Posted:
Nov 16th, '18, 10:08
by Lebarhon
fossiili wrote:But if you could tell me that directly

As you have Mageia, you can use K3B to burn your image:
https://wiki.mageia.org/en/Writing_CD_and_DVD_imagesand isodumper to remove the files from a USB stick.
Re: An .img to iso cd/dvd

Posted:
Nov 16th, '18, 17:30
by JoesCat
For the original question, you would be interested in using dd to copy the image to cdrom, but you need to also know the device name for the cdrom.
to findout the cdrom device name, you can temporarily insert a cd into the drive (music, data, whatever), then:
open a command line and type:
df
in the list, you will probably see /dev/cd0 (for a cdrom drive) or /dev/sr0 (for a DVD drive) plus the name of whatever is in the drive.
remove the CD, and insert an empty CD ready to burn.
(substitute your drive for where I show /dev/cd0) in the command line type:
su
password
dd bs=100M if=/home/you/your_image.img of=/dev/cd0
If you want to know more about dd, there is either a man or info file which you can type:
man dd
info dd
use <CTRL>q to quit man or info mode
As mentioned, you can also use k3B to burn ISOs, just remember to add your user to the CDrom or DVD user list if you have problems making it work.
Last but not least, if it's an older computer, they generally work better with less resource hungry older ISOs, but if you also want internet access it may become an issue trying to use a browser. I would suggest trying puppy linux for these older machines as it runs pretty light. If you're trying netbsd, you could also give slackware a try.
Re: An .img to iso cd/dvd

Posted:
Nov 16th, '18, 17:47
by JoesCat
Looking at another post - IBM netvista
You may end up struggling for RAM. See if you can add as much RAM as you can (if you have it). Create a SWAP 2x RAM size, and use a low resource Xwindow.
You may need to go back to something like Mageia1, or further back like Mandrake10.
Recommendation again would be puppy linux, or distros that are similarly forked from puppy that use even less memory.