Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #270285
| From | <tomas@tuxteam.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: mounting external hard drive from rescue mode shell? |
| Date | 2024-06-20 06:40 +0200 |
| Message-ID | <IRhKx-4cJS-1@gated-at.bofh.it> (permalink) |
| References | <IR5q1-44Nw-7@gated-at.bofh.it> <IR9jY-47eg-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
mounting external hard drive from rescue mode shell? Heriberto Avelino <heriberto.avelino@gmail.com> - 2024-06-19 17:30 +0200
Re: mounting external hard drive from rescue mode shell? eben@gmx.us - 2024-06-19 18:00 +0200
Re: mounting external hard drive from rescue mode shell? David Christensen <dpchrist@holgerdanske.com> - 2024-06-19 19:10 +0200
Re: mounting external hard drive from rescue mode shell? Heriberto Avelino <heriberto.avelino@gmail.com> - 2024-06-19 21:40 +0200
Re: mounting external hard drive from rescue mode shell? eben@gmx.us - 2024-06-19 23:10 +0200
Re: mounting external hard drive from rescue mode shell? <tomas@tuxteam.de> - 2024-06-20 06:40 +0200
Re: mounting external hard drive from rescue mode shell? David Christensen <dpchrist@holgerdanske.com> - 2024-06-20 07:10 +0200
Re: mounting external hard drive from rescue mode shell? Max Nikulin <manikulin@gmail.com> - 2024-06-21 04:20 +0200
Re: mounting external hard drive from rescue mode shell? David Christensen <dpchrist@holgerdanske.com> - 2024-06-21 06:50 +0200
Re: mounting external hard drive from rescue mode shell? Max Nikulin <manikulin@gmail.com> - 2024-06-22 05:00 +0200
Re: mounting external hard drive from rescue mode shell? Richard Owlett <rowlett@access.net> - 2024-06-22 13:50 +0200
Re: mounting external hard drive from rescue mode shell? "Thomas Schmitt" <scdbackup@gmx.net> - 2024-06-22 14:40 +0200
Re: mounting external hard drive from rescue mode shell? Richard Owlett <rowlett@access.net> - 2024-06-22 15:40 +0200
Re: mounting external hard drive from rescue mode shell? Andy Smith <andy@strugglers.net> - 2024-06-22 16:00 +0200
Re: mounting external hard drive from rescue mode shell? Richard Owlett <rowlett@access.net> - 2024-06-22 19:40 +0200
Re: mounting external hard drive from rescue mode shell? David Christensen <dpchrist@holgerdanske.com> - 2024-06-22 22:20 +0200
Re: mounting external hard drive from rescue mode shell? Andy Smith <andy@strugglers.net> - 2024-06-23 00:40 +0200
Re: mounting external hard drive from rescue mode shell? "Andrew M.A. Cater" <amacater@einval.com> - 2024-06-23 11:50 +0200
Re: mounting external hard drive from rescue mode shell? David Christensen <dpchrist@holgerdanske.com> - 2024-06-22 19:00 +0200
Re: mounting external hard drive from rescue mode shell? Stefan Monnier <monnier@iro.umontreal.ca> - 2024-06-22 19:20 +0200
Re: mounting external hard drive from rescue mode shell? Richard Owlett <rowlett@access.net> - 2024-06-22 19:50 +0200
Re: mounting external hard drive from rescue mode shell? Stefan Monnier <monnier@iro.umontreal.ca> - 2024-06-23 18:40 +0200
Re: mounting external hard drive from rescue mode shell? <tomas@tuxteam.de> - 2024-06-23 19:20 +0200
Re: OT - list mail claimed to be "known" spam! (was: mounting external hard drive...) Felix Miata <mrmazda@earthlink.net> - 2024-06-23 23:00 +0200
Re: OT - list mail claimed to be "known" spam! Stefan Monnier <monnier@iro.umontreal.ca> - 2024-06-24 01:10 +0200
Re: OT - list mail claimed to be "known" spam! (was: mounting external hard drive...) CHRIS M <CHRIS@cwm030.com> - 2024-06-24 04:40 +0200
Re: OT - list mail claimed to be "known" spam! John Hasler <john@sugarbit.com> - 2024-06-24 04:50 +0200
Re: OT - list mail claimed to be "known" spam! Felix Miata <mrmazda@earthlink.net> - 2024-06-24 05:00 +0200
Re: mounting external hard drive from rescue mode shell? Richard Owlett <rowlett@access.net> - 2024-06-24 17:40 +0200
Re: mounting external hard drive from rescue mode shell? Stefan Monnier <monnier@iro.umontreal.ca> - 2024-06-25 00:00 +0200
Re: mounting external hard drive from rescue mode shell? Jeffrey Walton <noloader@gmail.com> - 2024-06-22 23:20 +0200
Re: mounting external hard drive from rescue mode shell? "Andrew M.A. Cater" <amacater@einval.com> - 2024-06-22 23:50 +0200
csiph-web