LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-27-2006, 10:32 PM   #1
Boca
LQ Newbie
 
Registered: Aug 2005
Location: Phoenix AZ area
Distribution: Ubuntu 5.10
Posts: 12

Rep: Reputation: 0
Pata drive not seen


Pata drive not seen
Using Ubuntu 5.1 on a new sata drive, it is working well. (My mobo is a MSI 915GL with a Celeron D processer.)

But I can not 'see' my pata drive. The pata drive has 2 primary partitions and I can see them with the disk manager but I can not 'enable' them.

I tried editing the fstab but the Pata did not mount. I've even formatted the pata with an XP disk to be sure I got rid of any residual grub in the mrb. I used gparted to reformat the partitions to ext2.

Any ideas where to look on this?

I would like to use the old pata as a backup drive.

While I'm asking questions, is there a good backup imaging application available under Ubuntu?

Thanks in advance for responses!
 
Old 05-28-2006, 06:44 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
have you tried to mount one partition LIVE ie one off without edit of /etc/fstab.

open a terminal and commands may be

su
mkdir /test (can be deleted later)
mount -t ext2 /dev/hdX1 /test
ls /test/ .....to see any files or folders


pata are seen with letters depending on jumper in this structure
hda first controller IDE jumper set to master
hdb....................................slave
hdc second.............................master
etc

eg mount -t ext2 /dev/hda1 /test
then whatever works edit your fstab file with root powers and reboot to test
delete /test if you wish
 
Old 05-29-2006, 05:16 PM   #3
Boca
LQ Newbie
 
Registered: Aug 2005
Location: Phoenix AZ area
Distribution: Ubuntu 5.10
Posts: 12

Original Poster
Rep: Reputation: 0
Tried the above, could see the hda1 partition but can not write to it.

So tried again to edit fstab, hda1 partition can show up in mtab and can see it with file browser, but still can not write to it. Tried setting the umask=777 for hda1 partition with no change.

Any othe suggestions?
 
Old 05-29-2006, 05:34 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
libata

Try loading the module "libata" using modprobe.
 
Old 06-01-2006, 11:12 PM   #5
Boca
LQ Newbie
 
Registered: Aug 2005
Location: Phoenix AZ area
Distribution: Ubuntu 5.10
Posts: 12

Original Poster
Rep: Reputation: 0
Tried loading 'libata' with modprobe with no apparent affect.

However, tried reordering the entries in fstab and set file type to auto. Now it is not having a 'failure loading local filesystem' during boot. And if I open the Disks Manager the partition is enabled, and if I browse to the partition I can read and write to the partition. But, if I open the file browser I can read the partition but not paste to it nor write from an applicaiton like text editor.

Close but no cigar.

Any furthur suggestions?

My fstab;

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda5 / ext3 defaults,errors=remount-ro 0 1
/dev/sda1 /boot ext2 defaults 0 2
/dev/sda6 /home ext3 defaults 0 2
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hda2 /test auto defaults 0 0

Thanks!
 
Old 06-02-2006, 07:49 AM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
where is hda1 in your fstab? I know you have 2 partitions so where is it pls

2) going back to my old record.....try mounting hda1 with different file systems in case your mbr got messed up....you did not by any chance try putting a new bootloader on there or play with it?
 
Old 06-26-2006, 09:40 PM   #7
Boca
LQ Newbie
 
Registered: Aug 2005
Location: Phoenix AZ area
Distribution: Ubuntu 5.10
Posts: 12

Original Poster
Rep: Reputation: 0
Ok, finally got it.

Ubuntu encourages use of sudo. I could mount but not write to partitions mounted with the Disks Manager because I became root to mount, and mounting as root meant root owned mount places in the file system. So I was mounting as root and could not write to the partitions with the file browser (gnome) because as user I did not have permission. That is why I could (toward the end) write from the browse function inside the Disks Manager (because when I was in the Disks Manager I had root permissions).

Solved!

Gotta watch permissions on files and directories.

Thanks again.
 
  


Reply


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
Pata drive not seen Boca Ubuntu 3 06-05-2006 11:18 PM
Slow PATA Performance ch_music Linux - Hardware 3 07-20-2005 10:18 AM
FC3 and SATA/150 running with PATA drive PatRay Linux - Hardware 0 04-14-2005 07:41 PM
PATA with SATA cherif Linux - Hardware 3 12-08-2004 01:38 PM
Installing a new PATA 250 Gig drive on Slackware onyxbird Slackware 12 08-27-2004 04:29 PM

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

All times are GMT -5. The time now is 01:31 AM.

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