[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



> Sent: Thursday, July 15, 2021 at 11:59 AM
> From: "Reco" <recoverym4n@enotuniq.net>
> To: debian-user@lists.debian.org
> Subject: Re: How do I mount the USB stick containing the installer in Rescue Mode?
>
> > Output of mount is
> >
> > root@perfect:/# mount
> > /dev/mapper/perfect--vg-root on / type ext4 (rw,relatime)
> > devtmpfs on /dev type devtmpfs (rw,relatime,size=8137669k,nr_inodes=2034417,mode=755)
> > proc on /proc type proc (rw,relatime)
> > sysfs on /sys type sysfs (rw,relatime)
> > tmpfs on /run type tmpfs (rw,nosuid,relatime,size=1629756k,mode=755)
> > root@perfect:/#
>
> And yet it fails to mount /dev/sdb1. Interesting.
>
I suppose the reason is that the USB stick is already mounted for booting into Rescue Mode.

> Ok, how about this (I'm assuming that the USB stick in question is
> plugged in):
>
Yes, it's always plugged in because I need it in Rescue Mode.

> lsblk
>
root@perfect:/# lsblk

NAME                     MAJ:MIN      RM   RO    TYPE    MOUNTPOINT
sda                      8:0          0    0     disk
  sda1                   8.1          0    0     part
  sda2                   8:2          0    0     part
  sda3                   8:3          0    0     part
    sda3_crypt           253:0        0    0     crypt
      perfect--vg-swap   253:1        0    0     lvm
      perfect--vg-root   253:2        0    0     lvm     /
sdb                      8:16         1    0     disk
  sdb1                   8:17         1    0     part
  sdb2                   8:18         1    0     part
sr0                      11:0         1    0     rom
root@perfect:/#

> fdisk -l /dev/sdb
>
root@perfect:/# fdisk -l /dev/sdb
Disk /dev/sdb

Device           Boot    Start     End      Sectors        Size      Id    Type
/dev/sdb1        *       0         7677919  7677920        3.7G      0     Empty
/dev/sdb2                24260     29443    5184           2.5M      ef    EFI (FAT-12/16/32)
root@perfect:/#

> file -sL /dev/sdb1
>
root@perfect:/# file -sL /dev/sdb1
bash: file: command not found
root@perfect:/#


> ls -al /media/usbdisk
>
root@perfect:/# ls -al /media/usbdisk
ls: cannot access '/media/usbdisk' : No such file or directory

> mountpoint /media/usbdisk
>
root@perfect:/# mountpoint /media/usbdisk
mountpoint: /media/usbdisk : No such file or directory
root@perfect:/#


Reply to: