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


Groups > linux.debian.user > #237467

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

From David <bouncingcats@gmail.com>
Newsgroups linux.debian.user
Subject Re: How do I mount the USB stick containing the installer in Rescue Mode?
Date 2021-07-16 07:50 +0200
Message-ID <CBoTv-7a0-3@gated-at.bofh.it> (permalink)
References (3 earlier) <CB8c2-4MY-5@gated-at.bofh.it> <CBdY5-rl-5@gated-at.bofh.it> <CBehr-xP-5@gated-at.bofh.it> <CBeAN-ER-1@gated-at.bofh.it> <CBeUa-12b-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 16 Jul 2021 at 05:00, Stella Ashburne <rewefie@gmx.com> wrote:

I'm getting a sense of possible XY problem here.
https://en.wikipedia.org/wiki/XY_problem

> > Chicken and egg: I think the OP is trying to set up some sort of
> > repository to install packages from. (I can't be sure.

> Your guess is right. I wish to install linux-image-5.10.0-7-amd64.deb
> onto chroot /target after entering Rescue Mode.

I suspect that 'I want to use rescue mode to install a kernel' is
question "Y", whereas ...

> > I would
> > have preferred it if they'd continued to try and boot their
> > actual installed system,

> At this moment I don't have a GRUB menu.

... previously we have been told that a grub boot failure is the
*actual* problem "X", unless something has changed from what
we've been told so far.

In my opinion, this is what needs to be fixed before making the situation
more confusing by trying to add another kernel to a broken installation.

My guess is that the reinstallation failed because it was
done in such a way that /boot was not the mount point
of the unencrypted boot partition at the time that the
installer configured grub and generated the initrd.

After chroot succeeds, the first goal must be to fix what originally
caused the grub menu breakage during the reinstall attempt.
That requires to check that /boot is the mount point of the
unencrypted boot partition

After that, run 'grub-update' and 'grub-install' as I have
already advised in previous messages.

'grub-install --boot-directory=/mount/point/of/boot/partition
/dev/hdd/specified/here'

Note that these commands must be run in a *linux* *shell*
environment. And the grub> prompt is *not* one of those.
grub is not an entire linux system, it is just a boot loader.

I would also make a backup of all the initrd files and then run
'update-initramfs -u -k all' and fix any errors it gives.

And then reboot and see if it works.

The time to install a new kernel will be after that.

Also as previously advised, if asking for help in future please
show the output of 'lsblk -f' because it shows all devices, whereas
'mount' and 'df' only give information about filesystems that
are mounted.

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