Re: How to make apt-cdrom read Flashdisk?
Hi,
SteffenTAN wrote:
> They only give Me 3 files with name of DVD 1, 2 and 3
> so, I searching for answer then, I use rufus to Install the 1st DVD (Debian
> OS) it's work.
I guess you could install a base system from the "DVD-1" stick and then
put the mount point addresses of the two other "DVD" images into
/etc/apt/sources.list
of the installed system before you install more packages.
But that's Debian sysadmin work which others can explain better.
(I see that Timothy M Butterworth proposes a similar approach in
https://lists.debian.org/debian-user/2023/04/msg00464.html
"Can't you install software from the online repos?"
I.e. you ignore DVD-2 and 3 and rather use Debian's normal way of
installing additional packages from the internet repositories by
help of "apt" or "apt-get". The matching entry in sources.list gets
created by the installation from DVD-1.
Better ask your teacher first, whether this method is ok.)
-----------------------------------------------------------------
Alternative approaches:
Possibility 2 would be the one which Pete Batard, the author of Rufus,
defends with great emphasis every time that it gets broken by distro ISOs.
Recently in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031696
he wrote
"In short, the expectation of many UEFI users -- [...]
-- is that they should be able to [format] a USB media to FAT32 and
then extract the full content from the Debian ISO there, to end up
with a media that they can use to both boot and install Debian."
I would bet that this works for multiple ISOs, too.
When trying i would first unpack DVD-2 and DVD-3 to the freshly formatted
FAT32 on the USB stick and only then DVD-1. So if any files are on DVD-1
and another DVD image, then the ones from DVD-1 would survive.
-----------------------------------------------------------------
A third possibility would be to ask the teacher for permission to use
debian-10.4.0-amd64-STICK16GB-1.iso
which you can get from
https://cdimage.debian.org/mirror/cdimage/archive/10.4.0/amd64/jigdo-16G/debian-10.4.0-amd64-STICK16GB-1.jigdo
and is supposed to contain what DVD-1 to 3 contain plus some more.
You'd need the program "jigdo-lite" which is available as MS-Windows
version from Steve McIntyre, a main Debian Developer of the installation
ISO images at
https://www.einval.com/~steve/software/jigdo/download/jigdo-win-0.8.1.zip
See also the "Downloads" paragraph on
https://www.einval.com/~steve/software/jigdo/
Instructions how to use it are at "4.2" and "4.3" of
https://tldp.org/HOWTO/Debian-Jigdo/downloadingyourfirstimage.html
Possibility 3 1/2 would be to follow
https://wiki.debian.org/JigdoOnLive
which explains how to use a Debian Live system (from USB stick) to
download the ISO by help of Debian's package "jigdo-file".
This wiki age also gives a more recent example on how to use program
jigdo-lite. See
https://wiki.debian.org/JigdoOnLive#Install_package_jigdo-file
I assume that this example works with the MS-Windows binary too.
-----------------------------------------------------------------
Possibility 4 would be to merge the three DVD images into one. See
https://wiki.debian.org/MergeDebianIsos
This needs a Unix-like shell environment (CygWin ?) and program xorriso,
of which .exe binaries exist in the web.
The resulting ISO will not have a Joliet tree and thus MS-Windows will show
only its dull ISO 9660 names when you inspect the result. This will not
hamper installation by Debian because as a GNU/Linux it will perceive the
Rock Ridge names which are even better than Joliet.
(The script "merge_debian_isos" can be modified to add Joliet.)
Have a nice day :)
Thomas
Reply to: