[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?



On Wed, Jul 21, 2021 at 01:28:57PM +0200, Stella Ashburne wrote:
> Hi Reco
> 
> Thanks for your help.
> 
> > Sent: Friday, July 16, 2021 at 5:09 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?
> >
> > > > 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.
> > > >
> > > Could you be so nice as to give me the command(s) to bind mount the directory with packages? Thank you.
> >
> > mount --bind <source_dir_with_packages> \
> > 	/target/<target_dir_where_packages_should_be>
> >
> 
> Sorry, what's source_dir_with_packages ? Were you referring to /dev/sdb1 ?

No, a bind mount doesn't take a device name as an argument.  It takes
two directory names.  From the man page:

       mount --bind|--rbind|--move olddir newdir

It's used when you've already got the device mounted somewhere (the first
directory), and you'd also like it to appear in a second place.


Reply to: