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


Groups > linux.debian.user > #237456

Re: How do I mount the USB stick containing the installer in Rescue Mode?

From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: How do I mount the USB stick containing the installer in Rescue Mode?
Date 2021-07-15 21:10 +0200
Message-ID <CBeUa-12b-9@gated-at.bofh.it> (permalink)
References (2 earlier) <CB8c1-4MY-1@gated-at.bofh.it> <CB8c2-4MY-5@gated-at.bofh.it> <CBdY5-rl-5@gated-at.bofh.it> <CBehr-xP-5@gated-at.bofh.it> <CBer8-Bs-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Thu, Jul 15, 2021 at 08:38:59PM +0200, Stella Ashburne wrote:
> > Sent: Thursday, July 15, 2021 at 6:26 PM
> > From: "Brian" <ad44@cityscape.co.uk>
> > To: debian-user@lists.debian.org
> > Subject: Re: How do I mount the USB stick containing the installer in Rescue Mode?
> >
> > On Thu 15 Jul 2021 at 20:01:05 +0200, Stella Ashburne wrote:
> >
> > > root@perfect:/# file -sL /dev/sdb1
> > > bash: file: command not found
> > > root@perfect:/#
> >
> Nope, apparently it isn't available in Rescue Mode.
> 
> Entered encryption passphrase -> Choose a device to use as root file system -> /dev/perfect-vg/root -> Execute a shell in /dev/perfect-vg/root

Ok. Can you use this rescue mode to execute an ordinary shell, with full
access to all filesystems?
I've been thinking about it, and it makes some sense.

If you're using your USB stick to boot, you have its file system
(/dev/sdb1 in this case) mounted. If you're executing a shell in a
logical volume, you're chrooted into that filesystem.

But it does not change that the filesystem from /dev/sdb1 is mounted
already, it's just inaccessible from the chroot.


What you actually need is to bind mount the directory with packages into
the mounted /dev/perfect-vg/root, and just chroot into it. No need to
modify /etc/fstab at all.

Reco

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-15 11:50 +0200
  Re: How do I mount the USB stick containing the installer in Rescue  Mode? Reco <recoverym4n@enotuniq.net> - 2021-07-15 12:00 +0200
    Re: How do I mount the USB stick containing the installer in Rescue  Mode? Greg Wooledge <greg@wooledge.org> - 2021-07-15 13:10 +0200
      Re: How do I mount the USB stick containing the installer in Rescue  Mode? The Wanderer <wanderer@fastmail.fm> - 2021-07-15 13:20 +0200
      Re: How do I mount the USB stick containing the installer in Rescue  Mode? Reco <recoverym4n@enotuniq.net> - 2021-07-15 13:20 +0200
      Re: How do I mount the USB stick containing the installer in Rescue  Mode? Joe <joe@jretrading.com> - 2021-07-15 15:50 +0200
      Re: How do I mount the USB stick containing the installer in Rescue Mode? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-07-15 17:40 +0200
        Re: How do I mount the USB stick containing the installer in Rescue  Mode? Reco <recoverym4n@enotuniq.net> - 2021-07-15 18:20 +0200
          Re: [Misstänkt skräppost] Re: How do I mount the USB stick containing the installer in Rescue Mode? "xtra-kaj@telia.com" <xtra-kaj@telia.com> - 2021-07-17 09:30 +0200
    Re: How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-15 14:00 +0200
      Re: How do I mount the USB stick containing the installer in Rescue  Mode? Reco <recoverym4n@enotuniq.net> - 2021-07-15 14:00 +0200
        Re: How do I mount the USB stick containing the installer in Rescue  Mode? David Wright <deblis@lionunicorn.co.uk> - 2021-07-15 17:50 +0200
          Re: How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-15 20:40 +0200
            Re: How do I mount the USB stick containing the installer in Rescue  Mode? David Wright <deblis@lionunicorn.co.uk> - 2021-07-15 21:10 +0200
              Re: How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-15 22:20 +0200
                Re: How do I mount the USB stick containing the installer in Rescue  Mode? Greg Wooledge <greg@wooledge.org> - 2021-07-15 22:30 +0200
                Re: How do I mount the USB stick containing the installer in Rescue  Mode? David Wright <deblis@lionunicorn.co.uk> - 2021-07-16 06:50 +0200
        Re: How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-15 20:10 +0200
          Re: How do I mount the USB stick containing the installer in Rescue  Mode? Brian <ad44@cityscape.co.uk> - 2021-07-15 20:30 +0200
            Re: How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-15 20:40 +0200
              Re: How do I mount the USB stick containing the installer in Rescue  Mode? Reco <recoverym4n@enotuniq.net> - 2021-07-15 21:10 +0200
                Re: How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-15 22:20 +0200
                Re: How do I mount the USB stick containing the installer in Rescue  Mode? Reco <recoverym4n@enotuniq.net> - 2021-07-16 07:10 +0200
                Re: How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-21 13:30 +0200
                Re: How do I mount the USB stick containing the installer in Rescue  Mode? Reco <recoverym4n@enotuniq.net> - 2021-07-21 13:50 +0200
                Re: How do I mount the USB stick containing the installer in Rescue  Mode? Greg Wooledge <greg@wooledge.org> - 2021-07-21 13:50 +0200
                Re: How do I mount the USB stick containing the installer in Rescue  Mode? Richard Hector <richard@walnut.gen.nz> - 2021-07-21 21:20 +0200
                Re: How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-27 09:30 +0200
                Re: How do I mount the USB stick containing the installer in Rescue  Mode? Reco <recoverym4n@enotuniq.net> - 2021-07-27 10:20 +0200
                Re: How do I mount the USB stick containing the installer in Rescue  Mode? Greg Wooledge <greg@wooledge.org> - 2021-07-27 13:40 +0200
            Re: How do I mount the USB stick containing the installer in Rescue  Mode? David Wright <deblis@lionunicorn.co.uk> - 2021-07-15 20:50 +0200
              Re: How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-15 21:10 +0200
                Re: How do I mount the USB stick containing the installer in Rescue Mode? David <bouncingcats@gmail.com> - 2021-07-16 07:50 +0200
  Re: How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-15 13:40 +0200
  Re: How do I mount the USB stick containing the installer in Rescue  Mode? David Wright <deblis@lionunicorn.co.uk> - 2021-07-15 18:10 +0200
    Re: How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-15 21:00 +0200
      Re: How do I mount the USB stick containing the installer in Rescue Mode? "Thomas Schmitt" <scdbackup@gmx.net> - 2021-07-15 21:40 +0200
        Re: How do I mount the USB stick containing the installer in Rescue  Mode? Stella Ashburne <rewefie@gmx.com> - 2021-07-15 22:20 +0200
          Re: How do I mount the USB stick containing the installer in Rescue  Mode? David Wright <deblis@lionunicorn.co.uk> - 2021-07-16 06:50 +0200
      Re: How do I mount the USB stick containing the installer in Rescue  Mode? David Wright <deblis@lionunicorn.co.uk> - 2021-07-16 06:50 +0200
        Re: How do I mount the USB stick containing the installer in Rescue  Mode? Greg Wooledge <greg@wooledge.org> - 2021-07-16 13:40 +0200
          Re: How do I mount the USB stick containing the installer in Rescue  Mode? David Wright <deblis@lionunicorn.co.uk> - 2021-07-16 17:20 +0200
            Re: How do I mount the USB stick containing the installer in Rescue  Mode? Greg Wooledge <greg@wooledge.org> - 2021-07-16 18:00 +0200

csiph-web