[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian Live CD as platform for debian-cd Jigdo download



Hi,

on occasion of a user question on debian-cd
  "Blueray Disk image"
  https://lists.debian.org/debian-cd/2018/01/msg00010.html
i exercised the whole procedure of Jigdo download by help of Debian LiveCD:

  debian-live-9.3.0-amd64-xfce.iso

It is bumpy. (But at least there is a terminal starter icon.)
I Cc Luca Biella who initially asked the question. Maybe my ride helps him
with his endeavor and maybe he can report about his experience with Live CD
and MS-Windows hard disk.


As was already noticed by Rick Thomas in above thread, jigdo-lite is not
pre-installed. So the first step is to do:

  sudo apt-get update
  apt-get install jigdo-file

The "processing triggers" part lasted nearly a minute. (The system was booted
from an old 2 GB USB stick at USB-2. Reads with about 5 MB/s, writes with
about 3 MB/s.)

The filemanager mounted me the 230 GB partition of my olde test Lenny and
so i could learn its device address from command "mount".
Out of stubborn tradition i mounted it via sudo as /mnt/lenny and went
to its traditional DVD storage

  cd /mnt/lenny/dvdbuffer

Then i used the web browser (from starter icon) and Google "debian jigdo-bd"
to locate the download site. I copied the URL and ran

  jigdo-lite

with input
  https://cdimage.debian.org/debian-cd/current/amd64/jigdo-bd/debian-9.3.0-amd64-BD-1.jigdo

Here i had to circumvent the allergy of jigdo-lite against https which
has been fixed in december by jigdo 0.7.3-5:
  * jigdo-lite: Cope with https URLs. Closes: #865864.
The installed jigdo-lite silently skips the attempt to download and then says
  File `https://cdimage.debian.org/debian-cd/current/amd64/jigdo-bd/debian-9.3.0-amd64-BD-1.jigdo' does not exist!

The workaround is simple. Fetch the files to simulate the situation after
an interrupted run (it is quite rugged with resuming):

  wget https://cdimage.debian.org/debian-cd/current/amd64/jigdo-bd/debian-9.3.0-amd64-BD-1.jigdo
  wget https://cdimage.debian.org/debian-cd/current/amd64/jigdo-bd/debian-9.3.0-amd64-BD-1.template

Now jigdo-lite gets to the question about "files" and mirrors. I used as
input:

  <empty line>
  http://ftp.de.debian.org/debian/
  
Regrettably there is no overall progress indication. I could not even find
a network throughput monitor in the XFCE desktop. So i installed xosview.
Now it is fetching packages. 5.5 MB/s throughput. Sometimes long latency.
Sorry mirror. For once you have to stand my giant suckling.

Half an hour later, i stand in front of a screen locker and have to google
on my workstation for login and password
  https://stackoverflow.com/questions/30842216/debian-8-live-cd-what-is-the-standard-login-and-password
proposes

  "user" "live"

which works.
Ok. The download still runs. 
But since the template was already inflated to .iso.tmp with full image
size, i have few means to see how far it is. With 2.5 MB/s effectively it
should be done in barely 3 hours ...
2 hours 28 minutes later it is complete and the ISO is verified.

I run

  xfburn &

which recognizes the DVD burner and also that the BD image will not fit
on the inserted DVD+RW. Because i am too lazy to carry a BD burner to the
test machine i burn a smaller DVD image instead.
(If xfburn would for some reason not work with BD media:
   sudo apt-get install xorriso
   xorriso -as cdrecord -v dev=/dev/sr0 -eject debian-9.3.0-amd64-BD-1.iso
)

--------------------------------------------------------------------------

I deem it desirable that Debian Live gets advertised for this task.

The MS-Windows version of Jigdo download software is very old meanwhile
  http://atterer.org/sites/atterer/files/2009-08/jigdo/jigdo-win-0.7.2.zip
It lasted several hours yesterday until wget finally succeeded to connect
and to download it.
Further, at least debian-cd does not seem to have the experience to advise
about MS-Windows or MacOS. A Debian GNU/Linux based opportunity would be
much better supportable.

How about a wiki page to which the debian-cd Jigdo download pages could
point ?

- Maybe somebody with more XFCE experience could streamline my
  above method to get write access to a hard disk partition.
  One would have to test this with partitions of MS-Windows and MacOS.

- Some tangible advise should be given for the mirrors. E.g. to look at
    https://www.debian.org/mirror/list
  (I learned mine from entering "de" into the "mirror" question of
   jigdo-lite. So i got a list of .de mirrors. But that's quite rough
   for the normal GUI addict.)

- The best known version of jigdo-file/jigdo-lite should be pre-installed
  in DVD sized Live ISOs, unless Live suffers from extreme space shortage.


Opinions ? Wiki snippets ?


Have a nice day :)

Thomas


Reply to: