couldn't mount manually extended windows partition
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
couldn't mount manually extended windows partition
Hi, I have the following config:
fdisk -l:
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1912 15358108+ 7 HPFS/NTFS
/dev/sdb2 1913 10010 65047185 f W95 Ext'd (LBA)
/dev/sdb5 1913 10010 65047153+ 7 HPFS/NTFS
no problem to mount the first partition sdb1 but I can't do the same for my extended one sdb5 (sdb2 is my container)
sudo mount -t ntfs /dev/sdb5 /media/tmp
I get:
Failed to read last sector (130094306): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sdb5': Invalid argument
The device '/dev/sdb5' 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?
So this is a drive that was partitioned into two by WinXP, and the WinXP system installed on the first partition (C:), with the second partition volume (D:), I take it.
There used to be a 'force' option on the Linux NTFS driver, I think it is now superceded by 'recover'. But I doubt it will help you in this case; it sounds more like a failure in using the boot sector of the partition than a simple journal issue.
There is a package testdisk that can be used to recover boot sectors, but if the partition is loading fine when under WinXP, that shouldn't be necessary.
You could try using the ntfs-3g driver instead of the ntfs one (though on newer distros, they may actually be the same thing).
Last edited by neonsignal; 11-24-2011 at 05:56 AM.
I assume that sdb5 was/is accessible when running windows? Since there wasn't a blkid for sdb5 in your previous posts we can not tell that the partition was actually formatted.
I assume that sdb5 was/is accessible when running windows? Since there wasn't a blkid for sdb5 in your previous posts we can not tell that the partition was actually formatted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.