LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2019, 03:50 AM   #1
u9477100
LQ Newbie
 
Registered: Aug 2018
Location: Rajarhat-New Town, Kolkata, West Bengal, India
Distribution: Linux-Mint 19 Tara
Posts: 23

Rep: Reputation: Disabled
Mount point does not exist


Dear Sir,
My mobo is GA-B85M-D3H, I5-4440, 8GB RAM, 1TB HDD, OS LM 19.2

A few days ago I upgraded from LM 19.1 to 19.2 Before upgrading I kept Backup in an External drive of 1TB after formatting it to Ext4.
But now I am not able to open the disk. First I tried clicking Computer. The error message was" Mount point does not exist"
Then I tried from the terminal. The result is hereunder:
Code:
soma@soma-B85M-D3H:~$ sudo mount /dev/sdb1 /media/external
[sudo] password for soma:          
mount: /media/external: mount point does not exist.
soma@soma-B85M-D3H:~$ sudo blkid -c /dev/null
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/sda1: UUID="D0E8-91B7" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="13e6a840-41d1-4fa9-bfff-4d22439632df"
/dev/sda2: UUID="a89c1712-e6ab-4d2a-8b05-1ec92269b491" TYPE="ext4" PARTUUID="c3bbe387-da0f-4dae-b169-dc03dd6df78c"
/dev/sdb1: LABEL="USB STICK" UUID="1db1b664-1443-42fe-b754-a5c17a3c5757" TYPE="ext4" PARTUUID="e6af9f8c-01"
soma@soma-B85M-D3H:~$
I then tried with the testdisk and the result is
Code:
TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121597 255 63
     Partition               Start        End    Size in sectors
>* Linux                    0  32 33 121597  37 40 1953456128 [USB STICK]



Structure: Ok.  Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
     Enter: to continue
ext4 blocksize=4096 Large_file Sparse_SB Recover, 1000 GB / 931 GiB



Unable to mount location

Error Mounting dev/sdb1 at media/soma/USB STICK: wrong fs type,
bad option, bad superblock on dev/sdb 1, missing codepageor helper programme,
or other error
Now I am baffled and do not know what to do or how to do. Kindly advise me if the disk can be used again with the recovery of data.
 
Old 08-11-2019, 04:37 AM   #2
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,063

Rep: Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647
Quote:
Originally Posted by u9477100 View Post
[CODE]soma@soma-B85M-D3H:~$ sudo mount /dev/sdb1 /media/external
[sudo] password for soma:
mount: /media/external: mount point does not exist.
Nothing can be mounted to a non-existent mount point. Either create the desired mount point:
Code:
sudo mkdir /home/username/external
sudo mount -t ext4 /dev/sdb1 /home/username/external
or mount it somewhere else that does exist:
Code:
mount -t ext4 /dev/sdb1 /media
Quote:
I then tried with the testdisk and the result is
What testdisk syntax did you use? Why did you try testdisk? Is the external device really a USB STICK? If so, it might still have a partition type that does not match the expected type for the EXT4 filesystem you created on it. What is output from:
Code:
sudo fdisk -l /dev/sdb
 
1 members found this post helpful.
Old 08-11-2019, 07:16 AM   #3
u9477100
LQ Newbie
 
Registered: Aug 2018
Location: Rajarhat-New Town, Kolkata, West Bengal, India
Distribution: Linux-Mint 19 Tara
Posts: 23

Original Poster
Rep: Reputation: Disabled
Mount point does not exist

Dear mrmazada,
Thank you for your reply. First I tried mkdir to create mount point. the result is

Code:
soma@soma-B85M-D3H:~$ sudo mkdir /home/soma/external
soma@soma-B85M-D3H:~$ sudo mount -t ext4 /dev/sdb1 /home/soma/external
mount: /home/soma/external: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
soma@soma-B85M-D3H:~$
Next I tried the command fdisk. the result is:

Code:
soma@soma-B85M-D3H:~$ sudo fdisk -l /dev/sdb
[sudo] password for soma:          
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: 0xe6af9f8c

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdb1        2048 1953458175 1953456128 931.5G 83 Linux
soma@soma-B85M-D3H:~$
The disk in question is an external Hard drive of 1 TB formatted in Ext4 filesystem.It has got a lavel named 'My Passport" but I dont know why the disk is represnted as USB STICK. AS I Iave no knowledge about mount error and once I used testdisk to recover data I tried the command, I used 'testdisk' in the command prompt and selected home/soma/sdb1
.
You also suggested mount it somewhere else that does exist: But it is not clear to me how to do it. I dont have any other machine than this desktop. There is no other machine in the vicinity with linux as Operating system. May I know whether it is a fault of the ext.drive or in the OS.? Obviously it is a fault in the drive as other external drives are easily mounted. Kindly advise me how can I recover the data from this drive and store in another external drive. Is it possible to use this drive again?
 
Old 08-11-2019, 08:26 AM   #4
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,516

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
what is the output of
Code:
lsblk -f
Quote:
Before upgrading I kept Backup in an External drive of 1TB after formatting it to Ext4.
Show how you formatted it, what command that you used. Show how you backed up, what command that you used. That may show something.

Looking to see if sdb1 was formatted and not sdb. Looking to see if dd was used to backup or if the backup overwrote a partition.
Quote:
wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
 
Old 08-11-2019, 09:03 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,147
Blog Entries: 9

Rep: Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603
just to be safe, also try
Code:
sudo mount -v /dev/sdb1 /home/soma/external
and show us the output.
 
Old 08-11-2019, 09:25 AM   #6
u9477100
LQ Newbie
 
Registered: Aug 2018
Location: Rajarhat-New Town, Kolkata, West Bengal, India
Distribution: Linux-Mint 19 Tara
Posts: 23

Original Poster
Rep: Reputation: Disabled
Mount point does not exist

Dear Ondoho & teckk
The output is as below:

Code:
soma@soma-B85M-D3H:~$ sudo mount -v /dev/sdb1 /home/soma/external
mount: /home/soma/external: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
soma@soma-B85M-D3H:~$
the output of lsblk is

Code:
soma@soma-B85M-D3H:~$ lsblk -f
NAME   FSTYPE   LABEL     UUID                                 MOUNTPOINT
loop0  squashfs                                                /snap/core/7270
loop1  squashfs                                                /snap/core/6964
sda                                                            
├─sda1 vfat               D0E8-91B7                            
└─sda2 ext4               a89c1712-e6ab-4d2a-8b05-1ec92269b491 /
sdb                                                            
└─sdb1 ext4     USB STICK 1db1b664-1443-42fe-b754-a5c17a3c5757 
sr0                                                            
soma@soma-B85M-D3H:~$
The disk has no partition i.e I did not create any. From the menu I got formatting option and took its help and formatted in ext4.from Ntfs. I kept all backup and it was working without any glitch in LQ 19.1. I backed up in it before upgrading to 19.2. I did not use any terminal command to backup. I used Double commander for backing up each file and folder individually.
 
Old 08-11-2019, 09:27 AM   #7
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,063

Rep: Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647
Try also:
Code:
sudo mount -t auto /dev/sdb1 /home/soma/external
If it fails, try:
Code:
sudo e2fsck /dev/sdb1
and try mounting again.
 
Old 08-11-2019, 10:02 AM   #8
u9477100
LQ Newbie
 
Registered: Aug 2018
Location: Rajarhat-New Town, Kolkata, West Bengal, India
Distribution: Linux-Mint 19 Tara
Posts: 23

Original Poster
Rep: Reputation: Disabled
Mount point does not exist

Dear mrmmzda,
I tried both the codes and the output is

Code:
soma@soma-B85M-D3H:~$ sudo mount -t auto /dev/sdb1 /home/soma/external
mount: /home/soma/external: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.

soma@soma-B85M-D3H:~$ sudo e2fsck /dev/sdb1
e2fsck 1.44.1 (24-Mar-2018)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sdb1
Could this be a zero-length partition?
soma@soma-B85M-D3H:~$
 
Old 08-11-2019, 10:08 AM   #9
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,516

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Quote:
The disk has no partition i.e I did not create any.
If the disk has no partition...what did you write to?
You could try
Code:
mount /dev/sdb /home/soma/external
or
Code:
e2fsck /dev/sdb
 
Old 08-11-2019, 10:24 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,386

Rep: Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087
Quote:
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: 0xe6af9f8c

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 1953458175 1953456128 931.5G 83 Linux
I think the OP just reformatted the existing partition sdb1 from NTFS to ext4.

Hopefully just the main superblock was corrupted. There should be several backup several superblocks. The -n causes mke2fs to show what it will do if it were to create a filesystem and show the location of the backup superblocks. Try:
sudo mke2fs -n /dev/sdb1

If the first superblock is 32786:
sudo e2fsck -f -b 32768 /dev/sdb1
 
Old 08-11-2019, 10:48 AM   #11
u9477100
LQ Newbie
 
Registered: Aug 2018
Location: Rajarhat-New Town, Kolkata, West Bengal, India
Distribution: Linux-Mint 19 Tara
Posts: 23

Original Poster
Rep: Reputation: Disabled
Mount point does not exist

Dear teckk,
I tried the codes the output is

Code:
soma@soma-B85M-D3H:~$ mount /dev/sdb /home/soma/external
mount: only root can do that
soma@soma-B85M-D3H:~$ sudo mount /dev/sdb /home/soma/external
[sudo] password for soma:          
mount: /home/soma/external: wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or helper program, or other error.
soma@soma-B85M-D3H:~$ e2fsck /dev/sdb
e2fsck 1.44.1 (24-Mar-2018)
e2fsck: Permission denied while trying to open /dev/sdb
You must have r/w access to the filesystem or be root
soma@soma-B85M-D3H:~$ sudo e2fsck /dev/sdb
e2fsck 1.44.1 (24-Mar-2018)
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/sdb

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>

Found a dos partition table in /dev/sdb

I also tried with 8193 & 32768 and the result is the same . It appears that the disk cannot be used. Now I should try for recovery of data. But I do not know how to do it.
 
Old 08-11-2019, 11:09 AM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,386

Rep: Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087
Quote:
e2fsck /dev/sdb
You need to specify the partition.
Try:
Quote:
sudo mke2fs -n /dev/sdb1
 
Old 08-12-2019, 12:51 AM   #13
u9477100
LQ Newbie
 
Registered: Aug 2018
Location: Rajarhat-New Town, Kolkata, West Bengal, India
Distribution: Linux-Mint 19 Tara
Posts: 23

Original Poster
Rep: Reputation: Disabled
Mount point does not exist

Dear Michaelk,
I used the code and the output is

Code:
soma@soma-B85M-D3H:~$ sudo mke2fs -n /dev/sdb1
[sudo] password for soma:          
mke2fs 1.44.1 (24-Mar-2018)
/dev/sdb1 contains a ext4 file system labelled 'USB STICK'
Proceed anyway? (y,N) y
Creating filesystem with 244182016 4k blocks and 61046784 inodes
Filesystem UUID: 7c6084ca-eab3-4410-b2ca-d7e1fd8ff149
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
	102400000, 214990848

soma@soma-B85M-D3H:~$

what to do after that?
I tried to open from 'Computer' on desktop but it gave the error message
Quote:
wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error
 
Old 08-12-2019, 05:38 AM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,386

Rep: Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087Reputation: 3087
sudo e2fsck -b 32768 /dev/sdb1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fstab fails to mount second hard drive to /run/media/$USER: "mount point does not exist". MurderousMincePie Linux - Newbie 3 10-10-2017 07:41 AM
[SOLVED] LFS: mount: mount point /mnt/lfs/dev/pts does not exist nocrazy Linux From Scratch 2 08-21-2016 01:54 PM
mount: mount point /mnt/cdrom does not exist Sujathapm Linux - Newbie 11 07-31-2013 03:19 AM
Redhat Linux 4.8 error -mount: mount point /oracle does not exist for new /etc/fstab entries bellnarm Linux - Server 1 11-23-2011 06:09 AM
mount error: mount point /home/me/x does not exist whil Fedora 3 05-24-2006 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration