LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-07-2017, 05:52 PM   #1
pedros
Member
 
Registered: May 2017
Posts: 85

Rep: Reputation: Disabled
5: Input/output error


I use debian 9.1.0 and it's software repository. I am able to install some packages. But when I try to install blender, wesnoth, some other packages,
Quote:
E: Read error - read (5: Input/output error)
so I copied repository and settings to /a. I get the same error. I guess this means the problem is not the hard drive. When I run
Code:
mount -a; apt-get update;
I see no errors. I guess this means the problem is not a corrupt file. It is strange that blkid lists each file twice. I renamed my old folders to avoid this. If I had the hardware, I could try another system, or external hard drive. How can I find the source of the error? Below is how I set up my system, with install notes at the bottom. This method worked for debian 9.0.0.

How I created a local repository in debian 9.1.0.

1. Get debian 9.1.0 software repository. I use a dvd vendor that is listed on the debian website.

2. adjust bios.
file> apply defaults and exit. do this first to prevent suprises.
security> network boot> disable. I never boot from the network.
security> system security> virtualization technology> enable. required for virtual machine.
security> secure boot> legacy support> enable. required by debian?
security> secure boot> secure boot> disable. required by debian?
security> secure boot> fast boot> disable. required by debian?
advanced> power-on> post messages> enable. helpful.
advanced> power-on> post delay> 5. helpful.

3. gparted> device> create partition table> msdos.
4. Install debian 9.1.0.
5. Change some permissions to liberal.
6. Create target directory structure.
This code requires super user privledge, su.
Code:
chmod a+rwx /mnt/ /etc/fstab /etc/apt/sources.list; 
mkdir -p /mnt/iso/ /mnt/extract/01/ /mnt/extract/02/ /mnt/extract/03/ /mnt/extract/04/ /mnt/extract/05/ /mnt/extract/06/ /mnt/extract/07/ /mnt/extract/08/ /mnt/extract/09/ /mnt/extract/10/ /mnt/extract/11/ /mnt/extract/12/ /mnt/extract/13/ /mnt/extract/14/;
7. convert repository into iso format. I use brasero to copy dvd. Brasero is on dvd1 and is installed by default.
8. Copy and rename repository to target directory.
9. remove repository from home directory.

10. copy and paste this into the bottom of /etc/fstab.
Code:
/mnt/iso/01.iso /mnt/extract/01/ udf,iso9660 loop 0 0
/mnt/iso/02.iso /mnt/extract/02/ udf,iso9660 loop 0 0
/mnt/iso/03.iso /mnt/extract/03/ udf,iso9660 loop 0 0
/mnt/iso/04.iso /mnt/extract/04/ udf,iso9660 loop 0 0
/mnt/iso/05.iso /mnt/extract/05/ udf,iso9660 loop 0 0
/mnt/iso/06.iso /mnt/extract/06/ udf,iso9660 loop 0 0
/mnt/iso/07.iso /mnt/extract/07/ udf,iso9660 loop 0 0
/mnt/iso/08.iso /mnt/extract/08/ udf,iso9660 loop 0 0
/mnt/iso/09.iso /mnt/extract/09/ udf,iso9660 loop 0 0
/mnt/iso/10.iso /mnt/extract/10/ udf,iso9660 loop 0 0
/mnt/iso/11.iso /mnt/extract/11/ udf,iso9660 loop 0 0
/mnt/iso/12.iso /mnt/extract/12/ udf,iso9660 loop 0 0
/mnt/iso/13.iso /mnt/extract/13/ udf,iso9660 loop 0 0
/mnt/iso/14.iso /mnt/extract/14/ udf,iso9660 loop 0 0
11. copy and paste this into all of /etc/apt/sources.list
Code:
deb file:/mnt/extract/01/ stretch main contrib
deb file:/mnt/extract/02/ stretch main contrib
deb file:/mnt/extract/03/ stretch main contrib
deb file:/mnt/extract/04/ stretch main contrib
deb file:/mnt/extract/05/ stretch main contrib
deb file:/mnt/extract/06/ stretch main contrib
deb file:/mnt/extract/07/ stretch main contrib
deb file:/mnt/extract/08/ stretch main contrib
deb file:/mnt/extract/09/ stretch main contrib
deb file:/mnt/extract/10/ stretch main contrib
deb file:/mnt/extract/11/ stretch main contrib
deb file:/mnt/extract/12/ stretch main contrib
deb file:/mnt/extract/13/ stretch main contrib
deb file:/mnt/extract/14/ stretch main contrib
12. Mount all filesystems mentioned in fstab. As directed in /etc/fstab, extract from /mnt/iso/*.iso into /mnt/extract/*/.
13. Tell system about new repository.
This code requires super user privledge, su.
Code:
mount -a; apt-get update;
[quote]
root@debian:/home/stretch# blkid
/dev/sdb1: UUID="67ed7f20-f11a-41e9-809f-348882809142" TYPE="ext4" PARTUUID="620b48d0-01"
/dev/sdb5: UUID="79f81718-f0f3-4a1c-9ea1-935bbce8212e" TYPE="swap" PARTUUID="620b48d0-05"
/dev/sda1: LABEL="seagate" UUID="5dca116e-7c4c-4b92-8303-b11b60859d1c" TYPE="ext4"
/dev/loop0: UUID="2017-07-22-12-25-09-00" LABEL="Debian 9.1.0 amd64 5" TYPE="iso9660"
/dev/loop1: UUID="2017-07-22-11-57-38-00" LABEL="Debian 9.1.0 amd64 1" TYPE="iso9660" PTUUID="019c8ef2" PTTYPE="dos"
/dev/loop2: UUID="2017-07-22-12-37-52-00" LABEL="Debian 9.1.0 amd64 9" TYPE="iso9660"
/dev/loop3: UUID="2017-07-22-12-34-13-00" LABEL="Debian 9.1.0 amd64 8" TYPE="iso9660"
/dev/loop4: UUID="2017-07-22-12-11-40-00" LABEL="Debian 9.1.0 amd64 13" TYPE="iso9660"
/dev/loop5: UUID="2017-07-22-12-31-13-00" LABEL="Debian 9.1.0 amd64 7" TYPE="iso9660"
/dev/loop6: UUID="2017-07-22-12-18-49-00" LABEL="Debian 9.1.0 amd64 3" TYPE="iso9660"
/dev/loop7: UUID="2017-07-22-11-59-43-00" LABEL="Debian 9.1.0 amd64 10" TYPE="iso9660"
/dev/loop8: UUID="2017-07-22-12-15-38-00" LABEL="Debian 9.1.0 amd64 2" TYPE="iso9660"
/dev/loop9: UUID="2017-07-22-12-15-08-00" LABEL="Debian 9.1.0 amd64 14" TYPE="iso9660"
/dev/loop10: UUID="2017-07-22-12-07-51-00" LABEL="Debian 9.1.0 amd64 12" TYPE="iso9660"
/dev/loop11: UUID="2017-07-22-12-22-01-00" LABEL="Debian 9.1.0 amd64 4" TYPE="iso9660"
/dev/loop12: UUID="2017-07-22-12-03-50-00" LABEL="Debian 9.1.0 amd64 11" TYPE="iso9660"
/dev/loop13: UUID="2017-07-22-12-28-13-00" LABEL="Debian 9.1.0 amd64 6" TYPE="iso9660"
/dev/loop14: UUID="2017-07-22-11-57-38-00" LABEL="Debian 9.1.0 amd64 1" TYPE="iso9660" PTUUID="019c8ef2" PTTYPE="dos"
/dev/loop15: UUID="2017-07-22-12-15-38-00" LABEL="Debian 9.1.0 amd64 2" TYPE="iso9660"
/dev/loop16: UUID="2017-07-22-12-18-49-00" LABEL="Debian 9.1.0 amd64 3" TYPE="iso9660"
/dev/loop17: UUID="2017-07-22-12-22-01-00" LABEL="Debian 9.1.0 amd64 4" TYPE="iso9660"
/dev/loop18: UUID="2017-07-22-12-25-09-00" LABEL="Debian 9.1.0 amd64 5" TYPE="iso9660"
/dev/loop19: UUID="2017-07-22-12-28-13-00" LABEL="Debian 9.1.0 amd64 6" TYPE="iso9660"
/dev/loop20: UUID="2017-07-22-12-31-13-00" LABEL="Debian 9.1.0 amd64 7" TYPE="iso9660"
/dev/loop21: UUID="2017-07-22-12-34-13-00" LABEL="Debian 9.1.0 amd64 8" TYPE="iso9660"
/dev/loop22: UUID="2017-07-22-12-37-52-00" LABEL="Debian 9.1.0 amd64 9" TYPE="iso9660"
/dev/loop23: UUID="2017-07-22-11-59-43-00" LABEL="Debian 9.1.0 amd64 10" TYPE="iso9660"
/dev/loop24: UUID="2017-07-22-12-03-50-00" LABEL="Debian 9.1.0 amd64 11" TYPE="iso9660"
/dev/loop25: UUID="2017-07-22-12-07-51-00" LABEL="Debian 9.1.0 amd64 12" TYPE="iso9660"
/dev/loop26: UUID="2017-07-22-12-11-40-00" LABEL="Debian 9.1.0 amd64 13" TYPE="iso9660"
/dev/loop27: UUID="2017-07-22-12-15-08-00" LABEL="Debian 9.1.0 amd64 14" TYPE="iso9660"
[quote]

Here are some messages that are displayed after running the code.
Quote:
mount: /dev/loop1 is write-protected, mounting read-only
W: The repository 'file:/mnt/extract/01 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
warning. Some permissions were changed to liberal.
warning. on debian 9.1.0, apt-update is on dvd2.
question. apt-secure(8) manpage says insecure repositories are strongly discouraged. So offline, how do I make it secure? I hear this can not be done.

warning. do not disable legacy support. do not use gpt partition table.
bios> security> secure boot> legacy support> disable.
gparted> device> create partition table> gpt.
error: no boot disk has been detected or the disk has failed.

question. packages that are installed by default, that create iso image from dvd are brasero, genisoimage, growisofs.
Can these packages use script to create iso image from dvd?
 
Old 09-08-2017, 03:59 AM   #2
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

i cannot help much with your repository problems but saying that error
number 5 "input/output error" is normally due to bad storage medium or
due to incompletely written storage medium.

Said that, your question how to create an ISO image file from a DVD
is simple to answer. You need no burn program or ISO 9660 producer program
because you simply need to read the ISO 9660 filesystem image from the
Debian DVDs. Assumed that the DVD is accessible as /dev/sr0:
Code:
dd if=/dev/sr0 bs=1M of=/mnt/iso/01.iso
(I am not overly happy with the directory /mnt/iso/ where you put your
DVD images. That's an old address for _mounting_ ISOs, not for putting
copies of ISOs. But this should not hamper your success.)

The peculiar observation that each copied ISO appears twice in blkid is
due to the fact that each of them is mounted twice by two different
/dev/loop* devices. Possibly each such pair is mounted to the same
directory.
So try what happens if you umount each /mnt/extract/* directory twice
and then run again mount -a to mount each once.
If this still yields doubly mounted *.iso files, then the duplication
is probably due to double mentioning of the *.iso files in /etc/fstab.

Have a nice day

Thomas
 
Old 09-08-2017, 01:59 PM   #3
pedros
Member
 
Registered: May 2017
Posts: 85

Original Poster
Rep: Reputation: Disabled
It sounds like I might need a new system. I am now looking for a read-write test for my internal 500gb hard drive. If needed, I will be happy to reinstall everything. Test with with what software? dd seems to be the most common. And I suppose I will need to run it from a live distribution. Here are some instructions I found. Erase all the disk content by resetting data to 0 with the following.
Code:
dd if=/dev/zero of=/dev/sda
But how to read and make sure everything is zero? Can I replace zero with one, and repeat the test? Here are more instructions I found, but I do not completly understand them. To make drive benchmark test and analyze the sequential (and usually single-threaded) system read and write performance for 1024-byte blocks:
Code:
dd if=/dev/zero bs=1024 count=1000000 of=file_1GB; dd if=file_1GB of=/dev/null bs=1024
I think backtrack does this, I have a copy in storage. I remember format or fdisk from msdos, which marks bad sectors. Can bonnie++ do this? What test should I run? Thank you for telling me about dd. It did not show up when I searched debian for iso. I asked for a directory in which to put ISO, in my thread https://www.linuxquestions.org/quest...ry-4175606285/
If you have an opinion on this, please tell me. What do you think about /a?
Code:
umount -a; umount -a; mount -a; blkid; apt-get update;
The origional output has about 14 lines of each type. I deleted most of the lines for the sample below.
Quote:
umount: /dev: target is busy
mount: /dev/loop0 is write-protected, mounting read-only
/dev/sda1: UUID="67ed7f20-f11a-41e9-809f-348882809142" TYPE="ext4" PARTUUID="620b48d0-01"
/dev/sda5: UUID="79f81718-f0f3-4a1c-9ea1-935bbce8212e" TYPE="swap" PARTUUID="620b48d0-05"
/dev/loop0: UUID="2017-07-22-11-57-38-00" LABEL="Debian 9.1.0 amd64 1" TYPE="iso9660" PTUUID="019c8ef2" PTTYPE="dos"
/dev/loop1: UUID="2017-07-22-12-15-38-00" LABEL="Debian 9.1.0 amd64 2" TYPE="iso9660"
/dev/loop2: UUID="2017-07-22-12-18-49-00" LABEL="Debian 9.1.0 amd64 3" TYPE="iso9660"
Some devices did not unmount, so maybe they would mount otherwise.
 
Old 09-08-2017, 03:03 PM   #4
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

> dd if=/dev/zero of=/dev/sda

Do you really want to erase all content of your first hard disk ?
(This might fail in the middle if the running operating system has its
files on that disk.)

The input file of this program run, device /dev/zero, hands out as many
bytes of value 0 as any program wants to read from it.
The output file /dev/sda is the address of the first hard disk.
A further disk, e.g. an USB stick, would show up as /dev/sdb.

The victim of this run would be this filesystem
Code:
/dev/sda1: UUID="67ed7f20-f11a-41e9-809f-348882809142" TYPE="ext4" PARTUUID="620b48d0-01"
and your swap space (which can be created again easily).
Do you really want to ?
What operating system will run at that time ?


> But how to read and make sure everything is zero?

Only if you really want to do the above:
You would read all available bytes from /dev/sda and check whether they
are all zero. The program "od" has the habit to abbreviate repeated output
lines by a "*" line.
So
Code:
dd if=/dev/sda bs=1M | od -c | less
should yield a short result after very long readingi with blank terminal,
like:
Code:
500000+0 records in
500000+0 records out
512000000000 bytes (512.0 GB) copied, 5000 s, 100 MB/s
0000000  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
7346545000000
If there appear other lines like
Code:
1000000 250   g   m 344 237 345   ? 006 300 227  \v 245 003   Z 225 272
then it's not all zero. In this case you can abort the reading by pressing
the keys Ctrl and "c" at the same time.

To leave the pager program "less", press key "q".


> dd if=/dev/zero bs=1024 count=1000000 of=file_1GB; dd if=file_1GB of=/dev/null bs=1024

That's not a good benchmark.
(I began to criticise it in detail, but finally it is useless because of
RAM buffers, RAM cache, and the potential of a sparse file content
representation if all bytes are 0.)

I cannot advise a good disk benchmark. Maybe others can.

In general, you should first find out from which device the i/o error
came: hard disk, DVD, ... ?
Command "dmesg" can be used to view system log messages after such error
events.
Code:
dmesg | less
could show among others a group of lines like
Code:
[...743615] sr2: CDROM (ioctl) error, command: Read TOC/PMA/ATIP 43 00 00 00 00 00 00 00 0c 40
[...743625] sr: Sense Key : Medium Error [current] 
[...743628] sr: Add. Sense: Medium format corrupted
(This was when nosy systemd tried to inspect an unformatted BD-RE.)
The decisive info is "sr2". I.e. the error happened at the third optical drive.

Leave program "less" by pressing key "q".


> Thank you for telling me about dd. It did not show up when I searched
> debian for iso.

That's because dd is not specific to ISO 9660 filesystem but just reads
any data that are available from a file. It offers a few options to cut
out data from a file or to convert the data. So it's a kind of programming
language which can do nothing but perform one copy job.
The DVD drive with its inserted medium appears as device file /dev/sr0.
Any program that can read data can read the bytes from there. And because
you want an "image" of the DVD as data file, this simple job is exactly
what fulfills your wish. ISO, UDF, FAT, ext4, it would work with any
filesystem.

> umount -a;

This was overdone. You should only umount the /mnt/extract/* directories
(twice if they appear twice in the list).

> The origional output has about 14 lines of each type

Does that mean you have 14 lines of TYPE="iso9660" ?
That would mean each of the ISO images is mounted once now. Right ?

> I deleted most of the lines for the sample below.

Not good if you need advice. Now i need to ask you what you see.

> umount: /dev: target is busy

Didn't you get at least one such message about "/: target is busy" ?


Be warned that the activities you plan are for experienced users of
GNU/Linux in general and Debian in particular. I know about disks and
drives, but get my Debian packages from the internet, not from a large
set of DVDs.

Have a nice day

Thomas
 
Old 09-08-2017, 05:46 PM   #5
pedros
Member
 
Registered: May 2017
Posts: 85

Original Poster
Rep: Reputation: Disabled
Do you really want to erase all content of your first hard disk ?
Yes. I think that would the simplest, surest, most complete thing to do.

(This might fail in the middle if the running operating system has its files on that disk.)
Good warning. So I will boot from external source.

The victim of dd if=/dev/zero of=/dev/sda; would be the device, internal hard disk, /dev/sda, and everything on it, including filesystems and swap space and mbr.

Do you really want to ? Yes, unless you have a better idea how to fix the system. As it is now, it is nearing trash status. If it completely breaks, no big loss.

What operating system will run at that time ? The external os that I boot from. Or later, if fixed, the os I will install.

Code:
dd if=/dev/zero of=/dev/sda; dd if=/dev/sda bs=1M | od -c | less
sounds good to me. So I need an external live boot source with dd and od.

That's not a good benchmark. I want to test for accuracy, not speed.

find out from which device the i/o error came. I highly suspect the hard disk. But it is nice to run a test when easy. Hash Sum mismatch. This means bad hard disk?
Code:
apt-get install --allow-unauthenticated -y zzuf; dmesg | less; q;
Code:
stretch@debian:~$ su
Password: 
root@debian:/home/stretch# apt-get install --allow-unauthenticated -y zzuf;
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  zzuf
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/62.2 kB of archives.
After this operation, 179 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  zzuf
Authentication warning overridden.
Get:1 file:/a/extract/08 stretch/main amd64 zzuf amd64 0.15-1+b1 [62.2 kB]
Err:1 file:/a/extract/08 stretch/main amd64 zzuf amd64 0.15-1+b1
  Hash Sum mismatch
  Hashes of expected file:
   - SHA256:30947ff9d6d7b55b337848e1440d3119ac4deb45f021c6d588f34f914347051a
   - MD5Sum:51f2e27b3b819b276078135dc3793375 [weak]
   - Filesize:62246 [weak]
  Hashes of received file:
  Last modification reported: Sun, 05 Mar 2017 19:44:31 +0000
E: Read error - read (5: Input/output error)
root@debian:/home/stretch# dmesg | less;

[    0.000000] Linux version 4.9.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-3-amd64 root=UUID=67ed7f20-f11a-41e9-809f-348882809142 ro quiet
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[    0.000000] x86/fpu: Using 'eager' FPU context switches.
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009e7ff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009e800-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000009d43dfff] usable
[    0.000000] BIOS-e820: [mem 0x000000009d43e000-0x000000009d5c8fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000009d5c9000-0x000000009d5f3fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000009d5f4000-0x000000009d6f2fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000009d6f3000-0x000000009e47bfff] reserved
[    0.000000] BIOS-e820: [mem 0x000000009e47c000-0x000000009e47cfff] usable
:

stretch@debian:~$ su
Password: 
root@debian:/home/stretch# apt-get install --allow-unauthenticated -y zzuf;
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  zzuf
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/62.2 kB of archives.
After this operation, 179 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  zzuf
Authentication warning overridden.
Get:1 file:/a/extract/08 stretch/main amd64 zzuf amd64 0.15-1+b1 [62.2 kB]
Err:1 file:/a/extract/08 stretch/main amd64 zzuf amd64 0.15-1+b1
  Hash Sum mismatch
  Hashes of expected file:
   - SHA256:30947ff9d6d7b55b337848e1440d3119ac4deb45f021c6d588f34f914347051a
   - MD5Sum:51f2e27b3b819b276078135dc3793375 [weak]
   - Filesize:62246 [weak]
  Hashes of received file:
  Last modification reported: Sun, 05 Mar 2017 19:44:31 +0000
E: Read error - read (5: Input/output error)
root@debian:/home/stretch# dmesg | less;
root@debian:/home/stretch#
Code:
umount /mnt/extract/01/; umount /mnt/extract/02/; umount /mnt/extract/03/; umount /mnt/extract/04/; umount /mnt/extract/05/; umount /mnt/extract/06/; umount /mnt/extract/07/; umount /mnt/extract/08/; umount /mnt/extract/09/; umount /mnt/extract/10/; umount /mnt/extract/11/; umount /mnt/extract/12/; umount /mnt/extract/13/; umount /mnt/extract/14/; umount /mnt/extract/01/; umount /mnt/extract/02/; umount /mnt/extract/03/; umount /mnt/extract/04/; umount /mnt/extract/05/; umount /mnt/extract/06/; umount /mnt/extract/07/; umount /mnt/extract/08/; umount /mnt/extract/09/; umount /mnt/extract/10/; umount /mnt/extract/11/; umount /mnt/extract/12/; umount /mnt/extract/13/; umount /mnt/extract/14/; mount -a; blkid; apt-get update;
Code:
root@debian:/home/stretch# umount /mnt/extract/01/; umount /mnt/extract/02/; umount /mnt/extract/03/; umount /mnt/extract/04/; umount /mnt/extract/05/; umount /mnt/extract/06/; umount /mnt/extract/07/; umount /mnt/extract/08/; umount /mnt/extract/09/; umount /mnt/extract/10/; umount /mnt/extract/11/; umount /mnt/extract/12/; umount /mnt/extract/13/; umount /mnt/extract/14/; umount /mnt/extract/01/; umount /mnt/extract/02/; umount /mnt/extract/03/; umount /mnt/extract/04/; umount /mnt/extract/05/; umount /mnt/extract/06/; umount /mnt/extract/07/; umount /mnt/extract/08/; umount /mnt/extract/09/; umount /mnt/extract/10/; umount /mnt/extract/11/; umount /mnt/extract/12/; umount /mnt/extract/13/; umount /mnt/extract/14/; mount -a; blkid; apt-get update;
umount: /mnt/extract/01/: mountpoint not found
umount: /mnt/extract/02/: mountpoint not found
umount: /mnt/extract/03/: mountpoint not found
umount: /mnt/extract/04/: mountpoint not found
umount: /mnt/extract/05/: mountpoint not found
umount: /mnt/extract/06/: mountpoint not found
umount: /mnt/extract/07/: mountpoint not found
umount: /mnt/extract/08/: mountpoint not found
umount: /mnt/extract/09/: mountpoint not found
umount: /mnt/extract/10/: mountpoint not found
umount: /mnt/extract/11/: mountpoint not found
umount: /mnt/extract/12/: mountpoint not found
umount: /mnt/extract/13/: mountpoint not found
umount: /mnt/extract/14/: mountpoint not found
umount: /mnt/extract/01/: mountpoint not found
umount: /mnt/extract/02/: mountpoint not found
umount: /mnt/extract/03/: mountpoint not found
umount: /mnt/extract/04/: mountpoint not found
umount: /mnt/extract/05/: mountpoint not found
umount: /mnt/extract/06/: mountpoint not found
umount: /mnt/extract/07/: mountpoint not found
umount: /mnt/extract/08/: mountpoint not found
umount: /mnt/extract/09/: mountpoint not found
umount: /mnt/extract/10/: mountpoint not found
umount: /mnt/extract/11/: mountpoint not found
umount: /mnt/extract/12/: mountpoint not found
umount: /mnt/extract/13/: mountpoint not found
umount: /mnt/extract/14/: mountpoint not found
/dev/sda1: UUID="67ed7f20-f11a-41e9-809f-348882809142" TYPE="ext4" PARTUUID="620b48d0-01"
/dev/sda5: UUID="79f81718-f0f3-4a1c-9ea1-935bbce8212e" TYPE="swap" PARTUUID="620b48d0-05"
/dev/loop0: UUID="2017-07-22-11-57-38-00" LABEL="Debian 9.1.0 amd64 1" TYPE="iso9660" PTUUID="019c8ef2" PTTYPE="dos"
/dev/loop1: UUID="2017-07-22-12-15-38-00" LABEL="Debian 9.1.0 amd64 2" TYPE="iso9660"
/dev/loop2: UUID="2017-07-22-12-18-49-00" LABEL="Debian 9.1.0 amd64 3" TYPE="iso9660"
/dev/loop3: UUID="2017-07-22-12-22-01-00" LABEL="Debian 9.1.0 amd64 4" TYPE="iso9660"
/dev/loop4: UUID="2017-07-22-12-25-09-00" LABEL="Debian 9.1.0 amd64 5" TYPE="iso9660"
/dev/loop5: UUID="2017-07-22-12-28-13-00" LABEL="Debian 9.1.0 amd64 6" TYPE="iso9660"
/dev/loop6: UUID="2017-07-22-12-31-13-00" LABEL="Debian 9.1.0 amd64 7" TYPE="iso9660"
/dev/loop7: UUID="2017-07-22-12-34-13-00" LABEL="Debian 9.1.0 amd64 8" TYPE="iso9660"
/dev/loop8: UUID="2017-07-22-12-37-52-00" LABEL="Debian 9.1.0 amd64 9" TYPE="iso9660"
/dev/loop9: UUID="2017-07-22-11-59-43-00" LABEL="Debian 9.1.0 amd64 10" TYPE="iso9660"
/dev/loop10: UUID="2017-07-22-12-03-50-00" LABEL="Debian 9.1.0 amd64 11" TYPE="iso9660"
/dev/loop11: UUID="2017-07-22-12-07-51-00" LABEL="Debian 9.1.0 amd64 12" TYPE="iso9660"
/dev/loop12: UUID="2017-07-22-12-11-40-00" LABEL="Debian 9.1.0 amd64 13" TYPE="iso9660"
/dev/loop13: UUID="2017-07-22-12-15-08-00" LABEL="Debian 9.1.0 amd64 14" TYPE="iso9660"
Get:1 file:/a/extract/01 stretch InRelease
Ign:1 file:/a/extract/01 stretch InRelease
Get:2 file:/a/extract/02 stretch InRelease
Ign:2 file:/a/extract/02 stretch InRelease
Get:3 file:/a/extract/03 stretch InRelease
Ign:3 file:/a/extract/03 stretch InRelease
Get:4 file:/a/extract/04 stretch InRelease
Ign:4 file:/a/extract/04 stretch InRelease
Get:5 file:/a/extract/05 stretch InRelease
Ign:5 file:/a/extract/05 stretch InRelease
Get:6 file:/a/extract/06 stretch InRelease
Ign:6 file:/a/extract/06 stretch InRelease
Get:7 file:/a/extract/07 stretch InRelease
Ign:7 file:/a/extract/07 stretch InRelease
Get:8 file:/a/extract/08 stretch InRelease
Ign:8 file:/a/extract/08 stretch InRelease
Get:9 file:/a/extract/09 stretch InRelease
Ign:9 file:/a/extract/09 stretch InRelease
Get:10 file:/a/extract/10 stretch InRelease
Ign:10 file:/a/extract/10 stretch InRelease
Get:11 file:/a/extract/11 stretch InRelease
Ign:11 file:/a/extract/11 stretch InRelease
Get:12 file:/a/extract/12 stretch InRelease
Ign:12 file:/a/extract/12 stretch InRelease
Get:13 file:/a/extract/13 stretch InRelease
Ign:13 file:/a/extract/13 stretch InRelease
Get:14 file:/a/extract/14 stretch InRelease
Ign:14 file:/a/extract/14 stretch InRelease
Get:15 file:/a/extract/01 stretch Release [19.1 kB]
Get:16 file:/a/extract/02 stretch Release [16.9 kB]
Get:17 file:/a/extract/03 stretch Release [13.9 kB]
Get:15 file:/a/extract/01 stretch Release [19.1 kB]
Get:18 file:/a/extract/04 stretch Release [13.1 kB]
Get:19 file:/a/extract/05 stretch Release [13.9 kB]             
Get:20 file:/a/extract/06 stretch Release [13.5 kB]             
Get:16 file:/a/extract/02 stretch Release [16.9 kB]
Get:21 file:/a/extract/07 stretch Release [13.9 kB]
Get:22 file:/a/extract/08 stretch Release [13.5 kB]
Get:17 file:/a/extract/03 stretch Release [13.9 kB]
Get:23 file:/a/extract/09 stretch Release [13.9 kB]
Get:24 file:/a/extract/10 stretch Release [14.3 kB]             
Get:18 file:/a/extract/04 stretch Release [13.1 kB]
Get:25 file:/a/extract/11 stretch Release [14.4 kB]
Get:19 file:/a/extract/05 stretch Release [13.9 kB]
Get:26 file:/a/extract/12 stretch Release [13.1 kB]
Get:20 file:/a/extract/06 stretch Release [13.5 kB]
Get:27 file:/a/extract/13 stretch Release [11.8 kB]
Get:28 file:/a/extract/14 stretch Release [7,549 B]
Get:29 file:/a/extract/01 stretch Release.gpg
Ign:29 file:/a/extract/01 stretch Release.gpg
Get:21 file:/a/extract/07 stretch Release [13.9 kB]
Get:30 file:/a/extract/02 stretch Release.gpg
Ign:30 file:/a/extract/02 stretch Release.gpg
Get:22 file:/a/extract/08 stretch Release [13.5 kB]
Get:31 file:/a/extract/03 stretch Release.gpg
Ign:31 file:/a/extract/03 stretch Release.gpg
Get:23 file:/a/extract/09 stretch Release [13.9 kB]
Get:32 file:/a/extract/04 stretch Release.gpg
Ign:32 file:/a/extract/04 stretch Release.gpg
Get:24 file:/a/extract/10 stretch Release [14.3 kB]
Get:33 file:/a/extract/05 stretch Release.gpg
Ign:33 file:/a/extract/05 stretch Release.gpg
Get:25 file:/a/extract/11 stretch Release [14.4 kB]
Get:34 file:/a/extract/06 stretch Release.gpg
Ign:34 file:/a/extract/06 stretch Release.gpg
Get:26 file:/a/extract/12 stretch Release [13.1 kB]
Get:35 file:/a/extract/07 stretch Release.gpg
Ign:35 file:/a/extract/07 stretch Release.gpg
Get:27 file:/a/extract/13 stretch Release [11.8 kB]
Get:36 file:/a/extract/08 stretch Release.gpg
Ign:36 file:/a/extract/08 stretch Release.gpg
Get:28 file:/a/extract/14 stretch Release [7,549 B]
Get:37 file:/a/extract/09 stretch Release.gpg
Ign:37 file:/a/extract/09 stretch Release.gpg
Get:38 file:/a/extract/10 stretch Release.gpg
Ign:38 file:/a/extract/10 stretch Release.gpg
Get:39 file:/a/extract/11 stretch Release.gpg
Ign:39 file:/a/extract/11 stretch Release.gpg
Get:40 file:/a/extract/12 stretch Release.gpg
Ign:40 file:/a/extract/12 stretch Release.gpg
Get:41 file:/a/extract/13 stretch Release.gpg
Ign:41 file:/a/extract/13 stretch Release.gpg
Get:42 file:/a/extract/14 stretch Release.gpg
Ign:42 file:/a/extract/14 stretch Release.gpg
Reading package lists... Done
W: The repository 'file:/a/extract/01 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/02 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/03 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/04 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/05 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/06 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/07 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/08 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/09 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/10 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/11 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/12 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/13 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/a/extract/14 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@debian:/home/stretch#
Suppose we prove the hard disk is bad. Then what? Is there software to mark the bad parts?
 
Old 09-09-2017, 02:27 AM   #6
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

> > Do you really want to erase all content of your first hard disk ?
> Yes. I think that would the simplest, surest, most complete thing to do.

You did not show the reason yet why you think that your hard disk is bad.
The input/output error was with reading during package installation.
It could well be the DVD drive or the DVD medium which is to blame.
When copying to hard disk, the problem may have been copied, too.


> So I need an external live boot source with dd and od.

Both are very elementary programs. Any Live-CD is supposed to have them.


> I want to test for accuracy, not speed.

The problem with the two-dd benchmark is that the machine's RAM buffers
the written data. If there is enough RAM, then the reading will not
happen from hard disk but from (much faster) RAM.

So you would have to run the first dd, which creates the big file.
Then shut down the computer regularly. Then boot again and try to read
the file. The shutdown-reboot cycle will have erased the RAM content.

But if you only want to know whether all bytes of /dev/sda are readable, do
Code:
dd if=/dev/sda bs=1M | wc -c
This will silently read all data from /dev/sda and in the end "wc -c"
will print the number of seen bytes. If no input/output error appears
and the number of bytes matches your expectations, then the disk did well.


> Get:1 file:/a/extract/08 stretch/main amd64 zzuf amd64 0.15-1+b1 [62.2 kB]
> Hash Sum mismatch
> E: Read error - read (5: Input/output error)
> [... no error in dmesg ...]

My best guess is that the copy of DVD 8 is truncated or damaged.
How large is file /mnt/iso/08.iso ?
If it is too short, then trying to read from the missing part would yield
an input/output error, although the hard disk itself is ok. This would explain
why there is no matching error message in dmesg.


> apt-get update;

This probably tries to update the system's package management by the
content of your DVD copies.
The copies are found, but all are not in the state that apt-get expects.
The lack of file signatures indicates damaged content of the copies.
(Or a fat bug in apt-get, which many people use sucessfully.)


> > I use brasero to copy dvd.

This step could be a cause of the problem. It is exotic at least.

You should verify your DVD copies by the checksums
Code:
/sbin/isosize -x /mnt/iso/08.iso
will tell how many blocks should be there. E.g.:
Code:
sector count: 2286235 sector size: 2048
With these numbers pipe the bytes of the ISO filesystem into md5sum
Code:
dd if=/mnt/iso/08.iso count=2286235 bs=2048 | md5sum
The result will be a string of 32 characters and digits. Compare it
with the corresponding string in
https://cdimage.debian.org/debian-cd...so-dvd/MD5SUMS
In case of DVD 8 it should be "41d593aa442979a3229127608e0475f7".
If it is not, then the file /mnt/iso/08.iso is damaged.

You may do the same test with DVD 8 in the DVD drive and file address
if=/dev/sr0 instead of if=/mnt/iso/08.iso.
If both checksums do not match the one from the Debian list, then you need
better DVDs or ISO images.

Only the first 3 DVD ISO images are available by http download at:
https://cdimage.debian.org/debian-cd...amd64/iso-dvd/
(They make quite a complete system already.)
The others would have to be fetched by Jigdo:
https://cdimage.debian.org/debian-cd...d64/jigdo-dvd/
or by BitTorrent
https://www.debian.org/CD/torrent-cd/
(I assume Jigdo and BitTorrent are among the packages of the first three
ISO images.)


> Suppose we prove the hard disk is bad. Then what? Is there software
> to mark the bad parts?

Without the claim that this is what you can use
http://www.thomas-krenn.com/en/wiki/..._with_smartctl
The company which states this has a good reputation over here in germany.

The organisation behind "smartmontools" has a list of Live CD systems which
contain the tools:
https://www.smartmontools.org/wiki/LiveCDs
(Some links don't work any more or lead to sites in non-english languages.)

Have a nice day

Thomas

Last edited by scdbackup; 09-09-2017 at 06:18 AM. Reason: Inserted real size number of DVD 8 as of debian-9.1.0-amd64-DVD-8.jigdo
 
Old 09-12-2017, 11:12 AM   #7
pedros
Member
 
Registered: May 2017
Posts: 85

Original Poster
Rep: Reputation: Disabled
Thank you. It seems to work.
How I created a local repository, on 500gb internal hard disk, in debian 9.1.0.

1. Get debian 9.1.0 software repository. I use a dvd vendor that is listed on the debian website.

2. adjust bios.
Code:
file> apply defaults and exit. do this first to prevent suprises.
security> network boot> disable. I never boot from the network.
security> system security> virtualization technology> enable. required for virtual machine.
security> secure boot> legacy support> enable. required by debian?
security> secure boot> secure boot> disable. required by debian?
security> secure boot> fast boot> disable. required by debian?
advanced> power-on> post messages> enable. helpful.
advanced> power-on> post delay> 5. helpful.
3. gparted> device> create partition table> msdos.
4. Install debian 9.1.0.
5. Create target directory structure.
6. Change some permissions to liberal.
This code requires super user privledge, su.
Code:
mkdir -p /09.1/iso/ /09.1/extract/01/ /09.1/extract/02/ /09.1/extract/03/ /09.1/extract/04/ /09.1/extract/05/ /09.1/extract/06/ /09.1/extract/07/ /09.1/extract/08/ /09.1/extract/09/ /09.1/extract/10/ /09.1/extract/11/ /09.1/extract/12/ /09.1/extract/13/ /09.1/extract/14/;
chmod -R a+rwx /09.1/ /etc/fstab /etc/apt/sources.list;
7. copy from dvd physical media to iso file.
Code:
dd if=/dev/sr1 bs=1M of=/09.1/iso/01.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/02.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/03.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/04.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/05.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/06.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/07.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/08.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/09.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/10.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/11.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/12.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/13.iso;
dd if=/dev/sr1 bs=1M of=/09.1/iso/14.iso;
result from above.
Quote:
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/01.iso;
3648+0 records in
3648+0 records out
3825205248 bytes (3.8 GB, 3.6 GiB) copied, 261.426 s, 14.6 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/02.iso;
4474+1 records in
4474+1 records out
4691984384 bytes (4.7 GB, 4.4 GiB) copied, 302.11 s, 15.5 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/03.iso;
4478+1 records in
4478+1 records out
4696178688 bytes (4.7 GB, 4.4 GiB) copied, 302.466 s, 15.5 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/04.iso;
4465+1 records in
4465+1 records out
4682645504 bytes (4.7 GB, 4.4 GiB) copied, 296.26 s, 15.8 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/05.iso;
4464+1 records in
4464+1 records out
4681433088 bytes (4.7 GB, 4.4 GiB) copied, 300.416 s, 15.6 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/06.iso;
4468+1 records in
4468+1 records out
4685692928 bytes (4.7 GB, 4.4 GiB) copied, 296.888 s, 15.8 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/07.iso;
4345+1 records in
4345+1 records out
4556849152 bytes (4.6 GB, 4.2 GiB) copied, 528.362 s, 8.6 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/08.iso;
4465+1 records in
4465+1 records out
4682209280 bytes (4.7 GB, 4.4 GiB) copied, 296.569 s, 15.8 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/09.iso;
4477+1 records in
4477+1 records out
4695293952 bytes (4.7 GB, 4.4 GiB) copied, 403.972 s, 11.6 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/10.iso;
4470+1 records in
4470+1 records out
4687994880 bytes (4.7 GB, 4.4 GiB) copied, 299.636 s, 15.6 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/11.iso;
4396+1 records in
4396+1 records out
4610293760 bytes (4.6 GB, 4.3 GiB) copied, 384.847 s, 12.0 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/12.iso;
4477+1 records in
4477+1 records out
4695179264 bytes (4.7 GB, 4.4 GiB) copied, 299.64 s, 15.7 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/13.iso;
4478+1 records in
4478+1 records out
4696113152 bytes (4.7 GB, 4.4 GiB) copied, 392.224 s, 12.0 MB/s
stretch@debian:~$ dd if=/dev/sr1 bs=1M of=/09.1/iso/14.iso;
526+1 records in
526+1 records out
552560640 bytes (553 MB, 527 MiB) copied, 54.824 s, 10.1 MB/s
8. optional. verify iso copies of DVD by the checksums.
Code:
/sbin/isosize -x /09.1/iso/01.iso /09.1/iso/02.iso /09.1/iso/03.iso /09.1/iso/04.iso /09.1/iso/05.iso /09.1/iso/06.iso /09.1/iso/07.iso /09.1/iso/08.iso /09.1/iso/09.iso /09.1/iso/10.iso /09.1/iso/11.iso /09.1/iso/12.iso /09.1/iso/13.iso /09.1/iso/14.iso;
result from above. will tell how many blocks should be there.
Quote:
/09.1/iso/01.iso: sector count: 1867776, sector size: 2048
/09.1/iso/02.iso: sector count: 2291001, sector size: 2048
/09.1/iso/03.iso: sector count: 2293044, sector size: 2048
/09.1/iso/04.iso: sector count: 2286446, sector size: 2048
/09.1/iso/05.iso: sector count: 2285855, sector size: 2048
/09.1/iso/06.iso: sector count: 2287929, sector size: 2048
/09.1/iso/07.iso: sector count: 2225017, sector size: 2048
/09.1/iso/08.iso: sector count: 2286235, sector size: 2048
/09.1/iso/09.iso: sector count: 2292616, sector size: 2048
/09.1/iso/10.iso: sector count: 2289060, sector size: 2048
/09.1/iso/11.iso: sector count: 2251117, sector size: 2048
/09.1/iso/12.iso: sector count: 2292568, sector size: 2048
/09.1/iso/13.iso: sector count: 2293021, sector size: 2048
/09.1/iso/14.iso: sector count: 269805, sector size: 2048
9. optional. With these numbers pipe the bytes of the ISO filesystem into md5sum.
Code:
dd if=/09.1/iso/01.iso count=1867776 bs=2048 | md5sum;
dd if=/09.1/iso/02.iso count=2291001 bs=2048 | md5sum;
dd if=/09.1/iso/03.iso count=2293044 bs=2048 | md5sum;
dd if=/09.1/iso/04.iso count=2286446 bs=2048 | md5sum;
dd if=/09.1/iso/05.iso count=2285855 bs=2048 | md5sum;
dd if=/09.1/iso/06.iso count=2287929 bs=2048 | md5sum;
dd if=/09.1/iso/07.iso count=2225017 bs=2048 | md5sum;
dd if=/09.1/iso/08.iso count=2286235 bs=2048 | md5sum;
dd if=/09.1/iso/09.iso count=2292616 bs=2048 | md5sum;
dd if=/09.1/iso/10.iso count=2289060 bs=2048 | md5sum;
dd if=/09.1/iso/11.iso count=2251117 bs=2048 | md5sum;
dd if=/09.1/iso/12.iso count=2292568 bs=2048 | md5sum;
dd if=/09.1/iso/13.iso count=2293021 bs=2048 | md5sum;
dd if=/09.1/iso/14.iso count=269805 bs=2048 | md5sum;
result from above. The result will be a string of 32 characters and digits.
Quote:
stretch@debian:~$ dd if=/09.1/iso/01.iso count=1867776 bs=2048 | md5sum;
1867776+0 records in
1867776+0 records out
a7ffd995b3b3e0f44dd8eed7a30afca8 -
3825205248 bytes (3.8 GB, 3.6 GiB) copied, 32.4915 s, 118 MB/s
stretch@debian:~$ dd if=/09.1/iso/02.iso count=2291001 bs=2048 | md5sum;
2291001+0 records in
2291001+0 records out
4691970048 bytes (4.7 GB, 4.4 GiB) copied, 40.2476 s, 117 MB/s
8c0f5c6c02f754ed504d3adec75e7554 -
stretch@debian:~$ dd if=/09.1/iso/03.iso count=2293044 bs=2048 | md5sum;
2293044+0 records in
2293044+0 records out
4696154112 bytes (4.7 GB, 4.4 GiB) copied, 40.7344 s, 115 MB/s
29e23d8482bc5b4a53afee82fefe37d7 -
stretch@debian:~$ dd if=/09.1/iso/04.iso count=2286446 bs=2048 | md5sum;
2286446+0 records in
2286446+0 records out
4682641408 bytes (4.7 GB, 4.4 GiB) copied, 40.5438 s, 115 MB/s
1902b919a1b407e799ef5d05a4a73da4 -
stretch@debian:~$ dd if=/09.1/iso/05.iso count=2285855 bs=2048 | md5sum;
2285855+0 records in
2285855+0 records out
4681431040 bytes (4.7 GB, 4.4 GiB) copied, 40.326 s, 116 MB/s
e05ad5d09c97de868934de778535c656 -
stretch@debian:~$ dd if=/09.1/iso/06.iso count=2287929 bs=2048 | md5sum;
2287929+0 records in
2287929+0 records out
1c990068519642b22dcefedff749ec2b -
4685678592 bytes (4.7 GB, 4.4 GiB) copied, 40.3792 s, 116 MB/s
stretch@debian:~$ dd if=/09.1/iso/07.iso count=2225017 bs=2048 | md5sum;
2225017+0 records in
2225017+0 records out
4556834816 bytes (4.6 GB, 4.2 GiB) copied, 41.1907 s, 111 MB/s
8b16ab793a1b031d8b17f1204de0e2b3 -
stretch@debian:~$ dd if=/09.1/iso/08.iso count=2286235 bs=2048 | md5sum;
2286235+0 records in
2286235+0 records out
4682209280 bytes (4.7 GB, 4.4 GiB) copied, 42.7249 s, 110 MB/s
41d593aa442979a3229127608e0475f7 -
stretch@debian:~$ dd if=/09.1/iso/09.iso count=2292616 bs=2048 | md5sum;
2292616+0 records in
2292616+0 records out
4695277568 bytes (4.7 GB, 4.4 GiB) copied, 42.637 s, 110 MB/s
0826c4703fb5893c82574f5a5ed0e009 -
stretch@debian:~$ dd if=/09.1/iso/10.iso count=2289060 bs=2048 | md5sum;
2289060+0 records in
2289060+0 records out
4687994880 bytes (4.7 GB, 4.4 GiB) copied, 42.7611 s, 110 MB/s
ed31e520c6f1886aee8fee8e22b04058 -
stretch@debian:~$ dd if=/09.1/iso/11.iso count=2251117 bs=2048 | md5sum;
2251117+0 records in
2251117+0 records out
4610287616 bytes (4.6 GB, 4.3 GiB) copied, 41.9205 s, 110 MB/s
f74a35b541463a9fad1dc485bbfdb265 -
stretch@debian:~$ dd if=/09.1/iso/12.iso count=2292568 bs=2048 | md5sum;
2292568+0 records in
2292568+0 records out
4695179264 bytes (4.7 GB, 4.4 GiB) copied, 42.6033 s, 110 MB/s
8bb3945f00e0239eb35e07247ceeda6b -
stretch@debian:~$ dd if=/09.1/iso/13.iso count=2293021 bs=2048 | md5sum;
2293021+0 records in
2293021+0 records out
4696107008 bytes (4.7 GB, 4.4 GiB) copied, 42.5918 s, 110 MB/s
4a7c7a3d2d8e0cf58ebd0ba48bd54884 -
stretch@debian:~$ dd if=/09.1/iso/14.iso count=269805 bs=2048 | md5sum;
269805+0 records in
269805+0 records out
8438f8c14c632dd57f3f2f7acae75105 -
552560640 bytes (553 MB, 527 MiB) copied, 5.03552 s, 110 MB/s
edit the above for easy viewing.
Quote:
a7ffd995b3b3e0f44dd8eed7a30afca8
8c0f5c6c02f754ed504d3adec75e7554
29e23d8482bc5b4a53afee82fefe37d7
1902b919a1b407e799ef5d05a4a73da4
e05ad5d09c97de868934de778535c656
1c990068519642b22dcefedff749ec2b
8b16ab793a1b031d8b17f1204de0e2b3
41d593aa442979a3229127608e0475f7
0826c4703fb5893c82574f5a5ed0e009
ed31e520c6f1886aee8fee8e22b04058
f74a35b541463a9fad1dc485bbfdb265
8bb3945f00e0239eb35e07247ceeda6b
4a7c7a3d2d8e0cf58ebd0ba48bd54884
8438f8c14c632dd57f3f2f7acae75105
Compare it with the corresponding string in https://cdimage.debian.org/debian-cd...so-dvd/MD5SUMS.
Quote:
a7ffd995b3b3e0f44dd8eed7a30afca8 debian-9.1.0-amd64-DVD-1.iso
8c0f5c6c02f754ed504d3adec75e7554 debian-9.1.0-amd64-DVD-2.iso
29e23d8482bc5b4a53afee82fefe37d7 debian-9.1.0-amd64-DVD-3.iso
1902b919a1b407e799ef5d05a4a73da4 debian-9.1.0-amd64-DVD-4.iso
e05ad5d09c97de868934de778535c656 debian-9.1.0-amd64-DVD-5.iso
1c990068519642b22dcefedff749ec2b debian-9.1.0-amd64-DVD-6.iso
8b16ab793a1b031d8b17f1204de0e2b3 debian-9.1.0-amd64-DVD-7.iso
41d593aa442979a3229127608e0475f7 debian-9.1.0-amd64-DVD-8.iso
0826c4703fb5893c82574f5a5ed0e009 debian-9.1.0-amd64-DVD-9.iso
ed31e520c6f1886aee8fee8e22b04058 debian-9.1.0-amd64-DVD-10.iso
f74a35b541463a9fad1dc485bbfdb265 debian-9.1.0-amd64-DVD-11.iso
8bb3945f00e0239eb35e07247ceeda6b debian-9.1.0-amd64-DVD-12.iso
4a7c7a3d2d8e0cf58ebd0ba48bd54884 debian-9.1.0-amd64-DVD-13.iso
8438f8c14c632dd57f3f2f7acae75105 debian-9.1.0-amd64-DVD-14.iso
If the two strings are diffrent, then the iso file is damaged.

10. copy and paste this into the bottom of /etc/fstab.
Code:
/09.1/iso/01.iso /09.1/extract/01/ udf,iso9660 loop 0 0
/09.1/iso/02.iso /09.1/extract/02/ udf,iso9660 loop 0 0
/09.1/iso/03.iso /09.1/extract/03/ udf,iso9660 loop 0 0
/09.1/iso/04.iso /09.1/extract/04/ udf,iso9660 loop 0 0
/09.1/iso/05.iso /09.1/extract/05/ udf,iso9660 loop 0 0
/09.1/iso/06.iso /09.1/extract/06/ udf,iso9660 loop 0 0
/09.1/iso/07.iso /09.1/extract/07/ udf,iso9660 loop 0 0
/09.1/iso/08.iso /09.1/extract/08/ udf,iso9660 loop 0 0
/09.1/iso/09.iso /09.1/extract/09/ udf,iso9660 loop 0 0
/09.1/iso/10.iso /09.1/extract/10/ udf,iso9660 loop 0 0
/09.1/iso/11.iso /09.1/extract/11/ udf,iso9660 loop 0 0
/09.1/iso/12.iso /09.1/extract/12/ udf,iso9660 loop 0 0
/09.1/iso/13.iso /09.1/extract/13/ udf,iso9660 loop 0 0
/09.1/iso/14.iso /09.1/extract/14/ udf,iso9660 loop 0 0
11. copy and paste this into all of /etc/apt/sources.list
Code:
deb file:/09.1/extract/01/ stretch main contrib
deb file:/09.1/extract/02/ stretch main contrib
deb file:/09.1/extract/03/ stretch main contrib
deb file:/09.1/extract/04/ stretch main contrib
deb file:/09.1/extract/05/ stretch main contrib
deb file:/09.1/extract/06/ stretch main contrib
deb file:/09.1/extract/07/ stretch main contrib
deb file:/09.1/extract/08/ stretch main contrib
deb file:/09.1/extract/09/ stretch main contrib
deb file:/09.1/extract/10/ stretch main contrib
deb file:/09.1/extract/11/ stretch main contrib
deb file:/09.1/extract/12/ stretch main contrib
deb file:/09.1/extract/13/ stretch main contrib
deb file:/09.1/extract/14/ stretch main contrib
12. Mount all filesystems mentioned in fstab. As directed in /etc/fstab, extract from /mnt/iso/*.iso into /mnt/extract/*/.
13. Tell system about new repository.
This code requires super user privledge, su.
Code:
mount -a; apt-get update;
result from above.
Quote:
mount: /dev/loop14 is write-protected, mounting read-only
mount: /dev/loop15 is write-protected, mounting read-only
mount: /dev/loop16 is write-protected, mounting read-only
mount: /dev/loop17 is write-protected, mounting read-only
mount: /dev/loop18 is write-protected, mounting read-only
mount: /dev/loop19 is write-protected, mounting read-only
mount: /dev/loop20 is write-protected, mounting read-only
mount: /dev/loop21 is write-protected, mounting read-only
mount: /dev/loop22 is write-protected, mounting read-only
mount: /dev/loop23 is write-protected, mounting read-only
mount: /dev/loop24 is write-protected, mounting read-only
mount: /dev/loop25 is write-protected, mounting read-only
mount: /dev/loop26 is write-protected, mounting read-only
mount: /dev/loop27 is write-protected, mounting read-only
Get:1 file:/09.1/extract/01 stretch InRelease
Ign:1 file:/09.1/extract/01 stretch InRelease
Get:2 file:/09.1/extract/02 stretch InRelease
Ign:2 file:/09.1/extract/02 stretch InRelease
Get:3 file:/09.1/extract/03 stretch InRelease
Ign:3 file:/09.1/extract/03 stretch InRelease
Get:4 file:/09.1/extract/04 stretch InRelease
Ign:4 file:/09.1/extract/04 stretch InRelease
Get:5 file:/09.1/extract/05 stretch InRelease
Ign:5 file:/09.1/extract/05 stretch InRelease
Get:6 file:/09.1/extract/06 stretch InRelease
Ign:6 file:/09.1/extract/06 stretch InRelease
Get:7 file:/09.1/extract/07 stretch InRelease
Ign:7 file:/09.1/extract/07 stretch InRelease
Get:8 file:/09.1/extract/08 stretch InRelease
Ign:8 file:/09.1/extract/08 stretch InRelease
Get:9 file:/09.1/extract/09 stretch InRelease
Ign:9 file:/09.1/extract/09 stretch InRelease
Get:10 file:/09.1/extract/10 stretch InRelease
Ign:10 file:/09.1/extract/10 stretch InRelease
Get:11 file:/09.1/extract/11 stretch InRelease
Ign:11 file:/09.1/extract/11 stretch InRelease
Get:12 file:/09.1/extract/12 stretch InRelease
Ign:12 file:/09.1/extract/12 stretch InRelease
Get:13 file:/09.1/extract/13 stretch InRelease
Ign:13 file:/09.1/extract/13 stretch InRelease
Get:14 file:/09.1/extract/14 stretch InRelease
Ign:14 file:/09.1/extract/14 stretch InRelease
Get:15 file:/09.1/extract/01 stretch Release [19.1 kB]
Get:15 file:/09.1/extract/01 stretch Release [19.1 kB]
Get:16 file:/09.1/extract/02 stretch Release [16.9 kB]
Get:16 file:/09.1/extract/02 stretch Release [16.9 kB]
Get:17 file:/09.1/extract/03 stretch Release [13.9 kB]
Get:17 file:/09.1/extract/03 stretch Release [13.9 kB]
Get:18 file:/09.1/extract/04 stretch Release [13.1 kB]
Get:19 file:/09.1/extract/05 stretch Release [13.9 kB]
Get:18 file:/09.1/extract/04 stretch Release [13.1 kB]
Get:19 file:/09.1/extract/05 stretch Release [13.9 kB]
Get:20 file:/09.1/extract/06 stretch Release [13.5 kB]
Get:20 file:/09.1/extract/06 stretch Release [13.5 kB]
Get:21 file:/09.1/extract/07 stretch Release [13.9 kB]
Get:21 file:/09.1/extract/07 stretch Release [13.9 kB]
Get:22 file:/09.1/extract/08 stretch Release [13.5 kB]
Get:22 file:/09.1/extract/08 stretch Release [13.5 kB]
Get:23 file:/09.1/extract/09 stretch Release [13.9 kB]
Get:23 file:/09.1/extract/09 stretch Release [13.9 kB]
Get:24 file:/09.1/extract/10 stretch Release [14.3 kB]
Get:24 file:/09.1/extract/10 stretch Release [14.3 kB]
Get:25 file:/09.1/extract/11 stretch Release [14.4 kB]
Get:25 file:/09.1/extract/11 stretch Release [14.4 kB]
Get:26 file:/09.1/extract/12 stretch Release [13.1 kB]
Get:26 file:/09.1/extract/12 stretch Release [13.1 kB]
Get:27 file:/09.1/extract/13 stretch Release [11.8 kB]
Get:27 file:/09.1/extract/13 stretch Release [11.8 kB]
Get:28 file:/09.1/extract/14 stretch Release [7,549 B]
Get:28 file:/09.1/extract/14 stretch Release [7,549 B]
Get:29 file:/09.1/extract/01 stretch Release.gpg
Ign:29 file:/09.1/extract/01 stretch Release.gpg
Get:30 file:/09.1/extract/02 stretch Release.gpg
Ign:30 file:/09.1/extract/02 stretch Release.gpg
Get:31 file:/09.1/extract/03 stretch Release.gpg
Ign:31 file:/09.1/extract/03 stretch Release.gpg
Get:32 file:/09.1/extract/04 stretch Release.gpg
Ign:32 file:/09.1/extract/04 stretch Release.gpg
Get:33 file:/09.1/extract/05 stretch Release.gpg
Ign:33 file:/09.1/extract/05 stretch Release.gpg
Get:34 file:/09.1/extract/06 stretch Release.gpg
Ign:34 file:/09.1/extract/06 stretch Release.gpg
Get:35 file:/09.1/extract/07 stretch Release.gpg
Ign:35 file:/09.1/extract/07 stretch Release.gpg
Get:36 file:/09.1/extract/08 stretch Release.gpg
Ign:36 file:/09.1/extract/08 stretch Release.gpg
Get:37 file:/09.1/extract/09 stretch Release.gpg
Ign:37 file:/09.1/extract/09 stretch Release.gpg
Get:38 file:/09.1/extract/10 stretch Release.gpg
Ign:38 file:/09.1/extract/10 stretch Release.gpg
Get:39 file:/09.1/extract/11 stretch Release.gpg
Ign:39 file:/09.1/extract/11 stretch Release.gpg
Get:40 file:/09.1/extract/12 stretch Release.gpg
Ign:40 file:/09.1/extract/12 stretch Release.gpg
Get:41 file:/09.1/extract/13 stretch Release.gpg
Ign:41 file:/09.1/extract/13 stretch Release.gpg
Get:42 file:/09.1/extract/14 stretch Release.gpg
Ign:42 file:/09.1/extract/14 stretch Release.gpg
Get:43 file:/09.1/extract/01 stretch/main amd64 Packages [897 kB]
Ign:43 file:/09.1/extract/01 stretch/main amd64 Packages
Get:44 file:/09.1/extract/01 stretch/contrib amd64 Packages [400 B]
Ign:44 file:/09.1/extract/01 stretch/contrib amd64 Packages
Get:45 file:/09.1/extract/02 stretch/main amd64 Packages [708 kB]
Ign:45 file:/09.1/extract/02 stretch/main amd64 Packages
Get:46 file:/09.1/extract/02 stretch/contrib amd64 Packages [3,567 B]
Ign:46 file:/09.1/extract/02 stretch/contrib amd64 Packages
Get:47 file:/09.1/extract/03 stretch/main amd64 Packages [544 kB]
Ign:47 file:/09.1/extract/03 stretch/main amd64 Packages
Get:48 file:/09.1/extract/03 stretch/contrib amd64 Packages [3,641 B]
Ign:48 file:/09.1/extract/03 stretch/contrib amd64 Packages
Get:49 file:/09.1/extract/04 stretch/main amd64 Packages [608 kB]
Ign:49 file:/09.1/extract/04 stretch/main amd64 Packages
Get:50 file:/09.1/extract/04 stretch/contrib amd64 Packages [2,532 B]
Ign:50 file:/09.1/extract/04 stretch/contrib amd64 Packages
Get:51 file:/09.1/extract/05 stretch/main amd64 Packages [613 kB]
Ign:51 file:/09.1/extract/05 stretch/main amd64 Packages
Get:52 file:/09.1/extract/05 stretch/contrib amd64 Packages [2,062 B]
Ign:52 file:/09.1/extract/05 stretch/contrib amd64 Packages
Get:53 file:/09.1/extract/06 stretch/main amd64 Packages [601 kB]
Ign:53 file:/09.1/extract/06 stretch/main amd64 Packages
Get:54 file:/09.1/extract/06 stretch/contrib amd64 Packages [2,353 B]
Ign:54 file:/09.1/extract/06 stretch/contrib amd64 Packages
Get:55 file:/09.1/extract/07 stretch/main amd64 Packages [523 kB]
Ign:55 file:/09.1/extract/07 stretch/main amd64 Packages
Get:56 file:/09.1/extract/07 stretch/contrib amd64 Packages [3,209 B]
Ign:56 file:/09.1/extract/07 stretch/contrib amd64 Packages
Get:57 file:/09.1/extract/08 stretch/main amd64 Packages [950 kB]
Ign:57 file:/09.1/extract/08 stretch/main amd64 Packages
Get:58 file:/09.1/extract/08 stretch/contrib amd64 Packages [4,214 B]
Ign:58 file:/09.1/extract/08 stretch/contrib amd64 Packages
Get:59 file:/09.1/extract/09 stretch/main amd64 Packages [940 kB]
Ign:59 file:/09.1/extract/09 stretch/main amd64 Packages
Get:60 file:/09.1/extract/09 stretch/contrib amd64 Packages [5,326 B]
Ign:60 file:/09.1/extract/09 stretch/contrib amd64 Packages
Get:61 file:/09.1/extract/10 stretch/main amd64 Packages [1,486 kB]
Ign:61 file:/09.1/extract/10 stretch/main amd64 Packages
Get:62 file:/09.1/extract/10 stretch/contrib amd64 Packages [8,405 B]
Ign:62 file:/09.1/extract/10 stretch/contrib amd64 Packages
Get:63 file:/09.1/extract/11 stretch/main amd64 Packages [1,547 kB]
Ign:63 file:/09.1/extract/11 stretch/main amd64 Packages
Get:64 file:/09.1/extract/11 stretch/contrib amd64 Packages [6,196 B]
Ign:64 file:/09.1/extract/11 stretch/contrib amd64 Packages
Get:65 file:/09.1/extract/12 stretch/main amd64 Packages [1,069 kB]
Ign:65 file:/09.1/extract/12 stretch/main amd64 Packages
Get:66 file:/09.1/extract/12 stretch/contrib amd64 Packages [4,055 B]
Ign:66 file:/09.1/extract/12 stretch/contrib amd64 Packages
Get:67 file:/09.1/extract/13 stretch/main amd64 Packages [642 kB]
Ign:67 file:/09.1/extract/13 stretch/main amd64 Packages
Get:68 file:/09.1/extract/13 stretch/contrib amd64 Packages [8,099 B]
Ign:68 file:/09.1/extract/13 stretch/contrib amd64 Packages
Get:69 file:/09.1/extract/14 stretch/main amd64 Packages [101 kB]
Ign:69 file:/09.1/extract/14 stretch/main amd64 Packages
Get:43 file:/09.1/extract/01 stretch/main amd64 Packages [897 kB]
Get:44 file:/09.1/extract/01 stretch/contrib amd64 Packages [400 B]
Get:45 file:/09.1/extract/02 stretch/main amd64 Packages [708 kB]
Get:46 file:/09.1/extract/02 stretch/contrib amd64 Packages [3,567 B]
Get:47 file:/09.1/extract/03 stretch/main amd64 Packages [544 kB]
Get:48 file:/09.1/extract/03 stretch/contrib amd64 Packages [3,641 B]
Get:49 file:/09.1/extract/04 stretch/main amd64 Packages [608 kB]
Get:50 file:/09.1/extract/04 stretch/contrib amd64 Packages [2,532 B]
Get:51 file:/09.1/extract/05 stretch/main amd64 Packages [613 kB]
Get:52 file:/09.1/extract/05 stretch/contrib amd64 Packages [2,062 B]
Get:53 file:/09.1/extract/06 stretch/main amd64 Packages [601 kB]
Get:54 file:/09.1/extract/06 stretch/contrib amd64 Packages [2,353 B]
Get:55 file:/09.1/extract/07 stretch/main amd64 Packages [523 kB]
Get:56 file:/09.1/extract/07 stretch/contrib amd64 Packages [3,209 B]
Get:57 file:/09.1/extract/08 stretch/main amd64 Packages [950 kB]
Get:58 file:/09.1/extract/08 stretch/contrib amd64 Packages [4,214 B]
Get:59 file:/09.1/extract/09 stretch/main amd64 Packages [940 kB]
Get:60 file:/09.1/extract/09 stretch/contrib amd64 Packages [5,326 B]
Get:61 file:/09.1/extract/10 stretch/main amd64 Packages [1,486 kB]
Get:62 file:/09.1/extract/10 stretch/contrib amd64 Packages [8,405 B]
Get:63 file:/09.1/extract/11 stretch/main amd64 Packages [1,547 kB]
Get:64 file:/09.1/extract/11 stretch/contrib amd64 Packages [6,196 B]
Get:65 file:/09.1/extract/12 stretch/main amd64 Packages [1,069 kB]
Get:66 file:/09.1/extract/12 stretch/contrib amd64 Packages [4,055 B]
Get:67 file:/09.1/extract/13 stretch/main amd64 Packages [642 kB]
Get:68 file:/09.1/extract/13 stretch/contrib amd64 Packages [8,099 B]
Get:69 file:/09.1/extract/14 stretch/main amd64 Packages [101 kB]
Reading package lists... Done
W: The repository 'file:/09.1/extract/01 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/02 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/03 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/04 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/05 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/06 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/07 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/08 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/09 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/10 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/11 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/12 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/13 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'file:/09.1/extract/14 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
optional. the followng is to test physical dvd.

verify each physical DVD by the checksums. with DVD in the DVD drive.
Code:
/sbin/isosize -x /dev/sr1;
will tell how many blocks should be there.With these numbers pipe the bytes of the physical DVD filesystem into md5sum. with DVD in the DVD drive.
Code:
dd if=/dev/sr1 count=1867776 bs=2048 | md5sum;
dd if=/dev/sr1 count=2291001 bs=2048 | md5sum;
dd if=/dev/sr1 count=2293044 bs=2048 | md5sum;
dd if=/dev/sr1 count=2286446 bs=2048 | md5sum;
dd if=/dev/sr1 count=2285855 bs=2048 | md5sum;
dd if=/dev/sr1 count=2287929 bs=2048 | md5sum;
dd if=/dev/sr1 count=2225017 bs=2048 | md5sum;
dd if=/dev/sr1 count=2286235 bs=2048 | md5sum;
dd if=/dev/sr1 count=2292616 bs=2048 | md5sum;
dd if=/dev/sr1 count=2289060 bs=2048 | md5sum;
dd if=/dev/sr1 count=2251117 bs=2048 | md5sum;
dd if=/dev/sr1 count=2292568 bs=2048 | md5sum;
dd if=/dev/sr1 count=2293021 bs=2048 | md5sum;
dd if=/dev/sr1 count=269805 bs=2048 | md5sum;
The result will be a string of 32 characters and digits.edit the above for easy viewing.Compare it with the corresponding string in https://cdimage.debian.org/debian-cd...so-dvd/MD5SUMS.If the two strings are diffrent, then the dvd is damaged.
 
Old 09-12-2017, 02:18 PM   #8
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

congrats to your success.
Did you find a reason for the input/output errors ?
Was an ISO damaged or the disk in need of bad spot fixing ?

Have a nice day

Thomas
 
Old 09-13-2017, 06:46 PM   #9
pedros
Member
 
Registered: May 2017
Posts: 85

Original Poster
Rep: Reputation: Disabled
Many of the old iso files had incorrect md5 sums, according to the test you gave me to do. So I used dd to copy dvd to new iso. Then I re-did everything, and posted the good results.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM Error: /dev/sda: read failed after 0 of 4096 at 0: Input/output error sandeep002gupta Linux - Server 4 08-10-2017 07:35 AM
[SOLVED] stty: standard input: Input/output error [bash] DoME69 Programming 7 05-22-2015 12:14 AM
Error fsyncing/closing/dev/sda: Input/output error Petalocsta Linux - Laptop and Netbook 2 11-07-2011 05:40 PM
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 11:51 AM
cp - error reading /mnt/cdrom/mpegav/avseq01.dat input/output error manishsingh4u Linux - General 2 10-17-2005 05:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration