+ Post New Thread
Results 1 to 10 of 10
*nix Thread, Move to own partitions in Technical; Hey folks looking for some help here I am looking at converting our web server from Fedora to Ubuntu However.. ...
  1. #1

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,644
    Thank Post
    858
    Thanked 645 Times in 428 Posts
    Rep Power
    498

    Move to own partitions

    Hey folks looking for some help here

    I am looking at converting our web server from Fedora to Ubuntu

    However..

    When it was first installed, everything was put under the / partition ()
    How can I move the folowing to their own partitions?

    /usr
    /home
    /var/www

    And then is it just a case of wipe / and install Ubuntu and a quick reconfiguration?

  2. #2


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,686
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Probably easier to be honest.

  3. #3

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,529
    Thank Post
    513
    Thanked 2,406 Times in 1,862 Posts
    Blog Entries
    24
    Rep Power
    822
    Make the new partitions using fdisk, mount them as something normal (/mnt/blah) then copy all the data over, remember which is which, and then choose them when you're reinstalling.

    That is assuming you have spare space on the disk with which to do the job?

    If not, and you need to resize the / partition, this site may help:
    How To Resize ext3 Partitions Without Losing Data | HowtoForge - Linux Howtos and Tutorials

  4. 2 Thanks to localzuk:

    Gatt (22nd October 2009), llawwehttam (26th October 2009)

  5. #4

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,644
    Thank Post
    858
    Thanked 645 Times in 428 Posts
    Rep Power
    498
    Quote Originally Posted by kmount View Post
    Probably easier to be honest.
    What - the wipe/reinstall? Yeah it may be easier - but with the entire school website, and moodle, and various other stuff - then its not an option im afraid

    I need to keep the data - and reconfigure the necessary config's

    @localzuk - cheers for the info -I'll take a alook at the disks over half term and see what I can do

  6. #5


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,686
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Sorry I misread there, thought you'd literally just installed it.

    You can resize the partitions based upon what localzuk has said.

  7. 2 Thanks to kmount:

    Gatt (22nd October 2009), llawwehttam (26th October 2009)

  8. #6

    Join Date
    Sep 2008
    Location
    Birmingham
    Posts
    82
    Thank Post
    31
    Thanked 8 Times in 7 Posts
    Rep Power
    13
    Seems like abit of a headache trying to do it that way.

    Its not too difficult to rsync all the website stuff to a backup server and export the mysql database, then put it all back into the new install.

    Just out of curiosity, why do you want to move from Fedora to Ubuntu when you've got it all setup already?

    Adam

  9. #7

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,644
    Thank Post
    858
    Thanked 645 Times in 428 Posts
    Rep Power
    498
    Quote Originally Posted by AdamK View Post
    Seems like abit of a headache trying to do it that way.

    Its not too difficult to rsync all the website stuff to a backup server and export the mysql database, then put it all back into the new install.

    Just out of curiosity, why do you want to move from Fedora to Ubuntu when you've got it all setup already?

    Adam
    This is what I did in the end
    successfully restored joomla, WHD and Moodle this way, though GLPI seems to be struggling (all pages are blank!)

    Moving to ubuntu cos my fedora install is struggling now and tbh, i prefer ubuntu now lol

  10. #8


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,686
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Good move, give me a shout if you have any probs.

  11. #9


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,686
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    though GLPI seems to be struggling (all pages are blank!)
    Worth checking the Apache accesslog/errorlog if this still happens over on ubuntu.

  12. #10

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,644
    Thank Post
    858
    Thanked 645 Times in 428 Posts
    Rep Power
    498
    Quote Originally Posted by kmount View Post
    Worth checking the Apache accesslog/errorlog if this still happens over on ubuntu.
    Sorted this - deleting the config/config_db.php forces the installer to re-run and you can update the installation again..

    All now seems to be working - but time will tell really...

SHARE:
+ Post New Thread

Similar Threads

  1. How many Partitions do you have??
    By actech in forum Windows
    Replies: 31
    Last Post: 28th August 2011, 08:00 PM
  2. Replies: 2
    Last Post: 16th April 2009, 11:40 AM
  3. Partitions - opinions/advice?
    By j17sparky in forum Windows Server 2000/2003
    Replies: 1
    Last Post: 18th February 2009, 11:13 AM
  4. Delete Partitions
    By Silverman in forum Scripts
    Replies: 4
    Last Post: 9th April 2008, 04:20 PM
  5. Single or mulitple partitions
    By NetworkGeezer in forum How do you do....it?
    Replies: 11
    Last Post: 28th April 2007, 07:38 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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