Mount external hdd?

New to Debian (Or Linux in general)? Ask your questions here!

Mount external hdd?

Postby pironman » 2018-06-03 12:51

Hi, I switch to debian unstable yesterday, to obtai more recent software.
Right now I attached my external hard drive in the usb port, but nothing happen. Before, it appear on desktop.
I try to search on Google, but I can't find a solution. What I have to do?

Thank you
pironman
 
Posts: 13
Joined: 2018-04-16 11:11

Re: Mount external hdd?

Postby Dai_trying » 2018-06-03 13:21

Use your file manager.
Dai_trying
 
Posts: 447
Joined: 2016-01-07 12:25

Re: Mount external hdd?

Postby Head_on_a_Stick » 2018-06-03 15:00

pironman wrote:I switch to debian unstable yesterday, to obtai more recent software

Please read https://wiki.debian.org/DontBreakDebian ... f_Syndrome

Pro Tip: the MX Linux (v17) repositories are compatible with Debian stable and contain *many* backported packages.
"Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher."
— Antoine de Saint Exupéry, Terre des Hommes (1939).
User avatar
Head_on_a_Stick
 
Posts: 7562
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Mount external hdd?

Postby pironman » 2018-06-03 15:11

Dai_trying wrote:Use your file manager.


How? I don't see the hard disk neither
pironman
 
Posts: 13
Joined: 2018-04-16 11:11

Re: Mount external hdd?

Postby Dai_trying » 2018-06-03 20:04

pironman wrote:
Dai_trying wrote:Use your file manager.


How? I don't see the hard disk neither


Not knowing anything about your system (other that Debian Unstable) it is difficult to give you a direct answer, I would guess you have an application menu somewhere and in it should be a file manager (maybe Thunar, Konqueror, Midnight Commander, PcManFm or others) which you can open and usually mount any found filesystems.

EDIT: And it might be prudent to read the link posted by HOAS, it might save you later.
Dai_trying
 
Posts: 447
Joined: 2016-01-07 12:25

Re: Mount external hdd?

Postby cronoik » 2018-06-03 20:51

Please start the following command before attaching the hdd and post the output:
Code: Select all
tail -f /var/log/syslog

What is the output of
Code: Select all
fdisk -l

when the hdd is attached?
Have a nice day!
cronoik
 
Posts: 236
Joined: 2015-05-20 21:17

Re: Mount external hdd?

Postby pironman » 2018-06-04 03:57

many thanks!

Please start the following command before attaching the hdd and post the output:


The output is:

Code: Select all
Jun  4 06:38:27 Mattia org.freedesktop.thumbnails.Thumbnailer1[751]: Registered thumbailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
Jun  4 06:38:27 Mattia systemd-timesyncd[259]: Synchronized to time server 94.177.187.22:123 (0.debian.pool.ntp.org).
Jun  4 06:38:27 Mattia org.freedesktop.thumbnails.Thumbnailer1[751]: Registered thumbailer evince-thumbnailer -s %s %u %o
Jun  4 06:38:27 Mattia org.freedesktop.thumbnails.Thumbnailer1[751]: Registered thumbailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
Jun  4 06:38:28 Mattia dbus-daemon[751]: [session uid=1000 pid=751] Activating via systemd: service name='org.gtk.vfs.UDisks2VolumeMonitor' unit='gvfs-udisks2-volume-monitor.service' requested by ':1.26' (uid=1000 pid=910 comm="/usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd ")
Jun  4 06:38:28 Mattia systemd[725]: Starting Virtual filesystem service - disk device monitor...
Jun  4 06:38:28 Mattia dbus-daemon[751]: [session uid=1000 pid=751] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
Jun  4 06:38:28 Mattia systemd[725]: Started Virtual filesystem service - disk device monitor.
Jun  4 06:38:28 Mattia dbus-daemon[751]: [session uid=1000 pid=751] Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
Jun  4 06:40:24 Mattia wpa_supplicant[444]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-59 noise=-95 txrate=130000
Jun  4 06:41:30 Mattia anacron[447]: Job `cron.daily' started
Jun  4 06:41:30 Mattia anacron[1186]: Updated timestamp for job `cron.daily' to 2018-06-04
Jun  4 06:41:31 Mattia systemd[1]: Stopping Make remote CUPS printers available locally...
Jun  4 06:41:31 Mattia systemd[1]: Stopped Make remote CUPS printers available locally.
Jun  4 06:41:31 Mattia systemd[1]: Stopping CUPS Scheduler...
Jun  4 06:41:32 Mattia systemd[1]: Stopped CUPS Scheduler.
Jun  4 06:41:32 Mattia systemd[1]: Closed CUPS Scheduler.
Jun  4 06:41:32 Mattia systemd[1]: Stopping CUPS Scheduler.
Jun  4 06:41:32 Mattia systemd[1]: Listening on CUPS Scheduler.
Jun  4 06:41:32 Mattia systemd[1]: Stopped CUPS Scheduler.
Jun  4 06:41:32 Mattia systemd[1]: Stopping CUPS Scheduler.
Jun  4 06:41:32 Mattia systemd[1]: Started CUPS Scheduler.
Jun  4 06:41:32 Mattia systemd[1]: Started CUPS Scheduler.
Jun  4 06:41:32 Mattia systemd[1]: Started Make remote CUPS printers available locally.


and, for the second question:

Code: Select all
root@Mattia:/home/mattia# fdisk -l
Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x1e9019e3

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1  *          2048 1945147391 1945145344 927,5G 83 Linux
/dev/sda2       1945149438 1953523711    8374274     4G  5 Extended
/dev/sda5       1945149440 1953523711    8374272     4G 82 Linux swap / Solaris

Partition 2 does not start on physical sector boundary.




Disk /dev/sdb: 931,5 GiB, 1000170586112 bytes, 1953458176 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6355f2fc

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdb1        2048 1953458175 1953456128 931,5G  7 HPFS/NTFS/exFAT


many thanks
pironman
 
Posts: 13
Joined: 2018-04-16 11:11

Re: Mount external hdd?

Postby debiman » 2018-06-04 05:14

pironman wrote:many thanks!

and still you haven't done any work yourself, other than dump some output on us.
do you expect the online community to keep guiding you through your unstable adventures?
if you really, really, really need all that shiny new stuff, but can't be bothered to fix things yourself, you should try ubuntu.
User avatar
debiman
 
Posts: 2405
Joined: 2013-03-12 07:18

Re: Mount external hdd?

Postby Dai_trying » 2018-06-04 06:00

debiman wrote:and still you haven't done any work yourself, other than dump some output on us.


To be fair OP only posted the information requested, how many time do we see posters not doing that and being chastised for it?

EDIT: and I don't think anything needs "fixing" in this case, it just doesn't work as user expected.
Dai_trying
 
Posts: 447
Joined: 2016-01-07 12:25

Re: Mount external hdd?

Postby Hallvor » 2018-06-04 06:55

Try this (as root):

Code: Select all
mkdir /media/external

mount -t ntfs-3g /dev/sdb1 /media/external
HP Elitebook 2570p, Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 240 GB SSD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 814
Joined: 2009-04-16 18:35
Location: Norway

Re: Mount external hdd?

Postby pironman » 2018-06-04 18:40

Hallvor wrote:Try this (as root):

Code: Select all
mkdir /media/external

mount -t ntfs-3g /dev/sdb1 /media/external


it didn't work:

Code: Select all
root@Mattia:/home/mattia# mount -t ntfs-3g /dev/sdb1 /media/external
NTFS signature is missing.
Failed to mount '/dev/sdb1': Argomento non valido
The device '/dev/sdb1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?


and still you haven't done any work yourself, other than dump some output on us.
do you expect the online community to keep guiding you through your unstable adventures?
if you really, really, really need all that shiny new stuff, but can't be bothered to fix things yourself, you should try ubuntu.


I'm sorry, but I have no idea what can I do. I'm not a linux expert (that's why I have post on "Beginner question"), and I need some version of software not available in the stable version of debian.
But, after this "adventure", I'll reinstall debian stable. I need to backup my data first, then I need that the external hard drive works.
pironman
 
Posts: 13
Joined: 2018-04-16 11:11

Re: Mount external hdd?

Postby pironman » 2018-06-04 19:15

ok, I have format again the hard disk, and it works.
I don't know why, because before, with debian stable, it works.

Thanks for your support
pironman
 
Posts: 13
Joined: 2018-04-16 11:11


Return to Beginners Questions

Who is online

Users browsing this forum: sparky25 and 3 guests

fashionable