Results 1 to 3 of 3

Thread: How to copy /var /tmp /usr /home to seperate partitions.

  1. #1
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933

    How to copy /var /tmp /usr /home to seperate partitions.

    Basically all you need do is follow the directions already found here in Stephens howto. . There is a caveat for /usr though. After copying /usr to another partition you must change the permissions of /tmp to 1777 or you will get .xsession errors.

    chmod 1777 /tmp

    Here are my partitions, their sizes (in MB) and respective mount points:

    Filesystem Size Used Avail Use% Mounted on

    /dev/hda3 2.8G 1.1G 1.6G 40% /
    /dev/hda6 942M 184M 711M 21% /home
    /dev/hda7 942M 673M 222M 76% /tmp
    /dev/hda8 942M 589M 306M 66% /var
    /dev/hda14 5.5G 3.1G 2.2G 60% /usr

    Notice that /usr is fairly large.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    New and improved method. Boot Knoppix or your favorite knoppix-flavored distro and make your partitions. Format them as ext3 (or whatever you like). Currently the installer can only format /root. Start the installer:

    knoppix-installer

    Configure an installation, when you finish w/ configure select Quit. Say YES to "save config?"

    mcedit /root/.knofig

    Edit the line that reads HD_MAP=""

    I did this:

    HD_MAP="/dev/hda6:/tmp /dev/hda7:/home /dev/hda9:/var"

    Hit F2 to save and restart the installer. You do not need to "load config file"- it will automatically use /root/.knofig.

    Twice the installer hung @ 16% when mounting a partition for /usr. (Still working on that one).

    Once you fire up the installer open another term and do:

    mount

    You should see your parts mounted on their respective directories. If not......

    You could also edit .knofig so that the installer doesn't check your partition size for /root. This way you could have less than a 3G part for /root. It still takes all of 2G however since we cannot yet move /usr out of the way and onto it's own partition.

  3. #3
    Member registered user
    Join Date
    Apr 2004
    Posts
    34

    lol

    thanks for the tip dude you are a real guru

    i had the case i needed more disk space
    i have freeing a partition for tmp but at start up, the partition was mounted but i couldn't log as normal user but root

    then i wondered if i had to bother the knoppix community with my prob
    before posting, i have done a search ==> mount AND xsession

    your post was in the result page
    then i have chmod 1777 /tmp as you said

    and now it works fine

    thanks dude

Similar Threads

  1. Mounting /var /tmp /home etc on different partitions..?
    By Chefren in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-29-2005, 02:30 AM
  2. Replies: 0
    Last Post: 01-25-2005, 09:11 AM
  3. problems with mounting home on seperate partitioin
    By blackgtstang2k in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-18-2004, 09:35 AM
  4. HD install to partitions (e.g. /boot /usr /home)
    By speedy in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 12-24-2003, 02:35 AM
  5. DS Ram /home/root not complete copy
    By joeshmoo in forum Customising & Remastering
    Replies: 0
    Last Post: 10-24-2003, 05:02 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
  •  


OEM 130W Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6 Power Adapter picture

OEM 130W Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6 Power Adapter

$35.99



M1MYR Dell OEM 130W AC Adapter 4.5mm Small Tip 4 Precision 5520 5530 M20 4MFJT picture

M1MYR Dell OEM 130W AC Adapter 4.5mm Small Tip 4 Precision 5520 5530 M20 4MFJT

$18.04



NEW OEM USB-C Type-C Charger For Dell XPS 15 2in1 9575 Precision 5530 130W picture

NEW OEM USB-C Type-C Charger For Dell XPS 15 2in1 9575 Precision 5530 130W

$35.99



NEW OEM Dell 65W 19.5V Charger AC Power Supply Adapter For LA65NM130 332-1831 picture

NEW OEM Dell 65W 19.5V Charger AC Power Supply Adapter For LA65NM130 332-1831

$12.99



OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip picture

OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip

$10.99



OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170 picture

OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170

$35.88



Genuine OEM 65W Dell PA-12 AC Adapter Charger 928G4 06TM1C LA65NS2-01 7.4*5.0mm picture

Genuine OEM 65W Dell PA-12 AC Adapter Charger 928G4 06TM1C LA65NS2-01 7.4*5.0mm

$14.99



Dell Original OEM 45W 19.5V AC Adapter Charger 070VTC 0KXTTW 00285K 0YTFJC 4.5mm picture

Dell Original OEM 45W 19.5V AC Adapter Charger 070VTC 0KXTTW 00285K 0YTFJC 4.5mm

$10.94



New OEM 90W AC Adapter Charger For Dell RT74M 0RT74M 0VRJN1 VRJN1 LA90PM111 picture

New OEM 90W AC Adapter Charger For Dell RT74M 0RT74M 0VRJN1 VRJN1 LA90PM111

$20.55



OEM 130W Power Adapter Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6 picture

OEM 130W Power Adapter Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6

$33.22