LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-29-2019, 11:25 AM   #1
JoDun
LQ Newbie
 
Registered: Jan 2019
Location: Scotland
Distribution: Ubuntu Studio 18.04 LTS
Posts: 1

Rep: Reputation: Disabled
/dev/sdb2 is not a valid block device


After an update of Windows 10 on a Dual boot system, my second disc was unrecognised by File Manager. Partitions can be seen on Gparted, but am unable to access the files on them. When I tried to mount the partitions, got the above message for /dev/sdb2

sudo fdisk -l gives:

Disk /dev/loop0: 147.3 MiB, 154406912 bytes, 301576 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

Disk /dev/loop1: 194.9 MiB, 204382208 bytes, 399184 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

Disk /dev/loop2: 89.5 MiB, 93835264 bytes, 183272 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

Disk /dev/loop3: 91.1 MiB, 95494144 bytes, 186512 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

Disk /dev/loop4: 99.1 MiB, 103931904 bytes, 202992 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

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 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: 0x7ebdaaa6

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1952560940 1952558893 931.1G 7 HPFS/NTFS/exFAT
/dev/sda2 1952561152 1953519615 958464 468M 27 Hidden NTFS WinRE


Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 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: 0xae9ad835

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 1026047 1024000 500M 7 HPFS/NTFS/exFAT
/dev/sdb2 1028094 976771071 975742978 465.3G 5 Extended
/dev/sdb5 1028096 976771071 975742976 465.3G 83 Linux

And what are the /dev/loop listings?

Last edited by JoDun; 01-29-2019 at 11:34 AM. Reason: Show result of fdisk -l
 
Old 01-29-2019, 12:09 PM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,702
Blog Entries: 19

Rep: Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501
/dev/sdb2 is an extended partition. This means that it doesn't contain any data, only the sda5 partition. If you mount that one, it should work.

The /dev/loop mounts are files that have been mounted as partitions. I have no idea what they are, but cdrom and dvdrom images are often mounted in this way.
 
Old 01-29-2019, 04:18 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,159

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Given Ubuntu base, the loops are probably snaps - try "df -hT".
 
  


Reply



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
Error mounting /dev/sdb2, wrong fs type, bad option, bad superblock on /dev/sdb2 ashangel Linux - Kernel 3 08-06-2012 03:41 AM
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
/dev/sda1 is not a valid block device mschrijn Linux - Newbie 0 12-17-2001 01:14 PM
READ ME: red hat 7.2 /dev/cdrom not a valid block device rshaw Linux - Software 0 11-08-2001 12:54 PM
/dev/sda1 is not a valid block device adenardo Linux - General 6 10-17-2001 10:07 PM

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

All times are GMT -5. The time now is 02:06 AM.

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
Open Source Consulting | Domain Registration