Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-16-2013, 01:12 AM   #1
LQ Newbie
Registered: Dec 2010
Posts: 22

Rep: Reputation: 0
ntfs-3g is not able to mount logical partitions

Hi All,

I am using a USB 500GB hard disk. I have created four NTFS partitions with windows disk manger. Windows disk manager allows only three primary partitions only,if we want create more than three partitions those will be

So as I have created ntfs partitions I am using ntfs-3g in linux to mount those partitions using below command.

ntfs-3g /var/dev/sda2 /var/ftp/usb_mount2
Directory /var/ftp/usb_mount2 is available.

If it finds logical partition below is the log.

NTFS signature is missing.
Failed to mount '/var/dev/sda2': Invalid argument
The device '/var/dev/sda2' 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?
mount: Mounting /var/dev/sda2 on /var/ftp/usb_sda2 failed: Invalid argument
attempt to access beyond end of device
sda2: rw=0, want=4, limit=2
EXT3-fs: unable to read superblock
mount: Mounting /var/dev/sda2 on /var/ftp/usb_sda2 failed: Invalid argument

Here is the log after USB has been attached to Embedded device.

scsi 1:0:0:0: Direct-Access BUFFALO HD-PCU2 0108 PQ: 0 ANSI: 4
usb-storage: device scan complete
sd 1:0:0:0: [sda] 976773167 512-byte hardware sectors: (500 GB/465 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 1c 00 00 00
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Assuming drive cache: write through
sda: sda1 sda2 < sda5 > sda3 sda4
sd 1:0:0:0: [sda] Attached SCSI disk

Help me out

Old 01-16-2013, 01:48 AM   #2
Registered: Sep 2010
Distribution: Fedora, Android, CentOS
Posts: 91
Blog Entries: 2

Rep: Reputation: 21
From "sda: sda1 sda2 < sda5 > sda3 sda4" I am assuming that sda2 is the actual extended partition not the logical partition and sda5 is the logical partition.

A Master Boot Record (MBR or MSDOS partition table) initialized drive can have four primary partitions. One of the primary partitions may be an extended partition and house a many logical partitions. Windows does not show us the extended partition except in the disk management and only then as an outline around the logical partitions however it takes up a primary partition and Linux recognizes it as a partition.

So sda2 is probably your extended partition and is therefore not mountable whereas sda5 is probably the logical partition and you can change your mount command to function.

Please give this a try and see if it works out.

To see what your drive looks like
# fdisk -l
Hope this helps
Old 01-16-2013, 04:15 AM   #3
LQ Newbie
Registered: Dec 2010
Posts: 22

Original Poster
Rep: Reputation: 0
Hi spazticclown,

I have compiled my busy box with fdisk support(with large,advanced flags).
But "fdisk -l" command not displaying any more partitions, though the mounted list as below.

/var/dev/sda1 on /var/ftp/usb_sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/var/dev/sda3 on /var/ftp/usb_sda3 type vfat (rw,relatime,fmask=0022,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1)
/var/dev/sda5 on /var/ftp/usb_sda5 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

Old 01-16-2013, 04:23 AM   #4
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,169

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
I am betting that the manufacture put a hidden "recovery tools" partition
one that is hidden from Mictosoft's Windows OS

but NOT from parted ( gparted )

you will want to reformat the whole drive using a non Microsoft tool

What version of red hat is this ?

in rhel6.3 ( gnome 2) the usb drive should auto mount and put a link on the desktop or at least in nautilus ( on the left window )
the r-click menu should have an option to reformat
Old 01-16-2013, 05:00 AM   #5
LQ Newbie
Registered: Dec 2010
Posts: 22

Original Poster
Rep: Reputation: 0

Hi John,

I am sorry, I am not talking about desktop linux. I am using Broadcom kernel on our routers.
I am using busybox fdisk.

Here is the busybox .config file flags for fdisk feature.


And this is the list of partitions from proc fs.

cat /proc/partitions
major minor  #blocks  name

  31        0      32768 mtdblock0
  31        1      39936 mtdblock1
  31        2      39936 mtdblock2
  31        3       2560 mtdblock3
  31        4        128 mtdblock4
   8        0  488284183 sda
   8        1  191628288 sda1
   8        2          1 sda2
   8        3   26213376 sda3
   8        4  183400471 sda4
   8        5   87038976 sda5


Last edited by harinathreddy.c; 01-16-2013 at 09:16 AM.


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] Q: Howto hide logical NTFS partitions with LILO ? mestigoth Linux - General 4 07-08-2011 02:35 PM
Mount NTFS Partitions Sarath1245 Linux - Newbie 8 09-28-2009 06:26 AM
mount ntfs partitions. dipanjan Linux - General 4 03-16-2009 12:47 PM
I can't mount ntfs partitions with the latest ntfs-3g version BK2 Linux - Software 1 02-01-2008 07:08 PM
unable to mount logical ntfs drive zeb_666 Debian 3 06-07-2006 10:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:16 PM.

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