SATA drives unavailable (via 3rd party app) until accessed via Places Computer

Asked by sp00k

When I try and access SATA drive/s from a third party application like Audacious, it's unable to see either SATA drive (NTFS) unless I first access them via either media/drive, or Places Computer. I have Ubuntu Hardy (kernel 2.6.24-19, Gnome 2.22.2) installed on the 0 drive and have not had any boot/startup problems or any other access problems.

S

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Murali Krishna Marimekala (murali-marimekala) said :
#1

Hi Sp00k,

Are the drivers which you are trying to access belong to Windows or any other operating system ?

--Murali

Revision history for this message
sp00k (masculata) said :
#2

Hi Murali,

I do have XP install on the 0 drive as well as Ubuntu and the second drive was partitioned and formatted via Partition Magic in Windows.

S

Revision history for this message
Murali Krishna Marimekala (murali-marimekala) said :
#3

Hi sp00k,

From my past experience I have the similar experience when i used thirdparty tool like partition magic. If you have freshly install Ubuntu. I suggest you to login Windows Xp. Use Diskmanagement tool which will be under "My Computer - > mange -> Disk Management" . Use this tool to format the partition with NTFS option and reinstall Ubuntu. Please don't think that I am suggesting you to redo whole process, there is a reason behind that. We can expect how thridparty tools format or clear our drives. There may be possibility of bad sectors in future because of using these type of tools.

Please let me know if you face any problem.

Cheers,
Murali Marimekala

Revision history for this message
sp00k (masculata) said :
#4

Hi Murali,

What do you think about using Gparted on the SATA1 drive as a test (it's empty at the moment)? I did do some searching on the net (other forums etc) but was not able to locate other information I though was relevant.

S

Revision history for this message
Murali Krishna Marimekala (murali-marimekala) said :
#5

Hi sp00k,

Sorry sp00k I haven't used Gparted before. I can't comment on that.

can you send me output of

$sudo fdisk -l

Are you trying to access data on Windows drive from Ubuntu ? I mean are you trying to play any songs using Audacious which are windows drive ?

I feel that automatic windows partition mounting is not happening in your case.

If your windows drives are automounted when your system is booted up then your application can easily access the data.

For auto mounting see

this link which may help you https://answers.edge.launchpad.net/ubuntu/+question/35219.

--Murali

Revision history for this message
sp00k (masculata) said :
#6

Hi Murali,

I'm accessing a dirve that has been formatted NTFS via a third party app in Windows.

And yes, the files are located on this drive. As for the drives not being mounted, I can see and access them via media/drive, or Places - Computer but not from an application unless I have first accessed by the above menthod. Yes I agree, if the drive/s were not being auto mounted I would not have access.

As requested:

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 10332 82991758+ 7 HPFS/NTFS
/dev/sda2 10333 30401 161204242+ f W95 Ext'd (LBA)
/dev/sda5 10333 16708 51215188+ 83 Linux
/dev/sda6 16709 23535 54837846 83 Linux
/dev/sda7 23536 30401 55151113+ 7 HPFS/NTFS

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000001

   Device Boot Start End Blocks Id System
/dev/sdb1 1 8294 66621523+ 7 HPFS/NTFS
/dev/sdb2 8295 38913 245947117+ f W95 Ext'd (LBA)
/dev/sdb5 8295 37548 234982723+ 7 HPFS/NTFS
/dev/sdb6 37549 38913 10964331 82 Linux swap / Solaris

~ Sp00k

Revision history for this message
Murali Krishna Marimekala (murali-marimekala) said :
#7

Hi Sp00k,

Some reengineering we will do to trace out the root cause. One might be with drive or the other with audacious player.

From your fdisk -l output

Win Partitions
/dev/sda1 * 1 10332 82991758+ 7 HPFS/NTFS
/dev/sda2 10333 30401 161204242+ f W95 Ext'd (LBA)
/dev/sda7 23536 30401 55151113+ 7 HPFS/NTFS

Linux Partitions
/dev/sda5 10333 16708 51215188+ 83 Linux
/dev/sda6 16709 23535 54837846 83 Linux

Try mounting win partions manually some folders as i mention below.

1. cd /opt
2. sudo mkdir cdrive
3. sudo mkdir ddrive
4. sudo mkdir edrive
5. mount -t ntfs /dev/sda1 /opt/cdrive
6. mount -t ntfs /dev/sda2 /opt/ddrive
7. mount -t ntfs /dev/sda7 /opt/edrive
8. Dont access them
9. Open your audacious player and try to play any song from those mounted drive.
10. If it is not able to detect then its problem with your audacious player better reinstall it with advanced plugins through synaptic package manager.
11. If not then we need to think over about it :).

I guess the later will not happen.

Give a try and lemme know if your problem is resolved.

-Murali-

Can you help with this problem?

Provide an answer of your own, or ask sp00k for more information if necessary.

To post a message you must log in.