mifan Posted October 18, 2006 Report Share Posted October 18, 2006 when mandriva installed, it created these partition: /, swap, and, /home. now, I want to resize home and make a partition /var/www/. I already have apache installed, so what's the best way to add the www partition and move all the web files there? Quote Link to comment Share on other sites More sharing options...
scoonma Posted October 18, 2006 Report Share Posted October 18, 2006 Hi mifan, you can download an ISO image of GPartEd (30MB) Live edition and burn it for using to shrink your /home partition. (Apache and your data should now reside under /.) Then simply create a new /var/www (or just /var) partition and cp everything to the new location. Mabye you've to put an entry /etc/fstab additionally. If Apache refuses to work because of some missing links/dirs or similar, you could save your local setting files, then reinstall apache and put them in their proper places them again. Cheers, scoonma Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.