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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-01-2006, 05:19 PM
|
#1
|
|
Member
Registered: Mar 2005
Distribution: Mandrake 10.2
Posts: 35
Rep:
|
Mounting NTFS Sata drive on FC5, "/dev/sda5 is not a valid block device"
Hi. I'm trying to mount a set of NTFS drives (my windows data partition) on Fedora Core 5. I have installed an NTFS module thingy, so now ntfs is a recognised file system. I have edited /etc/fstab with:
/dev/sda5 /mnt/windows ntfs users,owner,ro,umask=000 0 0
then i run
mount -a
and recieve the error:
mount: /dev/sda5 is not a valid block device
Now i think the problem might be that the SATA drive isn't natively supported by linux, i had to insall an extra module at the install stage so that the device was recognised. I saw somewhere i have to recompile the kernal with the module included, but have no idea how to go about this. My computer specs:
200GB Seagate Baracuda 7200 SATA HDD
MSI K7N2 Delta-ILSR motherboard
i think that the modules i installed were promise SATA, promise RAID, and i might need an Nvidia sata driver, but im not sure (probably not tbh). The only other similar threads are about USB pen drives/flash drives/removable HDD and so are not relevant to my problem. Any help you can give me on this would be much appreciated. Thanks.
|
|
|
|
11-01-2006, 05:57 PM
|
#2
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
First, what do you mean by "a set of NTFS drives"? In your specs, you say you have ONE drive.
How did you determine that Windows was on sda5?
Please post the output of "fdisk -l" (run as root)
If you have FC5 running, then you don't have any SATA driver issues
|
|
|
|
11-02-2006, 04:46 AM
|
#3
|
|
Member
Registered: Mar 2005
Distribution: Mandrake 10.2
Posts: 35
Original Poster
Rep:
|
Sorry yeah, a set of NTFS partitions i should say. Here's fdisk -l:
Disk /dev/hdc: 60.0 GB, 60040544256 bytes
255 heads, 63 sectors/track, 7299 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 7299 58629186 7 HPFS/NTFS
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 19457 140560717+ f W95 Ext'd (LBA)
/dev/sda5 1959 12829 87321276 7 HPFS/NTFS
/dev/sda6 14360 19457 40949653+ 7 HPFS/NTFS
/dev/sda7 12830 12842 104391 83 Linux
/dev/sda8 12843 14359 12185271 8e Linux LVM
|
|
|
|
11-02-2006, 08:09 AM
|
#4
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
Now I'm really confused. You say you have one 200 GB SATA drive, but fdisk says you have a 60GB IDE and a 160GB which **could** be either SATA or SCSI--either one will result in the sda (vs hda) device name.
This aside, I assume that Fedora is running from sda7/8 and that you are using LVM. This might be a clue. I am not familiar with LVM, but you may have to address other partitions differently.
|
|
|
|
11-02-2006, 11:31 AM
|
#5
|
|
Member
Registered: Mar 2005
Distribution: Mandrake 10.2
Posts: 35
Original Poster
Rep:
|
Yes you're correct, it is 160GB. Silly me. Yes it is a SATA drive, clearly 160GB not 200GB. And yes, i also have a 60GB IDE drive which is NTFS. Now that you have reminded me, i just tried mounting the IDE NTFS drive using:
/dev/hdc1 /mnt/windows ntfs users,owner,ro,umask=000 0 0
and it works perfectly. So im pretty sure the problem is whatever linux uses to map my partitions on a SATA drive. Someone mentioned that i need to recompile my kernel with the "drivers built in, rather than using modules" or something similar (though i can't remember where i read this).
|
|
|
|
11-02-2006, 11:37 AM
|
#6
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
Quote:
|
Originally Posted by FlamingBee
and it works perfectly. So im pretty sure the problem is whatever linux uses to map my partitions on a SATA drive. Someone mentioned that i need to recompile my kernel with the "drivers built in, rather than using modules" or something similar (though i can't remember where i read this).
|
Again--if Fedora is running on sda7, then I don't think you have driver issues.
How about my LVM theory?
|
|
|
|
11-02-2006, 12:53 PM
|
#7
|
|
Member
Registered: Mar 2005
Distribution: Mandrake 10.2
Posts: 35
Original Poster
Rep:
|
What is LVM? How do i know if im using it? If i am using it, how would i know how to address the partitions?
Update1:
aha, i think i am using LVM (Logical Volume Manager). I ran "man lvm" and from the filenames/foldernames it used in the manual, i deduce that i am indeed running it on my system. How to address the partitions though, is still a mystery to me.
Last edited by FlamingBee; 11-02-2006 at 12:55 PM.
|
|
|
|
11-02-2006, 01:17 PM
|
#8
|
|
Moderator
Registered: Aug 2002
Posts: 10,692
|
Your linux partitions are LVM however this shouldn't have anything do with not being able to mount your NTFS partitions. However if your NTFS partitions on the SATA drive are configured as dynamic disks (basically a MS LVM) then you might have to recompile the kernel to include LDM support. Look at windows diskmanager to see if sda1&5 are dynamic disks.
|
|
|
|
11-02-2006, 01:42 PM
|
#9
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
Why wouldn't fdisk tell us if the partitions were "dynamic disks"? For that matter, if fdisk sees a partition, why would int not be mountable in Linux?
|
|
|
|
11-02-2006, 02:34 PM
|
#10
|
|
Moderator
Registered: Aug 2002
Posts: 10,692
|
Windows dynamic disks require LDM kernel support.
Just because fdisk sees an NTFS partition the OS can not read it without NTFS kernel support. Same as fdisk seeing a linux partition ID of 83 does not mean how the partition is formated nor if the current installed OS has support for that filesystem.
|
|
|
|
11-02-2006, 02:35 PM
|
#11
|
|
Member
Registered: Mar 2005
Distribution: Mandrake 10.2
Posts: 35
Original Poster
Rep:
|
Well, searching the internet i came across this forum thread http://www.linuxformat.co.uk/index.p...t=1276&start=0. In it, it suggests:
"type "lvdisplay" to see a list of your logical partitions."
After running that, i get this output:
[root@localhost ~]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID yRXoLl-rip7-BYiK-Kn1L-M4qN-CFKh-3S0a5T
LV Write Access read/write
LV Status available
# open 1
LV Size 9.62 GB
Current LE 308
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:7
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID ZQNBP6-wKY5-254i-tvE1-X0M0-N20U-m6sLF1
LV Write Access read/write
LV Status available
# open 1
LV Size 1.94 GB
Current LE 62
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:8
So it would seem that the windows drives are not being seen as logical volumes?
Edit: From what you're saying, it does seem fairly likely that i will have to recompile the kernel to include LDM support, however i have absolubtly no idea how to do this. Some guidance would be greatly appreciated.
Last edited by FlamingBee; 11-02-2006 at 02:39 PM.
|
|
|
|
11-02-2006, 02:44 PM
|
#12
|
|
Moderator
Registered: Aug 2002
Posts: 10,692
|
LVM is just for linux partitions. Check in windows to see if sda1 and sda5 partitions are dynamic disks. If so then you will need LDM support. If they are not then at the moment I do not have an idea why hdc1 mounts but sda1 does not.
Last edited by michaelk; 11-02-2006 at 02:46 PM.
|
|
|
|
11-02-2006, 02:47 PM
|
#13
|
|
Member
Registered: Mar 2005
Distribution: Mandrake 10.2
Posts: 35
Original Poster
Rep:
|
They are almost certain to be Dynamic Disks, as they were created under the Windows XP partitioning software. Im 99% certain that they are Dynamic Disks (although i will check as soon as i get the opportunity).
|
|
|
|
11-04-2006, 06:18 PM
|
#14
|
|
Member
Registered: Mar 2005
Distribution: Mandrake 10.2
Posts: 35
Original Poster
Rep:
|
I'm not entirely sure how to check if they are dynamic disks, however under computer management -> storage -> when i right click on the Sata drive, the option "convert to dynamic disk" comes up. This seems to suggest i don't have dynamic disks. Any way to find out for certain? Also, any other ideas on how to fix it if i don't?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:47 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|