Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #207250 > unrolled thread
| Started by | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| First post | 2019-04-10 17:30 +0200 |
| Last post | 2019-04-12 06:10 +0200 |
| Articles | 7 — 4 participants |
Back to article view | Back to linux.debian.user
From installation DVD to original ISO file. Richard Owlett <rowlett@cloud85.net> - 2019-04-10 17:30 +0200
Re: From installation DVD to original ISO file "Thomas Schmitt" <scdbackup@gmx.net> - 2019-04-10 18:00 +0200
Re: From installation DVD to original ISO file Richard Owlett <rowlett@cloud85.net> - 2019-04-10 19:30 +0200
Re: From installation DVD to original ISO file "Thomas Schmitt" <scdbackup@gmx.net> - 2019-04-10 20:10 +0200
Re: From installation DVD to original ISO file. <tomas@tuxteam.de> - 2019-04-10 18:50 +0200
Re: From installation DVD to original ISO file. Richard Owlett <rowlett@cloud85.net> - 2019-04-10 19:30 +0200
Re: From installation DVD to original ISO file. David <bouncingcats@gmail.com> - 2019-04-12 06:10 +0200
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-04-10 17:30 +0200 |
| Subject | From installation DVD to original ISO file. |
| Message-ID | <xLnkJ-38c-3@gated-at.bofh.it> |
I have BW limits such that I cannot download requires iso files.
Therefor I have purchased a complete set of installation DVDs.
I require that the MD5SUMS (etc) of the generated file match the original.
I went thru this a few years ago so I know care must be taken to exactly
match the file size.
The solutions I was given at the time revolved around using "isoinfo".
[E.G. > # COUNT=$(isoinfo -d -i /dev/cdrom)
> # dd if=/dev/dvd bs=2048 status=progress count=$COUNT
conv=notrunc,noerror > disc.iso
]
I've gone in circles trying to find a package including it in *current*
Debian repository.
Is it available? If so where?
Is there a recommended alternative procedure?
TIA
[toc] | [next] | [standalone]
| From | "Thomas Schmitt" <scdbackup@gmx.net> |
|---|---|
| Date | 2019-04-10 18:00 +0200 |
| Subject | Re: From installation DVD to original ISO file |
| Message-ID | <xLnNL-3iR-7@gated-at.bofh.it> |
| In reply to | #207250 |
Hi, Richard Owlett wrote: > The solutions I was given at the time revolved around using "isoinfo". > [...] I've gone in circles trying to find a package including it in > *current* Debian repository. Isn't it in "genisoimage" ? https://packages.debian.org/stretch/amd64/genisoimage/filelist has /usr/bin/isoinfo > # COUNT=$(isoinfo -d -i /dev/cdrom) > # dd if=/dev/dvd bs=2048 status=progress count=$COUNT conv=notrunc,noerror > disc.iso > Is there a recommended alternative procedure? COUNT=$(expr $(/sbin/isosize /dev/cdrom) / 2048) from package "util-linux". Have a nice day :) Thomas
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-04-10 19:30 +0200 |
| Subject | Re: From installation DVD to original ISO file |
| Message-ID | <xLpcR-4hp-7@gated-at.bofh.it> |
| In reply to | #207252 |
On 04/10/2019 10:58 AM, Thomas Schmitt wrote:
> Hi,
>
> Richard Owlett wrote:
>> The solutions I was given at the time revolved around using "isoinfo".
>> [...] I've gone in circles trying to find a package including it in
>> *current* Debian repository.
>
> Isn't it in "genisoimage" ?
>
> https://packages.debian.org/stretch/amd64/genisoimage/filelist
> has
> /usr/bin/isoinfo
>
My search methodology was faulty.
I hadn't thought of searching packages.debian.org for an included file.
Doing it that way also yields
https://packages.debian.org/stretch/libcdio-utils
with interesting links at
https://www.gnu.org/software/libcdio/projects.html
>
>> # COUNT=$(isoinfo -d -i /dev/cdrom)
>> # dd if=/dev/dvd bs=2048 status=progress count=$COUNT conv=notrunc,noerror > disc.iso
>> Is there a recommended alternative procedure?
>
> COUNT=$(expr $(/sbin/isosize /dev/cdrom) / 2048)
>
> from package "util-linux".
>
On the man page
https://manpages.debian.org/stretch/util-linux/isosize.8.en.html
I had seen:
> The size of the file (or block device) holding an iso9660 filesystem
> can be marginally larger than the actual size of the iso9660 filesystem.
> One reason for this is that cd writers are allowed to add "run out"
> sectors at the end of an iso9660 image.
I wasn't sure if that meant it was not suitable for my purpose.
Thanks
[toc] | [prev] | [next] | [standalone]
| From | "Thomas Schmitt" <scdbackup@gmx.net> |
|---|---|
| Date | 2019-04-10 20:10 +0200 |
| Subject | Re: From installation DVD to original ISO file |
| Message-ID | <xLpPA-4Ki-7@gated-at.bofh.it> |
| In reply to | #207258 |
Hi, > Doing it that way also yields > https://packages.debian.org/stretch/libcdio-utils Note the different names "isoinfo" <-> "iso-info". These programs take different options and put out different text formats. "iso-info" does not tell the size. Your command COUNT=$(isoinfo -d -i /dev/cdrom) looks questionable, though. A program run here prints multiple lines of which the right one needs to be picked and stripped of its prefix text: COUNT=$(isoinfo -d -i /dev/cdrom | grep 'Volume size is: ' | sed -e 's/Volume size is: //') > On the man page > https://manpages.debian.org/stretch/util-linux/isosize.8.en.html > I had seen: > > The size of the file (or block device) holding an iso9660 filesystem > > can be marginally larger than the actual size of the iso9660 filesystem. > > One reason for this is that cd writers are allowed to add "run out" > > sectors at the end of an iso9660 image. > > I wasn't sure if that meant it was not suitable for my purpose. This paragraph is just an explanation why "isosize" is of use and why its result can differ from the image file size or the readable size of the medium. (The last sentence is quite wrong. Run-out blocks are not readable. They can only cause the Linux TAO CD read-ahead error if the drive invites for it. Most optical media types pad up a burn session to the next multiple of 16 or 32 blocks. Some types are random access media and offer their full capacity for reading rather than the size of the recently written ISO. Only CD-R[W] with write type SAO and DVD-R[W] with write type DAO reliably restrict the readable size to the written size. ) Have a nice day :) Thomas
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2019-04-10 18:50 +0200 |
| Message-ID | <xLoA9-3Ow-7@gated-at.bofh.it> |
| In reply to | #207250 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, Apr 10, 2019 at 10:24:34AM -0500, Richard Owlett wrote: > I have BW limits such that I cannot download requires iso files. > Therefor I have purchased a complete set of installation DVDs. > I require that the MD5SUMS (etc) of the generated file match the original. > > I went thru this a few years ago so I know care must be taken to > exactly match the file size. > > The solutions I was given at the time revolved around using "isoinfo". > [E.G. > # COUNT=$(isoinfo -d -i /dev/cdrom) > > # dd if=/dev/dvd bs=2048 status=progress count=$COUNT > conv=notrunc,noerror > disc.iso > ] > > I've gone in circles trying to find a package including it in > *current* Debian repository. > > Is it available? If so where? > Is there a recommended alternative procedure? Hm. There seem to be several 'isoinfo' (I'm assuming that isoinfo is what your 'it' refers to): tomas@trotzki:~$ apt-file search isoinfo engrampa: /usr/lib/engrampa/engrampa/isoinfo.sh file-roller: /usr/lib/x86_64-linux-gnu/file-roller/isoinfo.sh genisoimage: /usr/bin/isoinfo genisoimage: /usr/share/man/man1/isoinfo.1.gz libguestfs-gobject-dev: /usr/include/guestfs-gobject/struct-isoinfo.h manpages-ja: /usr/share/man/ja/man8/isoinfo.8.gz manpages-pl: /usr/share/man/pl/man1/isoinfo.1.gz patool: /usr/lib/python2.7/dist-packages/patoolib/programs/isoinfo.py patool: /usr/lib/python3/dist-packages/patoolib/programs/isoinfo.py I guess you're looking for the one in package 'genisoimage'. But my crystal ball is somewhat cloudy... Cheers -- t
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-04-10 19:30 +0200 |
| Message-ID | <xLpcR-4hp-3@gated-at.bofh.it> |
| In reply to | #207254 |
On 04/10/2019 11:41 AM, tomas@tuxteam.de wrote: > On Wed, Apr 10, 2019 at 10:24:34AM -0500, Richard Owlett wrote: >> I have BW limits such that I cannot download requires iso files. >> Therefor I have purchased a complete set of installation DVDs. >> I require that the MD5SUMS (etc) of the generated file match the original. >> >> I went thru this a few years ago so I know care must be taken to >> exactly match the file size. >> >> The solutions I was given at the time revolved around using "isoinfo". >> [E.G. > # COUNT=$(isoinfo -d -i /dev/cdrom) >> > # dd if=/dev/dvd bs=2048 status=progress count=$COUNT >> conv=notrunc,noerror > disc.iso >> ] >> >> I've gone in circles trying to find a package including it in >> *current* Debian repository. >> >> Is it available? If so where? >> Is there a recommended alternative procedure? > > Hm. There seem to be several 'isoinfo' (I'm assuming that isoinfo is > what your 'it' refers to): > > tomas@trotzki:~$ apt-file search isoinfo > engrampa: /usr/lib/engrampa/engrampa/isoinfo.sh > file-roller: /usr/lib/x86_64-linux-gnu/file-roller/isoinfo.sh > genisoimage: /usr/bin/isoinfo > genisoimage: /usr/share/man/man1/isoinfo.1.gz > libguestfs-gobject-dev: /usr/include/guestfs-gobject/struct-isoinfo.h > manpages-ja: /usr/share/man/ja/man8/isoinfo.8.gz > manpages-pl: /usr/share/man/pl/man1/isoinfo.1.gz > patool: /usr/lib/python2.7/dist-packages/patoolib/programs/isoinfo.py > patool: /usr/lib/python3/dist-packages/patoolib/programs/isoinfo.py > > I guess you're looking for the one in package 'genisoimage'. But my > crystal ball is somewhat cloudy... > > Cheers > -- t > I hadn't thought of using "apt-file search ***". Thanks
[toc] | [prev] | [next] | [standalone]
| From | David <bouncingcats@gmail.com> |
|---|---|
| Date | 2019-04-12 06:10 +0200 |
| Message-ID | <xLVFM-7J5-1@gated-at.bofh.it> |
| In reply to | #207250 |
On Thu, 11 Apr 2019 at 01:25, Richard Owlett <rowlett@cloud85.net> wrote: > The solutions I was given at the time revolved around using "isoinfo". > I've gone in circles trying to find a package including it in *current* > Debian repository. Go here: https://www.debian.org/distrib/packages Under the heading "Search the contents of packages", choose Display = packages that contain files named like this Distribution = stable Architecture = any Type your search Keyword: isoinfo Click on Search button. Read this result page: https://packages.debian.org/search?searchon=contents&keywords=isoinfo&mode=exactfilename&suite=stable&arch=any This answer assumes I've correctly understood the ambiguity in your question. (ie guessing what "it" actually refers to?) If not, please improve the question.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web