LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Convert Livecd.iso to LiveDVD.iso (https://www.linuxquestions.org/questions/linux-newbie-8/convert-livecd-iso-to-livedvd-iso-789286/)

nimnull22 02-15-2010 01:18 PM

Convert Livecd.iso to LiveDVD.iso
 
Hi.

Question may be stupid, but I have LiveCD image to boot from, and I do not want to buy cd-rw or cd-r, I want to write it on DVD, but it looks like I have to convert structure CD to DVD, because I need to boot from it. K3B refuse to burn LiveCD to DVD disk.

So I need some help with it

Thanks.

paulsm4 02-15-2010 01:25 PM

Hi -

I'm actually kind of surprised that K3B doesn't "just work".

Assuming a) the problem is actually "CD .iso vs DVD media", and assuming b) that K3B really can't handle it (I honestly don't know for sure on either point), perhaps this might help as a workaround:

http://www.ccp14.ac.uk/ccp14admin/li...ges_to_dvdram/

reed9 02-15-2010 01:29 PM

There shouldn't be any trouble burning an iso file to either a DVD or CD. Is k3b giving an error message with this failure? You are selecting the correct options. Tools->Burn DVD iso to disc?
http://www.ghacks.net/2009/01/11/bur...ages-with-k3b/

nimnull22 02-15-2010 01:33 PM

I was trying to use growisofs - it works, but I was not able to boot from this dvd.
So I assumed that I have to change something in image because more likely it was made for CD media.

nimnull22 02-15-2010 01:41 PM

I probably need to extract all from LiveCD to /something and then create a new bootable LiveDVD.iso.

But it is just my thoughts, therefor I have asked for advice.

reed9 02-15-2010 01:45 PM

What was the command you used? As far as I know, should be something like
Code:

growisofs -dvd-compat -Z /dev/scd0=discimage.iso

nimnull22 02-15-2010 01:49 PM

Wait a second. I did it wrong way, let me check.

nimnull22 02-15-2010 02:11 PM

No, I did exactly how it should be:
growisofs -Z /dev/sr0=discimage.iso

But computer doesn't boot from dvd, said - no bootable cd.

That is why I start to think about it, may boot on CD is different from boot on DVD?
I do not have experience in this at all.

paulsm4 02-15-2010 02:33 PM

Sigh...

Q: Do you have another blank DVD, so you can try KB3 again?
It *should* be able to create a bootable DVD from *any* bootable .iso image.
Here are two links (the first link is one randy9 already suggested):

http://harmonyservice.com/content/view/23/40/
http://www.ghacks.net/2009/01/11/bur...ages-with-k3b/

2. If KB3 gives an error, please write down and post the exact error message. Please be sure you selected "DVD" (and not "CD") before you started burning. Please make sure you select a *slower* burn speed (4x, or even 1x: *not* the maximum speed).

3. If the CD or DVD burns correctly, but still won't boot:
a) please make sure the BIOS is configured to boot from CD
b) please make sure the original .iso was actually a bootable image
(for example, post where you got the .iso from)

'Hope that helps .. PSM

nimnull22 02-15-2010 02:49 PM

There is no problem to burn with K3B, but if I choose to burn CD image it expects to see CD in recorder. But I have DVD and K3B doesn't want to burn. But if I choose to burn DVD image - it works, it uses the same "growisofs" as I use - but I can't boot from it.

Does anyone know how to check if CD/DVD bootable?

Thanks.

paulsm4 02-15-2010 03:04 PM

1st quote:
Quote:

K3B refuse to burn LiveCD to DVD disk.
2nd quote:
Quote:

There is no problem to burn with K3B
Q:
Quote:

Does anyone know how to check if CD/DVD bootable?
Uh yeah -
a) Make sure you started with a bootable .iso image (post exactly where you got this image from)
b) Try booting (make sure your BIOS is set correctly first)

PS:
You can use commands like "dd -if=/dev/cd0 | od -x" to see what's on your boot sector. You can always compare the first few bytes with "known good" boot media, like a different Live CD, or one of a million hits you'll find for "boot CD" in Google.

reed9 02-15-2010 03:08 PM

Also, did you check the md5sum of the downloaded iso?

nimnull22 02-15-2010 04:20 PM

Ok, I have had sole food and done tests. I have 2 bootable DVD and non bootale CD.
All my bootable DVDs start from:
0000000: 0000 0000 0000 0000 0000 0000 0000 0000
*
0100000: 4301 3044 3130 0001 494c 554e 2058 2020


But LiveCD, which was checked with md5sum starts with:
0000000: 31fa 8eed ....
...
0001000: 0000 0000 0000 0000 0000 0000 0000 0000
*
0100000: 4301 3044 3130 0001 494c 554e 2058 2020

So, bootable DVD images is not the same that bootable CD


All times are GMT -5. The time now is 08:31 PM.