Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #228805 > unrolled thread

Installing Debian 10 from flash drive [NO network]

Started byRichard Owlett <rowlett@cloud85.net>
First post2020-11-20 14:50 +0100
Last post2020-11-21 01:10 +0100
Articles 11 — 6 participants

Back to article view | Back to linux.debian.user


Contents

  Installing Debian 10 from flash drive [NO network] Richard Owlett <rowlett@cloud85.net> - 2020-11-20 14:50 +0100
    Re: Installing Debian 10 from flash drive [NO network] Peter Ehlert <peter@sdi-baja.com> - 2020-11-20 15:10 +0100
      Re: Installing Debian 10 from flash drive [NO network] Richard Owlett <rowlett@cloud85.net> - 2020-11-20 16:40 +0100
        Re: Installing Debian 10 from flash drive [NO network] Peter Ehlert <peter@sdi-baja.com> - 2020-11-20 17:30 +0100
        Re: Installing Debian 10 from flash drive [NO network] Marko Randjelovic <markoran@eunet.rs> - 2020-11-20 18:10 +0100
          Re: Installing Debian 10 from flash drive [NO network] Richard Owlett <rowlett@cloud85.net> - 2020-11-21 16:20 +0100
            Re: Installing Debian 10 from flash drive [NO network] Marko Randjelovic <markoran@eunet.rs> - 2020-11-21 18:50 +0100
    Re: Installing Debian 10 from flash drive [NO network] "Thomas Schmitt" <scdbackup@gmx.net> - 2020-11-20 18:00 +0100
      Re: Installing Debian 10 from flash drive [NO network] Brian <ad44@cityscape.co.uk> - 2020-11-20 21:50 +0100
    Re: Installing Debian 10 from flash drive [NO network] "Andrew M.A. Cater" <amacater@einval.com> - 2020-11-20 18:30 +0100
      Re: Installing Debian 10 from flash drive [NO network] Brian <ad44@cityscape.co.uk> - 2020-11-21 01:10 +0100

#228805 — Installing Debian 10 from flash drive [NO network]

FromRichard Owlett <rowlett@cloud85.net>
Date2020-11-20 14:50 +0100
SubjectInstalling Debian 10 from flash drive [NO network]
Message-ID<BdeXv-7GB-3@gated-at.bofh.it>
I've copied (using dd) the .iso of Debian 10's DVD1 to a USB flash drive.

I have no problem doing a normal install.
The problem occurs when attempting to install additional packages.

I receive a message to insert the appropriate DVD.
There is *NO* DVD drive.

I've see instructions for appropriately mounting the flash drive.
They are now lost due to a disk crash.
How is it done?
TIA

[toc] | [next] | [standalone]


#228806

FromPeter Ehlert <peter@sdi-baja.com>
Date2020-11-20 15:10 +0100
Message-ID<BdfgS-82D-5@gated-at.bofh.it>
In reply to#228805
I believe the "request" for a DVD is outdated.
Try inserting your USB device and proceed as normal

*perhaps it should say "insert the install media" or something similar

On 11/20/20 5:43 AM, Richard Owlett wrote:
> I've copied (using dd) the .iso of Debian 10's DVD1 to a USB flash drive.
>
> I have no problem doing a normal install.
> The problem occurs when attempting to install additional packages.
>
> I receive a message to insert the appropriate DVD.
> There is *NO* DVD drive.
>
> I've see instructions for appropriately mounting the flash drive.
> They are now lost due to a disk crash.
> How is it done?
> TIA
>
>
>

[toc] | [prev] | [next] | [standalone]


#228809

FromRichard Owlett <rowlett@cloud85.net>
Date2020-11-20 16:40 +0100
Message-ID<BdgFX-k2-9@gated-at.bofh.it>
In reply to#228806
On 11/20/2020 07:52 AM, Peter Ehlert wrote:
> I believe the "request" for a DVD is outdated.
> Try inserting your USB device and proceed as normal

I did a completely fresh install to the test machine - including a full 
install of the MATE desktop.

I attempted to install gparted using Synaptic.
The message received was:

"Please insert the disk labeled:
Debian GNU/Linux10.0.0_Buster_-Official amd64 DVD
Binary-120190706-10:24
in drive /media/cdrom/"

What is the solution?


> 
> *perhaps it should say "insert the install media" or something similar
> 
> On 11/20/20 5:43 AM, Richard Owlett wrote:
>> I've copied (using dd) the .iso of Debian 10's DVD1 to a USB flash drive.
>>
>> I have no problem doing a normal install.
>> The problem occurs when attempting to install additional packages.
>>
>> I receive a message to insert the appropriate DVD.
>> There is *NO* DVD drive.
>>
>> I've see instructions for appropriately mounting the flash drive.
>> They are now lost due to a disk crash.
>> How is it done?
>> TIA
>>
>>
>>
> 
> 
> 

[toc] | [prev] | [next] | [standalone]


#228811

FromPeter Ehlert <peter@sdi-baja.com>
Date2020-11-20 17:30 +0100
Message-ID<Bdhsl-Rj-1@gated-at.bofh.it>
In reply to#228809
On 11/20/20 7:35 AM, Richard Owlett wrote:
> On 11/20/2020 07:52 AM, Peter Ehlert wrote:
>> I believe the "request" for a DVD is outdated.
>> Try inserting your USB device and proceed as normal
>
> I did a completely fresh install to the test machine - including a 
> full install of the MATE desktop.
>
> I attempted to install gparted using Synaptic.
> The message received was:
>
> "Please insert the disk labeled:
> Debian GNU/Linux10.0.0_Buster_-Official amd64 DVD
> Binary-120190706-10:24
> in drive /media/cdrom/"
>
> What is the solution?
I also use Mate, but usually do net-installs.
I don't have a system installed with the DVD1 ISO handy.
Normally the final steps of the installer deactivates the install media 
in the /etc/apt/sources.list file.
Have a look there... or copy the contents here for review.
>
>
>>
>> *perhaps it should say "insert the install media" or something similar
>>
>> On 11/20/20 5:43 AM, Richard Owlett wrote:
>>> I've copied (using dd) the .iso of Debian 10's DVD1 to a USB flash 
>>> drive.
>>>
>>> I have no problem doing a normal install.
>>> The problem occurs when attempting to install additional packages.
>>>
>>> I receive a message to insert the appropriate DVD.
>>> There is *NO* DVD drive.
>>>
>>> I've see instructions for appropriately mounting the flash drive.
>>> They are now lost due to a disk crash.
>>> How is it done?
>>> TIA
>>>
>>>
>>>
>>
>>
>>
>
>
>

[toc] | [prev] | [next] | [standalone]


#228813

FromMarko Randjelovic <markoran@eunet.rs>
Date2020-11-20 18:10 +0100
Message-ID<Bdi54-1jO-13@gated-at.bofh.it>
In reply to#228809
On Fri, 20 Nov 2020 09:35:04 -0600
Richard Owlett <rowlett@cloud85.net> wrote:

> 
> I attempted to install gparted using Synaptic.
> The message received was:
> 
> "Please insert the disk labeled:
> Debian GNU/Linux10.0.0_Buster_-Official amd64 DVD
> Binary-120190706-10:24
> in drive /media/cdrom/"
> 
> What is the solution?

As of my experience, th only solution is this:

Insert the flash.
# mkdir /media/usb0
# mount /dev/sdb /media/usb0 # (replace sdb with device node of your
flash)
# rm /media/cdrom
# ln -s usb0 /media/cdrom
# apt-get update
# apt-get install gparted

[toc] | [prev] | [next] | [standalone]


#228850

FromRichard Owlett <rowlett@cloud85.net>
Date2020-11-21 16:20 +0100
Message-ID<BdCQ9-5tx-1@gated-at.bofh.it>
In reply to#228813
On 11/20/2020 10:56 AM, Marko Randjelovic wrote:
> On Fri, 20 Nov 2020 09:35:04 -0600
> Richard Owlett <rowlett@cloud85.net> wrote:
> 
>>
>> I attempted to install gparted using Synaptic.
>> The message received was:
>>
>> "Please insert the disk labeled:
>> Debian GNU/Linux10.0.0_Buster_-Official amd64 DVD
>> Binary-120190706-10:24
>> in drive /media/cdrom/"
>>
>> What is the solution?
> 
> As of my experience, th only solution is this:
> 
> Insert the flash.
> # mkdir /media/usb0
> # mount /dev/sdb /media/usb0 # (replace sdb with device node of your
> flash)
> # rm /media/cdrom
> # ln -s usb0 /media/cdrom
> # apt-get update
> # apt-get install gparted

That appears to be a more rigorously correct rendition of what I 
partially recalled. I remembered only the "mount" command was part of it.

[toc] | [prev] | [next] | [standalone]


#228857

FromMarko Randjelovic <markoran@eunet.rs>
Date2020-11-21 18:50 +0100
Message-ID<BdFbk-6L3-13@gated-at.bofh.it>
In reply to#228850
On Sat, 21 Nov 2020 09:11:18 -0600
Richard Owlett <rowlett@cloud85.net> wrote:

> On 11/20/2020 10:56 AM, Marko Randjelovic wrote:
> > On Fri, 20 Nov 2020 09:35:04 -0600
> > Richard Owlett <rowlett@cloud85.net> wrote:
> >   
> >>
> >> I attempted to install gparted using Synaptic.
> >> The message received was:
> >>
> >> "Please insert the disk labeled:
> >> Debian GNU/Linux10.0.0_Buster_-Official amd64 DVD
> >> Binary-120190706-10:24
> >> in drive /media/cdrom/"
> >>
> >> What is the solution?  
> > 
> > As of my experience, th only solution is this:
> > 
> > Insert the flash.
> > # mkdir /media/usb0
> > # mount /dev/sdb /media/usb0 # (replace sdb with device node of your
> > flash)
> > # rm /media/cdrom
> > # ln -s usb0 /media/cdrom
> > # apt-get update
> > # apt-get install gparted  
> 
> That appears to be a more rigorously correct rendition of what I 
> partially recalled. I remembered only the "mount" command was part of it.

The essential fact is that APT always looks any disk in /media/cdrom.
If you want to add another disk, it's possible, but first you have to
mount it somewhere and make /media/cdrom point to that dir. The same
trick you use when you are asked to insert another disk during
install/upgrade packages.

[toc] | [prev] | [next] | [standalone]


#228812

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2020-11-20 18:00 +0100
Message-ID<BdhVo-11c-7@gated-at.bofh.it>
In reply to#228805
Hi,

Richard Owlett wrote:
> > I've copied (using dd) the .iso of Debian 10's DVD1 to a USB flash drive.

> I attempted to install gparted using Synaptic.
> The message received was:
> "Please insert the disk labeled:
>  Debian GNU/Linux10.0.0_Buster_-Official amd64 DVD

If i search "gparted" by
  https://cdimage-search.debian.org/
it says

  ...
  3. gparted_0.32.0-2_amd64.deb appears in:
    ...
    debian-10.6.0-amd64-DVD-1 (list.gz | jigdo | iso)

So it is supposed to be on the USB flash drive.
How about writing an entry in
  /etc/apt/sources.list
for the mount point of your USB drive ?

  deb file:...path... buster main

I understand that the path after "file:" should point to the directory with
subdirectories ./dist and ./pool . That would be the root directory of
the mounted ISO on the stick.
Assumed that the USB drive is mounted at /mnt/iso i'd try:

  deb file:/mnt/iso buster main

If all works well, the request for DVD-1 should not appear any more.
A package from a DVD with higher number will pose the problem again.
In this case i would advise one of the ISOs "STICK16GB-1", "BD-1",
"DLBD-1" depending on how much the USB drive can take.


Have a nice day :)

Thomas

[toc] | [prev] | [next] | [standalone]


#228820

FromBrian <ad44@cityscape.co.uk>
Date2020-11-20 21:50 +0100
Message-ID<BdlvX-3dZ-1@gated-at.bofh.it>
In reply to#228812
On Fri 20 Nov 2020 at 17:59:38 +0100, Thomas Schmitt wrote:

> Hi,
> 
> Richard Owlett wrote:
> > > I've copied (using dd) the .iso of Debian 10's DVD1 to a USB flash drive.
> 
> > I attempted to install gparted using Synaptic.
> > The message received was:
> > "Please insert the disk labeled:
> >  Debian GNU/Linux10.0.0_Buster_-Official amd64 DVD
> 
> If i search "gparted" by
>   https://cdimage-search.debian.org/
> it says
> 
>   ...
>   3. gparted_0.32.0-2_amd64.deb appears in:
>     ...
>     debian-10.6.0-amd64-DVD-1 (list.gz | jigdo | iso)
> 
> So it is supposed to be on the USB flash drive.

gparted is "supposed to be on DVD-1"? It is actually and truly on DVD-1.
I know it is on DVD-1: you know it is on DVD-1; everyone knows it is on
DVD-1; the experienced OP can check it is on DVD-1.

What's the problem? sources.list? Maybe. Whatever it is, he has been on
this jag for long enough to sort it out.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#228814

From"Andrew M.A. Cater" <amacater@einval.com>
Date2020-11-20 18:30 +0100
Message-ID<Bdiop-1qu-5@gated-at.bofh.it>
In reply to#228805
On Fri, Nov 20, 2020 at 07:43:02AM -0600, Richard Owlett wrote:
> I've copied (using dd) the .iso of Debian 10's DVD1 to a USB flash drive.
> 
> I have no problem doing a normal install.
> The problem occurs when attempting to install additional packages.
> 
> I receive a message to insert the appropriate DVD.
> There is *NO* DVD drive.
> 
> I've see instructions for appropriately mounting the flash drive.
> They are now lost due to a disk crash.
> How is it done?
> TIA
> 
> 
This has the potential to come up again and again :) If you _only_ install 
from a DVD and have no network, then the medium is left as the only source in 
/etc/apt/sources.list - the first cdrom line is still there because you have
nothing else.

[I only discovered this doing the last run of CD testing when Steve M. 
happened to tell me why :) ]

You could:

Put the DVD .iso file on disk, loopback mount it and use apt-cdrom

You could download subsequent DVDs and do the same.

Or you can mount the DVD as someone else has suggested and do it that way.
Given no network on the final machine, I'd be most tempted to use a nearby 
mirror and jigdo to make the 16G Jigdo image, dd that onto a stick and
use that.

All the very best, as ever,

Andy C.

[toc] | [prev] | [next] | [standalone]


#228822

FromBrian <ad44@cityscape.co.uk>
Date2020-11-21 01:10 +0100
Message-ID<BdoDv-5hm-5@gated-at.bofh.it>
In reply to#228814
On Fri 20 Nov 2020 at 17:22:33 +0000, Andrew M.A. Cater wrote:

> On Fri, Nov 20, 2020 at 07:43:02AM -0600, Richard Owlett wrote:
> > I've copied (using dd) the .iso of Debian 10's DVD1 to a USB flash drive.
> > 
> > I have no problem doing a normal install.
> > The problem occurs when attempting to install additional packages.
> > 
> > I receive a message to insert the appropriate DVD.
> > There is *NO* DVD drive.
> > 
> > I've see instructions for appropriately mounting the flash drive.
> > They are now lost due to a disk crash.
> > How is it done?
> > TIA
> > 
> > 
> This has the potential to come up again and again :)

[...]

As in

  https://lists.debian.org/debian-user/2019/05/msg01463.html

The thread (containing a solution) continues into June 2019.

-- 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web