Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #208041
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? |
| Date | 2019-05-02 16:10 +0200 |
| Message-ID | <xTkzn-2A1-1@gated-at.bofh.it> (permalink) |
| References | <xTjjX-1Ds-3@gated-at.bofh.it> <xTjMZ-23e-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu 02 May 2019 at 15:12:46 +0200, Jonas Smedegaard wrote:
> Quoting Albretch Mueller (2019-05-02 14:42:08)
> > something like:
> >
> > 1) download the iso's
> >
> > 2) go: <some application> /dev/sdb
> >
> > where "/dev/sdb" is the device a USB disk is linked to
> >
> > then you would plug the disk on your computer and take it from there
> >
> > For that I used to burn live DVD but there should be a better way
>
> Debian ISOs specifically are prepared to be used not only on optical
> drives but also booted from e.g. USB flash drives.
>
> So "the better way" is to simply copy the image onto the device:
>
> sudo cp downloaded_image /dev/sdb
I use cat downloaded_image > /dev/sdb
> There is a cargo cult preaching the use of "dd" but that tool is like
> cutting trees with scissors: The wrong tool for the job!
>
> There are some suggesting to avoid the need for sudo by messing with
> udev rules to grant non-root write access to removable devices. When
> properly established that is indeed more safe, but setting it up can go
> wrong in just as bad and more complex ways to decipher than simply
> mistyping the device name and wiping your main system drive.
This is along the same lines as Message #34 at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751892
> To random people reading this bug: please do not EVER do
> this or it may subtly break other things and then get you
> flamed when you will waste my time debugging that.
Although the issue is treated sympathetically towards the end of the
report, I don't believe I've ever seen an example of subtle breakage.
I agree with what is said in Message #23 at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788662
> In any case, it seems unfortunate that users can no
> longer write an image to a USB disk without using root.
> Especially because that makes it easier to make a mistake
> and overwrite the wrong disk. I've made ahabit of always
> dd'ing as non-root, to make it somewhat less likely that
> I'd overwrite a system disk.
Which is why I have a udev rule with
SUBSYSTEM=="block", ATTRS{removable}=="1", GROUP="floppy"
in it. I might stop doing that if its use was demonstrated to have an
adverse effect on other things I do.
--
Brian.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is there a way to install Debian iso's from an existing installation onto a USB connected drive? Albretch Mueller <lbrtchx@gmail.com> - 2019-05-02 14:50 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? Dan Purgert <dan@djph.net> - 2019-05-02 15:10 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? Jonas Smedegaard <jonas@jones.dk> - 2019-05-02 15:20 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? <tomas@tuxteam.de> - 2019-05-02 15:50 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? Brian <ad44@cityscape.co.uk> - 2019-05-02 16:10 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? Jonas Smedegaard <jonas@jones.dk> - 2019-05-02 17:20 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? Brian <ad44@cityscape.co.uk> - 2019-05-02 19:40 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? Jonas Smedegaard <jonas@jones.dk> - 2019-05-02 20:30 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? Brian <ad44@cityscape.co.uk> - 2019-05-02 21:20 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? Dan Purgert <dan@djph.net> - 2019-05-02 16:50 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? <tomas@tuxteam.de> - 2019-05-02 17:10 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? Dan Purgert <dan@djph.net> - 2019-05-02 20:10 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? An Liu <sourceonly@gmail.com> - 2019-05-02 15:20 +0200
Re: Is there a way to install Debian iso's from an existing installation onto a USB connected drive? "Thomas Schmitt" <scdbackup@gmx.net> - 2019-05-02 17:10 +0200
csiph-web