Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Persistent Home and HD access

  1. #1
    Junior Member registered user
    Join Date
    Feb 2003
    Posts
    13

    Persistent Home and HD access

    Since I started using persistent home, user Knoppix no longer has write/enter acess to the FAT32 hard disk. In the Konquerer file manager, Knoppix only sees a locked tmp directory on the HD. In the console, Knoppix can get ls to list top level directories on the HD, and a "permission denied" error for every file in the FAT root directory.

    Root has full access to the HD. Permissions are drwxr--r-- . Attempts to modify permissions with chmod produce a "permission denied" error or are silently ignored.

    I'm stymied and looking for suggestions. I'm a total newbie to Linux with only a little Unix experience several years ago, so I might be overlooking something that's very obvious to others.

    Thanks for any help!

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Persistent Home and HD access

    1. First, umount the FAT32 partition.
    2. ' chmod ' the mount point to whatever you want
    3. Edit ' /etc/fstab ' and make sure you have 'users,rw' in the Options field for that partition/mount point
    4. then, ' mount /dev/hda1 /mnt/hda1 ' (subst actual values.)

    --Post results, either way....

    Quote Originally Posted by Knewbie
    Since I started using persistent home, user Knoppix no longer has write/enter acess to the FAT32 hard disk. In the Konquerer file manager, Knoppix only sees a locked tmp directory on the HD. In the console, Knoppix can get ls to list top level directories on the HD, and a "permission denied" error for every file in the FAT root directory.

    Root has full access to the HD. Permissions are drwxr--r-- . Attempts to modify permissions with chmod produce a "permission denied" error or are silently ignored.

    I'm stymied and looking for suggestions. I'm a total newbie to Linux with only a little Unix experience several years ago, so I might be overlooking something that's very obvious to others.

    Thanks for any help!

  3. #3
    Junior Member registered user
    Join Date
    Feb 2003
    Posts
    13

    Persistent Home and HD access

    Thanks, Dave! I think I followed your instructions to the letter. Unfortunately....

    1. First, umount the FAT32 partition.
    The difficulty appears to be in the very first step. With persistent home active, the device is busy. A lazy umount seemed to work, and I was able to complete the other steps. 'chmod' and 'mount' both reported success. But after it was all done, the permissions for hda1 had not changed and user Knoppix still could not access the HD.

    I suspect (in my vast ignorance) a solution is going to depend on modifying the persistent home script (knoppix.sh) or creating a preknoppix.sh script. Figuring out where to go next is way beyond me!

  4. #4
    Junior Member
    Join Date
    Jan 2003
    Posts
    5
    Hi Knewbie!

    You are right - you have to modify the KPH knoppix.sh a bit. Sorry for that; the update is on the way. Till then you can fix it yourself for the 0.4 version:

    Open the knoppix.sh file from KHP and change line #112
    from: "mount $p $d 2>&1 > /dev/null"
    to: "mount $d 2>&1 > /dev/null"

    In other words: simply drop the $p.

    I hope this works for you!
    Matthias

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Persistent Home and HD access

    >> 1. First, umount the FAT32 partition.
    >>2. ' chmod ' the mount point to whatever you want
    >>3. Edit ' /etc/fstab ' and make sure you have 'users,rw' in the Options field for that partition/mount point
    >>4. then, ' mount /dev/hda1 /mnt/hda1 ' (subst actual values.)

    --Ok, try this:
    After umounting, ' chown knoppix /mnt/hda1 ' and ' chmod a+rx /mnt/hda1 '; follow steps 3 and 4 again. That should at least enable READ access for the knoppix user.

    --Post results again....

    Quote Originally Posted by Knewbie
    Thanks, Dave! I think I followed your instructions to the letter. Unfortunately....

    1. First, umount the FAT32 partition.
    The difficulty appears to be in the very first step. With persistent home active, the device is busy. A lazy umount seemed to work, and I was able to complete the other steps. 'chmod' and 'mount' both reported success. But after it was all done, the permissions for hda1 had not changed and user Knoppix still could not access the HD.

    I suspect (in my vast ignorance) a solution is going to depend on modifying the persistent home script (knoppix.sh) or creating a preknoppix.sh script. Figuring out where to go next is way beyond me!

  6. #6
    Junior Member registered user
    Join Date
    Feb 2003
    Posts
    13

    HD access with Persistent Home

    --Ok, try this:
    After umounting, ' chown knoppix /mnt/hda1 ' and ' chmod a+rx /mnt/hda1 '; follow steps 3 and 4 again. That should at least enable READ access for the knoppix user.
    Thanks again, Dave, but still no joy. User Knoppix still sees no change in permissions.

    I'll be trying the script change suggested by Matthias now, but I wanted to test your suggestion first. Your advice is appreciated!

  7. #7
    Junior Member registered user
    Join Date
    Feb 2003
    Posts
    13

    HD access with Persistent Home...Yes!

    You are right - you have to modify the KPH knoppix.sh a bit. Sorry for that; the update is on the way. Till then you can fix it yourself for the 0.4 version:

    Open the knoppix.sh file from KHP and change line #112
    from: "mount $p $d 2>&1 > /dev/null"
    to: "mount $d 2>&1 > /dev/null"
    That's it! Thank you, Matthias! HD access works fine now.

    I'm looking forward to the next update, of course!

    I'm thinking of copying the Knoppix directory to the HD, in order to run from the HD without a full installation. Do you know if Persistent Home will work if Knoppix is located on the HD?

    Thanks again!

  8. #8
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    42.3° N 122.9° W
    Posts
    166

    Re: HD access with Persistent Home...Yes!

    Open the knoppix.sh file from KHP and change line #112
    from: "mount $p $d 2>&1 > /dev/null"
    to: "mount $d 2>&1 > /dev/null"
    Perfect timing, I was just about to reburn my ISO with the ph scripts included. You saved me from making a coaster.

    Is that the only update or are there some more enhancements I should wait for?

    Thanx,

  9. #9
    Junior Member
    Join Date
    Jan 2003
    Posts
    5

    Re: HD access with Persistent Home...Yes!

    Quote Originally Posted by audioaficionado
    Is that the only update or are there some more enhancements I should wait for?
    There a two fixes for v0.4. The first is described above and fixes issues with fat32 partitions.
    The second fixes the problem, that you cannot have your .knoppix file on the same partition as /knoppix/KNOPPIX (i call this a poor man's hd install )

    To apply the fix you change the knoppix.sh like this:
    Replace the following text in line #148:
    "for dir in /mnt/*; do"
    with
    "for dir in /cdrom /mnt/*; do"

    (add /cdrom)

    With these fixes you are fully up-to-date. I planned the release of the following version for the next days, but i've delayed it to investigate a possible integration of KPH with Andre Holzhey's interesting project "plugscript". I expect this to take a few days.

    Matthias

  10. #10
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    42.3° N 122.9° W
    Posts
    166
    I did the edit in w2k using GVIM (vim for windoze). http://www.vim.org

    I love this editor. It makes notepad.exe suck bad.

    It's even lots better than Note Tab IMHO because it shows the line and charictor position. Sure beats counting while repeatedly hitting the down arrow key.

    Anyway post us on any more changes and merges of your kool script.

    Thanx again,

Page 1 of 2 12 LastLast

Similar Threads

  1. My persistent home isn't persisting
    By j.drake in forum General Support
    Replies: 43
    Last Post: 05-15-2005, 01:09 AM
  2. moveing persistent home to 3.4
    By firebyrd10 in forum General Support
    Replies: 5
    Last Post: 05-15-2004, 03:17 PM
  3. how to access "persistent home derectory"
    By EmoRock in forum General Support
    Replies: 2
    Last Post: 08-22-2003, 06:13 AM
  4. Persistent Home Resizing
    By xeerex in forum General Support
    Replies: 0
    Last Post: 07-14-2003, 08:19 PM
  5. Cannot access hd after installing persistent home 0.4
    By Civil Eng in forum General Support
    Replies: 1
    Last Post: 03-18-2003, 01:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Oracle 7085209 LSI MegaRAID SAS 9361-8i 1GB Cache 12Gbps SAS/SATA PCIe RAID Card picture

Oracle 7085209 LSI MegaRAID SAS 9361-8i 1GB Cache 12Gbps SAS/SATA PCIe RAID Card

$28.20



LSI 9207-8i 8-Port SAS Non-RAID 6GBPS PCIe Host Bus Adapter picture

LSI 9207-8i 8-Port SAS Non-RAID 6GBPS PCIe Host Bus Adapter

$34.95



Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller picture

Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller

$28.00



LSI 9223-8I 6GBPS PCIe SAS Internal RAID Controller picture

LSI 9223-8I 6GBPS PCIe SAS Internal RAID Controller

$22.75



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$82.49



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$58.99



NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0 picture

NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0

$99.00