On Wed, Jun 19, 2024 at 01:23:01PM -0600, Heriberto Avelino wrote:
> Thanks Eben and David!
> I am now on a shell (BusyBox v.35.0 Debian 1:1.35.0-4+b3)
> I don't see the mounting points to execute cp.

As far as I know, you have dmesg in the rescue shell. So the way to
go would be:

- insert your external disc
- wait a second or two for things to settle
- issue "dmesg | tail"
- you'll see your kernel recognising external media and trying
  to make sense of it. Here's an example:

======================================================
tomas@caliban:~$ sudo dmesg | tail
[ 1124.990155] scsi host2: usb-storage 2-6:1.0
[ 1126.811573] scsi 2:0:0:0: Direct-Access              USB DISK         PMAP 
PQ: 0 ANSI: 6
[ 1126.812188] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 1126.814169] sd 2:0:0:0: [sdb] 30310400 512-byte logical blocks: (15.5 
GB/14.5 GiB)
[ 1126.814602] sd 2:0:0:0: [sdb] Write Protect is off
[ 1126.814613] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 1126.814788] sd 2:0:0:0: [sdb] No Caching mode page found
[ 1126.814796] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 1126.820398]  sdb: sdb1
[ 1126.820515] sd 2:0:0:0: [sdb] Attached SCSI removable disk
======================================================

This was me inserting a DOS partitioned stick with one primary partition
(sdb1). Therefore, the block device will appear as /dev/sdb1.

Your mileage will almost certainly vary.

Now you can, e.g. say

mount /dev/sdb1 /mnt

The kernel will try to auto-detect which file system is on your partition.
You can, of course, choose another mount point than /mnt -- it has just
to be some directory. Its contents, if any, will be shadowed by your new
file system and won't be accessible as long as the mount is in effect.

From here on you can use mv, cp, whatever. Whenever copying lots of stuff
recursively, the option "-a" to cp comes in handy.

> There is nothing under media nor root; under usr I can see only: bin lib
> local sbin share.

Your rescue system is very bare-bones: it won't do automounting for you,
etc. I think that makes sense.

> Where are the internal h-drive and the external?
> I would very much appreciate your further help.

I hope the above description gets you started. In case of doubt, just
ask :)

> Who could have envisioned a community like this back in the 80's? This is
> great!

It is, yes. I'm very thankful for that.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to