LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-16-2016, 03:48 PM   #1
homer_3
Member
 
Registered: May 2008
Posts: 99

Rep: Reputation: 15
Error: "FS: Can't find ext3 filesystem on dev sdb1." when trying to mount HDD


I'm trying to add a 2nd HDD to my linux box and I'm getting the error "FS: Can't find ext3 filesystem on dev sdb1."

The HDD came from an older machine, so I deleted the partitions using fdisk, then added a new, primary one using the minimum and maximum cylinder values it showed and ended with the 'w' command to write it to the disk.

fdisk -l gives

Code:
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x81370383

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       60801   488384001   83  Linux
df -T /dev/sdb1 shows

Code:
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
-                -     4087848        60   4087788   1% /dev
Which I'm guessing is bad because there is no type.

Last edited by homer_3; 09-16-2016 at 03:49 PM.
 
Old 09-16-2016, 03:53 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
There is no filesystem, and your partition is misaligned. For single filesystem I usually do not partition, mkfs.ext4 /dev/sdb will do.
 
Old 09-16-2016, 04:00 PM   #3
homer_3
Member
 
Registered: May 2008
Posts: 99

Original Poster
Rep: Reputation: 15
Thanks. That got it.
 
Old 09-16-2016, 04:15 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
fdisk creates the partition but does not create a filesystem. What distribution/version is currently running on this system? <statement redacted>

Just a suggestion, while a partition table is not required it makes it easier for the inexperienced if wanting to create another partition in the future since most howtos for shrinking assume that one already exists.

Last edited by michaelk; 09-16-2016 at 06:10 PM.
 
Old 09-16-2016, 06:02 PM   #5
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
"What distribution/version is currently running on this system? I would guess an older kernel which probably does not include ext4. If the above command does not work then use mkfs.ext3 /dev/sdb1."

From the wikipedia page on ext4:

"On 11 October 2008, the patches that mark ext4 as stable code were merged in the Linux 2.6.28 source code repositories,[7] denoting the end of the development phase and recommending ext4 adoption. Kernel 2.6.28, containing the ext4 filesystem, was finally released on 25 December 2008."

From the OP

"The HDD came from an older machine .."

The HDD is older and not necessarily the machine to which he is installing it. Why are you assuming the OP's current linux box uses a kernel from before 2009 ?

"Just a suggestion, while a partition table is not required it makes it easier for the inexperienced if wanting to create another partition in the future since most howtos for shrinking assume that one already exists."

I do very much agree with this statement. A partition table takes up virtually no space and allows for future repartitioning.
 
Old 09-16-2016, 06:09 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Your more likely correct ext4 is probably supported.
 
  


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
FC6: "mount: could not find filesystem '/dev/root'" sancho Fedora - Installation 17 09-02-2016 12:42 AM
CentOS "mount: could not find filesystem '/dev/root'" newDevlp Linux - Kernel 3 02-04-2012 04:51 AM
FC6: "mount: could not find filesystem '/dev/root'" cheerful Fedora - Installation 2 07-27-2007 03:36 PM
External USB HDD"Mounting local filesystems: /dev/sdb1 is not a valid block device" manudath Linux - Hardware 3 12-13-2004 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:06 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
Open Source Consulting | Domain Registration