Find the answer to your Linux question:
Results 1 to 8 of 8
im trying to fix a friends comp whos got a nasty virus that shuts down everything as soon as he opens it. safemode doesnt work either so i decided to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2005
    Posts
    235

    is there a way to get root access to the hd from knoppix


    im trying to fix a friends comp whos got a nasty virus that shuts down everything as soon as he opens it. safemode doesnt work either so i decided to try using a boot cd. ive got to get some large files off his comp and he only has one cd drive so im gonna use an external hd. the problem is is that knoppix only has read only access. is there ne way to copy files from his harddrive (hd1) to mine (sd1). ive tried a root console with no success. thanx in advance

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Code:
    mount /dev/hda1 /mnt/hda1
    mount /dev/sda1 /mnt/sda1
    cp /mnt/hda1/foo/bar/baz.xy /mnt/sda1

  3. #3
    Linux Newbie
    Join Date
    Apr 2005
    Posts
    235
    i have tried that but ill try again. thx for the help

  4. #4
    Linux Newbie
    Join Date
    Apr 2005
    Posts
    235
    i tried again and it worked perfectly. thx for the help. no idea what i did wrong tho

  5. #5
    Just Joined!
    Join Date
    May 2005
    Posts
    7
    hey, i need some access to the hard drive nad i've tried what was listed here. im kinda a noob but when i went into the permissions and switched it to "Can View and Modify Content" after i press ok it gives me this message: "Could not change permissions for /mnt/hda1/...". Does anyone have suggestions?

  6. #6
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    open a console, type 'root' (or 'su'). That should do it. It will switch automatically to root mode.

    Read/write permissions are easy: all you have to do is rightclick the link on the desktop, then select 'change read/write permissions'. That should do it.
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  7. #7
    Just Joined!
    Join Date
    May 2005
    Posts
    7
    hmm, never tried that, thanks

  8. #8
    Just Joined!
    Join Date
    May 2005
    Posts
    7
    ok, i've tried both of what you said, and it won't work, i still can't create/copy files.

Posting Permissions

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