-
Senior Member
registered user
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.
-
Senior Member
registered user
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.
-
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
-
By Chefren in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 01-29-2005, 02:30 AM
-
By McGyver in forum Ideas
Replies: 0
Last Post: 01-25-2005, 09:11 AM
-
By blackgtstang2k in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 05-18-2004, 09:35 AM
-
By speedy in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 12-24-2003, 02:35 AM
-
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
-
Forum Rules

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$75.99

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99

Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board
$300.00

OWC Mercury Elite Pro Quad 4-Bay USB-C 10Gb/s RAID Enclosure SoftRAID 7 XT + Box
$199.00

Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5" SATA Drives External Array
$55.00

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure
$119.99

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

CalDigit VR minin 2 Portable Raid Storage On The Go
$75.00