Hello everybody!!
Recently i installed opensuse 10.3.I’m very new to linux.I have 2 hard drives on my systems.1st hdd operates windows and suse,2nd is sata2 for my documents and files formatted in ntfs.Although suse recognize partition of widows and allow me to enter form My Computer menu this can’t be done with 2nd hdd.Particularlly it won’t be seen at all!
Is there anyway to be fixed?
thank you in advance!!
Try to configure it to mount via
yast → system → partitioner tool
I can’t remember the exact layout for the partitioner in 10.3 but the key things to do when you are in there is:
Work out which partition it is you want to be able to access.
Choose to edit the partition.
Ensure formating options is set to Do Not Format Partition.
Choose the mount partition option. Set the mount point. Name it whatever you want as long as it begins with / (e.g. /documents).
Save the changes.
You should now see it in my computer or whatever other file manager you use.
The partition will be owned by root so if you want users to be able to write to it you will need to change permissions. Let us know if you want to do that.
Hope that makes sense.
Cheers
Steve
Thank you guys i fixed it us you said!!
It works fine!
Have a similar problem with an external USB drive. Formatted it EXT3 using YST2 (under openSUSE 10), and loaded (backed up!) some files. Was able to see them with the Dolphin file manager.
Installed openSUSE 11.1. Now the external drive is not recognized; in the YAST2 partitioner it appears to have no file system so it can’t be mounted. I was following your directions in this thread.
Is all on the external drive lost? Could I recover the files from openSUSE 10?
Thanks in advance.
Plug the drive in and report of these commands:
fdisk -l
mount
Hi,
Thanks for the response.
The fdisk command simply returns to the prompt.
The mount command does not show the external USB drive.
[PS: have just noticed - duh! - that this is the 64-bit forum and I’m on a 32-bit CPU]
konsultor@Linuxor:~> /sbin/fdisk -l
konsultor@Linuxor:~> mount
/dev/sda6 on / type ext3 (rw,acl,user_xattr)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda5 on /home type ext3 (rw,acl,user_xattr)
/dev/sda1 on /boot type ext3 (rw,acl,user_xattr)
/dev/sda7 on /usr type ext3 (rw,acl,user_xattr)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
gvfs-fuse-daemon on /home/konsultor/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=konsultor)
proc on /var/lib/ntp/proc type proc (ro)
konsultor@Linuxor:~>
The ‘fdisk -l’ command needs to be done as root.
Ah so!
konsultor@Linuxor:~> sudo /sbin/fdisk -l
root’s password:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0007829e
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1024 8217247 83 Linux
/dev/sda2 1046 1306 2096482+ 82 Linux swap / Solaris
/dev/sda3 1307 19457 145797907+ f W95 Ext’d (LBA)
/dev/sda5 1307 7833 52428096 83 Linux
/dev/sda6 7834 14360 52428096 83 Linux
/dev/sda7 14361 19451 40893426 83 Linux
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x44fdfe06
Device Boot Start End Blocks Id System
/dev/sdb1 1 19457 156288321 83 Linux
konsultor@Linuxor:~>
Device partition is here:
Device Boot Start End Blocks Id System
/dev/sdb1 1 19457 156288321 83 Linux
See if you can see partition mounted in /media tree. Try
dir /media
No response to dir /media as SU. Partition sbd1 not visible in Dolphin file manager.
Not sure why its not being mounted. This command may be of help
udevadm monitor
Plug in device and see whats reported (CTRL-C to terminate)
lshal -m (will give useful info as well)
It may be a PolicyKit issue, but lets have a look at output from above commands first.
Started udevadm with usb drive connected, so unplugged and plugged in again.
I hope you’re not near the easter time zone in the US–hate to think of you on the net at that hour 
konsultor@Linuxor:/media> sudo /sbin/udevadm monitor
monitor will print the received events for:
UDEV the event which udev sends out after rule processing
UEVENT the kernel uevent
UEVENT[1243178906.303270] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.3_ep81 (usb_endpoint)
UDEV [1243178906.303270] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.3_ep81 (usb_endpoint)
UEVENT[1243178906.303721] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.3_ep02 (usb_endpoint)
UEVENT[1243178906.303837] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0/bsg/2:0:0:0 (bsg)
UEVENT[1243178906.303952] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0/scsi_generic/sg2 (scsi_generic)
UEVENT[1243178906.304075] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0/scsi_device/2:0:0:0 (scsi_device)
UEVENT[1243178906.304196] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0/scsi_disk/2:0:0:0 (scsi_disk)
UEVENT[1243178906.304317] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0/block/sdb/sdb1 (block)
UEVENT[1243178906.304439] remove /devices/virtual/bdi/8:16 (bdi)
UEVENT[1243178906.304546] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0/block/sdb (block)
UEVENT[1243178906.304703] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0 (scsi)
UEVENT[1243178906.304818] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0 (scsi)
UEVENT[1243178906.304928] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/scsi_host/host2 (scsi_host)
UEVENT[1243178906.305038] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2 (scsi)
UEVENT[1243178906.305147] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0 (usb)
UEVENT[1243178906.305261] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/usb_endpoint/usbdev4.3_ep00 (usb_endpoint)
UEVENT[1243178906.305374] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2 (usb)
UDEV [1243178906.306988] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.3_ep02 (usb_endpoint)
UDEV [1243178906.309477] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0/bsg/2:0:0:0 (bsg)
UDEV [1243178906.317677] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV [1243178906.319528] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0/scsi_device/2:0:0:0 (scsi_device)
UDEV [1243178906.321417] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0/scsi_disk/2:0:0:0 (scsi_disk)
UDEV [1243178906.330815] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0/block/sdb/sdb1 (block)
UDEV [1243178906.332706] remove /devices/virtual/bdi/8:16 (bdi)
UDEV [1243178906.338718] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0/block/sdb (block)
UDEV [1243178906.387066] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0/2:0:0:0 (scsi)
UDEV [1243178906.389008] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/target2:0:0 (scsi)
UDEV [1243178906.396029] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2/scsi_host/host2 (scsi_host)
UDEV [1243178906.397909] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host2 (scsi)
UDEV [1243178906.443718] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0 (usb)
UDEV [1243178906.445725] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2/usb_endpoint/usbdev4.3_ep00 (usb_endpoint)
UDEV [1243178906.452328] remove /devices/pci0000:00/0000:00:1d.7/usb4/4-2 (usb)
UEVENT[1243178916.578974] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2 (usb)
UDEV [1243178916.578974] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2 (usb)
UEVENT[1243178916.579346] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0 (usb)
UEVENT[1243178916.579460] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3 (scsi)
UEVENT[1243178916.579567] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/scsi_host/host3 (scsi_host)
UEVENT[1243178916.580108] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.4_ep81 (usb_endpoint)
UEVENT[1243178916.580309] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.4_ep02 (usb_endpoint)
UEVENT[1243178916.580425] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/usb_endpoint/usbdev4.4_ep00 (usb_endpoint)
UDEV [1243178916.704661] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0 (usb)
UDEV [1243178916.719559] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3 (scsi)
UDEV [1243178916.746104] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/scsi_host/host3 (scsi_host)
UDEV [1243178916.756064] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.4_ep81 (usb_endpoint)
UDEV [1243178916.758510] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/usb_endpoint/usbdev4.4_ep02 (usb_endpoint)
UDEV [1243178916.806701] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/usb_endpoint/usbdev4.4_ep00 (usb_endpoint)
UEVENT[1243178917.552537] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0 (scsi)
UDEV [1243178917.552537] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0 (scsi)
UEVENT[1243178917.552995] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0 (scsi)
UEVENT[1243178917.553112] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0/scsi_disk/3:0:0:0 (scsi_disk)
UDEV [1243178917.660678] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0 (scsi)
UDEV [1243178917.662774] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0/scsi_disk/3:0:0:0 (scsi_disk)
UEVENT[1243178917.733679] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0/block/sdb (block)
UEVENT[1243178917.733745] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0/block/sdb/sdb1 (block)
UEVENT[1243178917.733768] add /devices/virtual/bdi/8:16 (bdi)
UEVENT[1243178917.733787] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0/scsi_device/3:0:0:0(scsi_device)
UEVENT[1243178917.733808] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0/scsi_generic/sg2 (scsi_generic)
UEVENT[1243178917.733830] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0/bsg/3:0:0:0 (bsg)
UDEV [1243178917.738715] add /devices/virtual/bdi/8:16 (bdi)
UDEV [1243178917.743734] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0/scsi_device/3:0:0:0(scsi_device)
UDEV [1243178917.781310] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV [1243178917.803892] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0/bsg/3:0:0:0 (bsg)
UDEV [1243178917.929931] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0/block/sdb (block)
UDEV [1243178918.014808] add /devices/pci0000:00/0000:00:1d.7/usb4/4-2/4-2:1.0/host3/target3:0:0/3:0:0:0/block/sdb/sdb1 (block)
^Ckonsultor@Linuxor:/media>
Well that last line indicates that device node /dev/sdb1 is present. I’m just wondering if you have an unintended entry in /etc/fstab that might be preventing mounting.
- Please post output of
cat /etc/fstab
just to be sure.
- Next try
lshal -m
This may verify what is happening with automount.
- Some users end up with policykit probelems. (Not sure how this happens for some and not others). Have a look at
cat /usr/share/PolicyKit/policy org.freedesktop.hal.storage.policy
The relevant section should look like this:
<action id=“org.freedesktop.hal.storage.mount-removable”>
<description>Mount file systems from removable drives.</description>
<message>System policy prevents mounting removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
Feel free any others who can help with this.
As requested:
konsultor@Linuxor:/media> cat /etc/fstab
/dev/disk/by-id/ata-ST9160821A_5MACVVC8-part5 /home ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-ST9160821A_5MACVVC8-part6 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-ST9160821A_5MACVVC8-part2 swap swap defaults 0 0
/dev/disk/by-id/ata-ST9160821A_5MACVVC8-part1 /boot ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-ST9160821A_5MACVVC8-part7 /usr ext3 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
konsultor@Linuxor:/media> lshal -m
Start monitoring devicelist:
20:17:24.028: computer_power_supply_battery_BAT1 property battery.voltage.current = 12003 (0x2ee3)
20:18:24.029: computer_power_supply_battery_BAT1 property battery.voltage.current = 12001 (0x2ee1)
20:18:54.034: computer_power_supply_battery_BAT1 property battery.voltage.current = 12006 (0x2ee6)
^C
konsultor@Linuxor:/media>
The --help file of lshal says it monitors for changes; apparently the only thing changing is the battery voltage. Should the usb drive be un/plugged while monitoring?
The --help file of lshal says it monitors for changes; apparently the only thing changing is the battery voltage. Should the usb drive be un/plugged while monitoring?
Yes, plug in the usb device and report output from lshal -m
That does make sense 
konsultor@Linuxor:/media> sudo lshal -m
root’s password:
Start monitoring devicelist:
22:22:22.870: usb_device_1058_702_575845313037413433393231_if0_scsi_host removed
22:22:22.929: usb_device_1058_702_575845313037413433393231_if0_scsi_host_0_scsi_device_lun0_scsi_generic removed
22:22:22.952: volume_part1_size_160039240704 removed
22:22:22.965: storage_serial_WD_1600BEVExternal_575845313037413433393231_0_0 removed
22:22:22.982: usb_device_1058_702_575845313037413433393231_if0_scsi_host_0_scsi_device_lun0 removed
22:22:22.986: usb_device_1058_702_575845313037413433393231_if0_scsi_host_0 removed
22:22:23.028: usb_device_1058_702_575845313037413433393231_if0 removed
22:22:23.043: usb_device_1058_702_575845313037413433393231 removed
22:22:24.033: computer_power_supply_battery_BAT1 property battery.voltage.current = 12002 (0x2ee2)
22:22:33.587: usb_device_1058_702_575845313037413433393231 added
22:22:33.690: usb_device_1058_702_575845313037413433393231_if0 added
22:22:33.782: usb_device_1058_702_575845313037413433393231_if0_scsi_host added
22:22:34.654: usb_device_1058_702_575845313037413433393231_if0_scsi_host_0 added
22:22:34.688: usb_device_1058_702_575845313037413433393231_if0_scsi_host_0_scsi_device_lun0 added
22:22:34.809: usb_device_1058_702_575845313037413433393231_if0_scsi_host_0_scsi_device_lun0_scsi_generic added
22:22:35.188: storage_serial_WD_1600BEVExternal_575845313037413433393231_0_0 added
22:22:35.298: volume_part1_size_160039240704 added
^C
konsultor@Linuxor:/media>
Ok. Now get output from
cat /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy
Now I’m up at 6:00 a.m. local 
konsultor@Linuxor:/media> cat /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy
<?xml version=“1.0” encoding=“UTF-8”?>
<!DOCTYPE policyconfig PUBLIC
“-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN”
“http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd”>
<!–
Policy definitions for HAL’s drives/media mechanims.
Copyright (c) 2007 David Zeuthen <david@fubar.dk>
HAL is licensed to you under your choice of the the Academic Free
License Version 2.1, or the GNU General Public License version 2. Some
individual source files may be under the GPL only. See COPYING for
details.
→
<policyconfig>
<action id=“org.freedesktop.hal.storage.mount-fixed”>
<description>Mount file systems from internal drives.</description>
<message>System policy prevents mounting internal media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
<action id=“org.freedesktop.hal.storage.mount-removable”>
<description>Mount file systems from removable drives.</description>
<message>System policy prevents mounting removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
<action id=“org.freedesktop.hal.storage.unmount-others”>
<description>Unmount file systems mounted by other users.</description>
<message>System policy prevents unmounting media mounted by other users</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
<action id=“org.freedesktop.hal.storage.eject”>
<description>Eject removable media.</description>
<message>System policy prevents ejecting removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
<action id=“org.freedesktop.hal.storage.crypto-setup-fixed”>
<description>Set up decryption for encrypted fixed storage devices.</description>
<message>System policy prevents accessing encrypted fixed media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
<action id=“org.freedesktop.hal.storage.crypto-setup-removable”>
<description>Set up decryption for encrypted removable storage devices.</description>
<message>System policy prevents accessing encrypted removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
</policyconfig>
konsultor@Linuxor:/media>
The relevant section looks ok to me:
<action id=“org.freedesktop.hal.storage.mount-removable”>
<description>Mount file systems from removable drives.</description>
<message>System policy prevents mounting removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
Based on your first post (possible corruption), maybe a good idea to check the unmounted file system on this partition:
e2fsck /dev/sdb1
See how that goes.