Results 1 to 5 of 5

Thread: trouble moving /usr

  1. #1
    Member
    Join Date
    Oct 2007
    Posts
    52

    Default trouble moving /usr

    im trying to move /usr to another partition off a real Hard drive install (myeeepc ssd) to a SDcard so i logged out after finishing install and booted up with live USB so i could copy the /usr file to SD and renamed original /usrOLD fixed fstab to include new mount point however when i check the old /usr size compared to copied its slightly larger.. i did the copy in konqorure its obvious it didnt copy everything over... how should i of done this?
    "cp /usrOLD /usr" ?

  2. #2
    Member PeppersGhost's Avatar
    Join Date
    Jan 2008
    Posts
    204

    Default

    You said you tried to "move" /usr to the sd. Then you show the cp command?
    I think you're saying you want to backup the /usr to the sd?
    <EeePc 1000HA BT4/W7 USB boot Alfa500 GPS BlueTooth>

  3. #3
    Junior Member kr0m3's Avatar
    Join Date
    Jan 2008
    Posts
    68

    Default

    Code:
    cp /usr/.* /<SD card mount point>/usr/
    will get all your hidden files, but as to whether this is a good idea or not, weeelll.......

    ~k
    "...you've picked up a bit of an attitude. Still curious and willing to learn, I hope. "

  4. #4
    Junior Member
    Join Date
    Feb 2008
    Posts
    40

    Default

    cp -aR /usr /newpartition

    The "a" option means it will archive all including symbolic links so your backup partition will mount perfectly. The /usr directory will be created with this copy.

  5. #5
    Member
    Join Date
    Oct 2007
    Posts
    52

    Default

    thanks dattaway thats what i was looking for cause i knew it was leaving hidden files behind... just wanted to know correct command

Posting Permissions

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