5

I've downloaded the Debian DVD installation images from Debian, that's been split into 3 parts. I want to create a USB installation disk by merging all the 3 ISO to one ISO.

Here's the list of the things i've tried:

1) APTonCD: tried to mount the ISO to /media/cdrom so that APTonCD can recognize it as a DVD but it didnt.

2) Simple-CDD: throws an error while processing build-simple-cdd command after few minutes.

3) Yumi and Multisystem seems to have installation errors.

Please help.

As suggested by @kos, with reference to his answer from here, here are the few things he asked me to give the output of.

The output of lsblk is as follows.

cyberrspiritt@shazLaptop ~/Downloads/Debian DVDs $ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk 
├─sda1   8:1    0   100M  0 part 
├─sda2   8:2    0  78.1G  0 part 
├─sda3   8:3    0  74.5G  0 part 
├─sda4   8:4    0     1K  0 part 
├─sda5   8:5    0 209.2G  0 part 
├─sda6   8:6    0   3.7G  0 part 
├─sda7   8:7    0   3.8G  0 part 
└─sda8   8:8    0  96.3G  0 part /
sdb      8:16   0  15.1G  0 disk 
└─sdb1   8:17   0  15.1G  0 part /media/cyberrspiritt/24FD-9B66
sr0     11:0    1  1024M  0 rom  

I've merged the iso using cat in this way:

cyberrspiritt@shazLaptop ~/Downloads/Debian DVDs $ cat debian-8.0.0-amd64-DVD-1.iso debian-8.0.0-amd64-DVD-2.iso debian-8.0.0-amd64-DVD-3.iso > Debian.iso

and the command file Debian.iso prints out this:

cyberrspiritt@shazLaptop ~/Downloads/Debian DVDs $ file Debian.iso 
Debian.iso: x86 boot sector
  • 5
    Hmmm. Those are not three parts of a single ISO, but three of a set of separate ISOs. They can't be combined using cat. And given the errors, I'd guess at least one of the ISOs is corrupt. – muru Jun 26 '15 at 0:09
  • Which errors are h talking about? @muru – cyberrspiritt Jun 26 '15 at 0:12
  • Yes, as per how I read the question on Ask Ubuntu I tought those images were obtained by splitting a full CD / DVD image. They're not, they are part of a multi-CD / DVD installer as per what I'm reading now on Debian's website, so my suggestion is not valid anymore. – kos Jun 26 '15 at 0:12
  • So merging them wouldnt help if performed by cat. @kos – cyberrspiritt Jun 26 '15 at 0:13
  • Your numbered list of things you tried. (APTonCD, etc.) – muru Jun 26 '15 at 0:13
1

Every individual dvd has different packages indexed already.So you should have to modify these packages.xz file and then merge those 3 dvd's by directly moving files to dvd1 from dvd2 and dvd3(copy paste)

1

You would need to extract the contents of all 3 disks, merge the actual deb files, generate new index files, and rebuild the DVD.

You may be better off exploring the possibility of building a custom ISO via a jigdo setup, using the data files you have to build a local apt mirror and using netinstall, or possibly using simple-cdd although this looks more like a tool to define what will be installed, not what is on the CD as an archive.

Quickest/easiest option would be to set up the USB drive as the first ISO w/ installer then use extra space to provide the ISOs to be copied to the target system, mounted via loop, and be recognized by apt-cdrom

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.