 |
forums.xandros.com Xandros User Forums
|
| View previous topic :: View next topic |
| Author |
Message |
Sadseh Xplorer
Joined: 27 Dec 2004 Posts: 4
|
Posted: Tue Dec 28, 2004 6:01 pm Post subject: FireWire HDD How-To (Second) |
|
|
I've installed Xandros 2 recently and, much like the others, I've enjoyed it thoroughly with the exception of several glitches that are common to numerous distros. By far, the greater one is the inability to get Xandros to recognize an external hard drive that is connected via firewire. Here are my two cents on how to solve this problem, since I have just fixed it.
Now, I am very much a newbie but I have done a lot of searching and this thread can be considered a compilation of the scattered advice.
For the entire procedure, you should be logged in as root. While you can do it from your user account and use the root-authorized console and window manager, it's just a lot easier to log in as root from the start. Here's what I've done:
1. Follow matthewl's directions as reiterated here:
Edit /etc/devices/drivers by adding the following lines at the bottom:
| Code: | 50 ieee1394
51 ohci1394
52 sbp2 |
Save the file and open the console. Run the command "xangenmodules" to have it run the modules at the start.
Restart.
2. Follow mike80808's directions by running the following commands in the console (I'm fairly sure only one of them is necessary but I don't know which, and the other two probably won't hurt ):
| Code: | /etc/devices/conf_util/firewire
/etc/devices/conf_util/disk
/etc/devices/conf_util/storage
|
Once again, run "xangenmodules." Before rebooting, however, run
| Code: | modprobe ieee1394 ohci1394
fdisk -l |
The last command should show you all the hard drives and partitions that fdisk detects, and the external hard drive should be in there. If it is, then you can reboot.
Technically, you are done because Xandros should now automount the new partitions. However, it is possible that you will not be able to access the partitions as a regular user because the permissions are set only for the owner and the root (which are the same, by default). If this happens to you, follow the instructions below.
-=-=-=-=-
Once you come back as root, you should see some more drive letters appear in the file manager, representing the partitions on the external hard drive. Make sure that you can access and read your various stuff on the external hard drive, and then close the manager down and make sure that nothing is accessing the partitions.
The purpose of this is that when Xandros mounts the partitions by itself, and if they are of NTFS format (and maybe FAT32 as well; mine were NTFS so I don't know), it will give access to them only for the owner, root. You can bypass this by either changing the authorization for everyone, or changing the owner. To perform the former, you must do the following:
| Code: | umount /disks/[drive letter]
#this is to unmount the partitions
mount /dev/sda1 /disks/[drive letter] -oumask=777
#this remounts the partition to the former drive letter, only this time granting complete permission to everyone.
| You will want to follow this approach for every partition that you wish to be able to access as a regular user; I'm sure you know that each successive partition will be /dev/sda2, /dev/sda3 and so on. This approach didn't work for me because Xandros, paradoxically, set read permissions for groups and other users but not for the owner, while the access permissions were granted only to the owner.
The other thing you can do is:
| Code: | umount /disks/[drive letter]
mount /dev/sda1 /disks/[drive letter] -ouid=[user_id]
| This sets the user_id as the owner of the partition, and thus gives him full access. If you want to do this for groups, simply substitute uid for gid.
-=-=-=-
Hope this helped. |
|
| Back to top |
|
 |
Sadseh Xplorer
Joined: 27 Dec 2004 Posts: 4
|
Posted: Wed Dec 29, 2004 12:04 pm Post subject: |
|
|
No comments?  |
|
| Back to top |
|
 |
robin Xplorer
Joined: 25 Dec 2004 Posts: 57
|
Posted: Sun Jan 30, 2005 12:48 pm Post subject: Firewire in 3.0 |
|
|
| Is this process different in xandros 3.0? For example I don't have a file called /etc/devices/drivers in 3.0 to edit. |
|
| Back to top |
|
 |
PaulC Xplorer
Joined: 21 Apr 2004 Posts: 41 Location: Canberra Australia
|
Posted: Mon Mar 14, 2005 7:20 am Post subject: Firewire |
|
|
Hello,
I too am trying to do this in Xandros three and do not have that file
Paul _________________ Paul Clarke
Canberra |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|