can't delete files from second HDD

Hey all, I have 2 hardrives on my pc, one 500gb as my boot and 80gb for backup, I have music on there to etc, its from my previous pc, I can access all the files in opensuse but I can’t delete anything.

Help would be appreciated.

What is the format of your hard drive with music ?

Please provide the output of running in a terminal:

df -Th
cat /etc/fstab

You probably cannot add files either.

Please open a terminal window, invoke commands below, and post output here. Some may ask you to enter the rootpassword.

fdisk -l

su -c ‘cat /etc/fstab’

ls -ld /windows/*

Don’t start worrying, this is going to work.

:slight_smile: … actually, you don’t need root permissions to look at the contents of fstab. :slight_smile:

wow fast replys,thanks

this is what came up.

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x88db7687

Device Boot Start End Blocks Id System
/dev/sda1 1 9729 78148161 7 HPFS/NTFS

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5da35da3

Device Boot Start End Blocks Id System
/dev/sdb1 1 262 2104483+ 82 Linux swap / Solaris
/dev/sdb2 * 263 2873 20972857+ 83 Linux
/dev/sdb3 2874 60801 465306660 83 Linux

and then…

/dev/disk/by-id/ata-ST3500320AS_9QMAFAZ7-part1 swap swap defaults 0 0
/dev/disk/by-id/ata-ST3500320AS_9QMAFAZ7-part2 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-ST3500320AS_9QMAFAZ7-part3 /home ext4 acl,user_xattr 1 2
/dev/disk/by-id/ata-ST380011A_5JV9NM1P-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
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

and the last…

drwxr-xr-x 1 root users 8192 2009-11-25 19:52 /windows/C

@ oldcpu

the format is ntfs-3g

[QUOTE=linuxsydney;2078384][/QUOTE]
hmmm … I do not see output of :

df -Th

change the entry in your fstab for your /window/C such that your fstab is now:

/dev/disk/by-id/ata-ST3500320AS_9QMAFAZ7-part1 swap swap defaults 0 0
/dev/disk/by-id/ata-ST3500320AS_9QMAFAZ7-part2 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-ST3500320AS_9QMAFAZ7-part3 /home ext4 acl,user_xattr 1 2
/dev/disk/by-id/ata-ST380011A_5JV9NM1P-part1 /windows/C ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0
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

Reboot and try again what you were trying to do wrt deleting files.

Be VERY CAREFUL when editing the /etc/fstab file, as you can completely destroy your PC’s ability to boot if you make the wrong change.

[LEFT][/LEFT]

oops sorry, here it is

Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb2 ext4 20G 3.8G 15G 20% /
udev tmpfs 1000M 236K 999M 1% /dev
/dev/sdb3 ext4 437G 230M 415G 1% /home
/dev/sda1 fuseblk 75G 75G 356M 100% /windows/C

oh ok cheers i’ll try that right now

Note, if to edit that file you need to use root permissions:

  • in gnome type: gnomesu gedit /etc/fstab
  • in kde type: kdesu ‘kwrite /etc/fstab’
    and enter root password when prompted for a password.

And be VERY careful as if you edit it wrong you can destroy the capability of your PC to boot.

thanks!. it worked, I can now delete files I don’t need on my back up :slight_smile:

Also, I noticed when I rebooted, at the start it says

opensuse
windows
opensuse ( failsafe )

the boot options, why is windows there?, how do I get rid of it.

It’s still there since your windows install is still there. To remove it, start Yast, System, Bootloader. Remove the ‘windows’ line, confirm, exit, reboot, ‘windows’ gone, done.

thanks it worked, much appreciated :slight_smile: