[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /home dizinimi farklı dağıtımlarda kullanabilir miyim



Merhaba,
Aşağıdaki alıntı işinize yarayabilir. Eğer dağıtımınız kurulum sırasında var
olan bir ev dizinini seçmenize olanak tanımıyorsa. Çevirisiz alıntı için
kusura bakmayın.
------------------------------------------------------------------
2nd way (a little more of an effort to set up, but less error-prone
afterwards)
We assume you've got Kanotix installed on /dev/hda5 and want your /home
shifted to /dev/hda6. If you don't, change all references to hda5, hda6
accordingly. Furthermore we assume /dev/hda6 to be formatted (see man mkfs).
Commands to be entered are spelled blue.
1. boot from CD
2. open Konsole
3. sudo su
4. mount /mnt/hda5
5. mount /mnt/hda6 -o rw
6. cd /mnt/hda5/home
7. tar -cf - . | (cd /mnt/hda6/; tar -xvf -)
8. add a line
/dev/hda6              /home        reiserfs      defaults,auto                
0  0
to your /etc/fstab (adapt "reiserfs" according to your filesystem)
9. reboot

NB: none of the files on /dev/hda5/home get harmed during this process. So to
free the disk space occupied by these files, feel free to delete them some
time. Just make sure you know where you're deleting those files from! An idea
would be to (while running the hd install) mount /dev/hda5 (which is already
mounted on /) again on /mnt/hda5 and delete them then. In case you mess up
your partition names you can destroy all the data in your home directory, so
think before you type If you don't need the disk space freed, you can leave
them where they were (they'll be taken care of anyway after the next
reinstallation).
NB 2: thus if something goes wrong during the process you can try over and
over - remember, an exact copy of your files is still in /dev/hda5/home
------------------------------------------------------------------

İyi çalışmalar.

-- 
Zeki Çatav
http://kalpdamar.hekimi.com

Reply to: