Hi,
Try modifying your /etc/fstab and add uid & gid on your windows disk.
My windows ntfs line looks like:
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,uid=myuserlogin,gid=myuserlog in 0 0
I recently installed Knoppix to my hard drive and was wanting to access one of my Windows disks. Everything mounts properly but I cannot read any information from it using my default user (squeegy). I thought I might need to add squeegy to the disk group, but that did not work either. I have tried to chown squeegy:squeegy /mnt/hdb1 but it still remains root:root
I am sure this is something fairly simple, I just can't find anything when I search for it.
Thanks
Michael
Hi,
Try modifying your /etc/fstab and add uid & gid on your windows disk.
My windows ntfs line looks like:
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,uid=myuserlogin,gid=myuserlog in 0 0
Nope that didn't do anything different. If it makes any difference I also just noticed that prior to mounting /dev/hdb1 under /mnt/hdb1, that /mnt/hdb1 initially has the ability for group read, etc. then it is as soon as I mount the drive only the user can access the file, the group permissions disappear.
Do you mount the drives using the icons on the desktop? Well, if you do it that way, it gets mounted as read only.
If you do it from the terminal though (or the run command box), you'd be fine. You won't see the desktop icons light up though. If you want to browse it through Konqueror, just open up Konqueror and browse to /mnt/hdx.
Or you can type konqueror /mnt/hdx on the terminal.
No I'm not mounting from the desktop I no longer even have those icons. I am only mounting from console. I understand that it will mount readonly. I can't even get permission to read it unless I am root.
Hmmm.... wierd to me as I've never had this problem.
I suggest you post your fstab so our gurus here can have a stab at it.
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda2 / ext3 defaults,errors=remount-ro 0 1
/dev/hda3 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hdc5 /mnt/hdc5 ntfs noauto,users,exec,ro,umask=000 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000 0 0
# Added by KNOPPIX
/dev/hdb1 /mnt/hdb1 ntfs noauto,users,exec,ro,umask=000 0 0
I'm no expert here but how about removing the 'ro' and changing it to 'rw'?
I wouldn't give write rights to ntfs disks, you could screw up the file system if you wrote.
Sorry if obvious, but you did substitute in my earlier post myuserlogin for squeegy?
Try doing as root:
cd /dev
chmod 555 hda1 (same for hdc5 and hdb1)
I am not trying to get write access first of all, so changing it to rw would do nothing. I can't read the drive when I am any other user than root. I tried adding uid=squeegy it still responded the same. Tried cd /dev then chmod 555 hdb1 still nothing.
squeegy@mars:~$ cd /mnt/hdb1
bash: cd: /mnt/hdb1: Permission denied

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98
Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS
$239.99
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor
$50.00
Genuine Intel Xeon W-2145 3.70Ghz 8 Cores LGA2066 CPU SR3LQ Tested USA SELLER
$94.94
Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49
Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA
$350.48
INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU
$12.00
Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00
DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11
$149.00