Re: Installing Debian 10 from flash drive [NO network]
On Sat, 21 Nov 2020 09:11:18 -0600 Richard Owlett wrote: > On 11/20/2020 10:56 AM, Marko Randjelovic wrote: > > On Fri, 20 Nov 2020 09:35:04 -0600 > > Richard Owlett 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.
Re: Installing Debian 10 from flash drive [NO network]
On 11/20/2020 10:56 AM, Marko Randjelovic wrote: On Fri, 20 Nov 2020 09:35:04 -0600 Richard Owlett 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.
Re: Installing Debian 10 from flash drive [NO network]
On Fri 20 Nov 2020 at 17:22:33 +, 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. --
Re: Installing Debian 10 from flash drive [NO network]
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.
Re: Installing Debian 10 from flash drive [NO network]
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.
Re: Installing Debian 10 from flash drive [NO network]
On Fri, 20 Nov 2020 09:35:04 -0600 Richard Owlett 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
Re: Installing Debian 10 from flash drive [NO network]
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
Re: Installing Debian 10 from flash drive [NO network]
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
Re: Installing Debian 10 from flash drive [NO network]
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
Re: Installing Debian 10 from flash drive [NO network]
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