Results 1 to 6 of 6

Thread: Don't Have Permission to Access Disk

  1. #1
    Junior Member
    Join Date
    Sep 2006
    Posts
    6

    Don't Have Permission to Access Disk

    Forgive me for posting in this forum and mis-posting in the "Installing on an HD" forum earlier today. I have been attempting to use Knoppix to recover files from a hosed Debian install on a HDD. Knoppix boots fine, allows me to config network, but I cannot see the HDD partitions on the desktop, but I can browse the drive using testdisk. When I use the Personal Files browser (the little Red House on the taskbar), I can see hda1 as a bunch of colored boxes (ala Q-Bert), but when I click on it, I am told that "You do not have enough permissions to read the file file:///dev/hda1"

    I changed the root password on Knoppix to the same root pass as I used on the Debian install. I am also told that the drive is mounted already if I attempt to mount it somewhere...although there is nothing in /etc/fstab or /etc/mtab that says anything about hda1. This post is in line with what I have been experiencing. I ran cat /proc/partitions and fdisk -l /dev/hd? and both showed info for hda1 that I would expect.

    At this point, I am starting to think that there is some kind of permission issue and that the drive is actually mounted...but, not shown because of some kind of permission issue. I am lost.

  2. #2
    Senior Member registered user
    Join Date
    Sep 2005
    Posts
    205

    Re: Don't Have Permission to Access Disk

    Quote Originally Posted by iamchachi
    Forgive me for posting in this forum and mis-posting in the "Installing on an HD" forum earlier today. I have been attempting to use Knoppix to recover files from a hosed Debian install on a HDD. Knoppix boots fine, allows me to config network, but I cannot see the HDD partitions on the desktop, but I can browse the drive using testdisk. When I use the Personal Files browser (the little Red House on the taskbar), I can see hda1 as a bunch of colored boxes (ala Q-Bert), but when I click on it, I am told that "You do not have enough permissions to read the file file:///dev/hda1"
    You can't browse the files from /dev/hda1. You need to browse from where that partition is mounted, usually /mnt/hda1 or /media/hda1.

    If it's not mounted yet, you can do this from Konsole to mount it:
    Code:
    sudo mkdir /hda1
    sudo mount /dev/hda1 /hda1
    And after that try to browse the /hda1 directory

    Quote Originally Posted by iamchachi
    I am also told that the drive is mounted already if I attempt to mount it somewhere...although there is nothing in /etc/fstab or /etc/mtab that says anything about hda1.
    Did you check the output from mount command? Does it say anything about hda1? For me it gives something like
    Code:
    knoppix@0[knoppix]$ mount
    ...
    /UNIONFS/dev/hda1 on /mnt/hda1 type ext2 (ro,nosuid,nodev)
    This tells me that /dev/hda1 is mounted at /mnt/hda1 and so I can browse the files from there. (Just ignore the /UNIONFS on the beginning of that line).

  3. #3
    Junior Member
    Join Date
    Sep 2006
    Posts
    6
    malaire,

    sudo mdir /hda1 goes fine
    sudo mount /dev/hda1 /hda1 - outputs mount: /dev/hda1 already mounted or /hda1 busy

    Also, mount | grep hda outputs nothing.

    cat /proc/partitions outputs:

    major minor #blocks name

    3 0 20044080 hda
    3 1 19189611 hda1
    3 2 1 hda2
    3 5 851413 hda5
    240 0 1991680 cloop0
    254 0 20044048 dm-0
    254 1 19189611 dm-1
    254 2 851413 dm-2

  4. #4
    Senior Member registered user
    Join Date
    Sep 2005
    Posts
    205
    Quote Originally Posted by iamchachi
    malaire,

    sudo mdir /hda1 goes fine
    sudo mount /dev/hda1 /hda1 - outputs mount: /dev/hda1 already mounted or /hda1 busy

    Also, mount | grep hda outputs nothing.
    That's strange. I don't know how that could be possible so I don't really know if I can help here

    Did you also check /mnt/hda1 and /media/hda1 just in case hda1 would be mounted there?

  5. #5
    Junior Member
    Join Date
    Sep 2006
    Posts
    6
    Yes, I thought, with my limited wisdom, that is was strange as well. I have checked a lot of places to see if it was mounted there...but no love. There was one messge I saw somewhere along the way that warned the blocks where 2054 and not 512 in size. It didn't say it was a problem, it just mentioned it. I don't remember exactly where I saw that. But, at this point, that is all I can think of.

  6. #6
    Junior Member
    Join Date
    Sep 2006
    Posts
    6
    I am sure there is some kind of low-level conflict with Knoppix and my drive or controller at this point. But, I just had success mounting right away with MEPIS 6.0. Of course, the network would not keep my static IP configuration long enough for me to transfer anything off the machine (changes stayed in place for about 10 seconds each time). I did however have a small memory stick that has managed to keep the public safe from me and a near-rampage.

    I am sure this is a rare situation, as it sounds like KNOPPIX is really good at recognizing and mounting drives on its own, but if I can help the dev team figure this out I am game.

    Thanks for your help malaire.

    -Jason

Similar Threads

  1. HFS+ access: Permission Denied for user's folders
    By spongebue in forum General Support
    Replies: 2
    Last Post: 01-04-2010, 03:10 AM
  2. USB Config, Format and Permission access
    By WHODIDDAT in forum Hardware & Booting
    Replies: 1
    Last Post: 05-16-2007, 03:21 AM
  3. Replies: 1
    Last Post: 01-18-2007, 05:36 PM
  4. Disable hard disk access
    By jdharap in forum Customising & Remastering
    Replies: 1
    Last Post: 01-09-2007, 08:46 AM
  5. permission denied when trying to access vfat partition
    By db109 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 06-13-2005, 09:57 AM

Posting Permissions

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


Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked) picture

Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked)

$17.99



Yealink SIP-T54W Prime Business IP Phone Gigabit WiFi Bluetooth VoIP picture

Yealink SIP-T54W Prime Business IP Phone Gigabit WiFi Bluetooth VoIP

$59.95



Yealink SIP-T54W Prime Business IP Phone Gigabit WiFi Bluetooth VoIP picture

Yealink SIP-T54W Prime Business IP Phone Gigabit WiFi Bluetooth VoIP

$59.95



Grandstream WP810 Portable Cordless Wi-Fi IP Phone picture

Grandstream WP810 Portable Cordless Wi-Fi IP Phone

$54.99



Cisco CP-8821-K9 Wireless VoIP Phone w/ Battery - WORKING picture

Cisco CP-8821-K9 Wireless VoIP Phone w/ Battery - WORKING

$144.99



Cisco / Linksys SPA2102 VoIP 2FXS Phone Adapter with Router (unlocked) picture

Cisco / Linksys SPA2102 VoIP 2FXS Phone Adapter with Router (unlocked)

$18.99



Lot Of 16: Polycom VVX 501 VoIP Touchscreen Desktop Phone W/Handsets & Stands picture

Lot Of 16: Polycom VVX 501 VoIP Touchscreen Desktop Phone W/Handsets & Stands

$150.00



Poly Edge E500 12-Line Corded IP VoIP Phone w/ PoE, Black/Silver picture

Poly Edge E500 12-Line Corded IP VoIP Phone w/ PoE, Black/Silver

$120.00



Yealink MP54 - VoIP Phone - Black Teams phone Android POE WIFI Bluetooth picture

Yealink MP54 - VoIP Phone - Black Teams phone Android POE WIFI Bluetooth

$49.95



LINKSYS SPA3102 VOICE GATEWAY VOIP ADAPTER WITH BUILT-IN ROUTER W ADAPTER CABLE picture

LINKSYS SPA3102 VOICE GATEWAY VOIP ADAPTER WITH BUILT-IN ROUTER W ADAPTER CABLE

$32.20