Re: [SLE] Noob question on partitioning
List,
The last two posts are exactly why I partitioned my system as one single
partition.
- I never though about moving the /home partition to another drive. This is
good reasoning.
- Also never thought of putting /etc on another partition. Once again good
reasoning. I hate losing all my custome settings.
One last thing - once you have re-installed SUSE, how do you get it to see
the old /home and /etc drives in place of the newly created ones - is this
handled during server setup when the partitioning options are made
avaliable (in custom partitioning mode) or is it handled manually after the
install is complete?
Cheers,
---------------------------------------------
Jonathan Hughes
Technical Support Specialist
Goodyear South Africa
---------------------------------------------
MCSE / MCP
Registered Linux User # 362669
==============================================================================
Skill is successfully walking a tightrope over Niagara Falls. Intelligence
is not trying.
-Anonymous
==============================================================================
Terence McCarthy
The ONLY modification I would recommend to the Yast standard is optionally breaking out /home into a separate partition. That way you can do a clean install and never touch your own private home directories.
Not strictly necessary, but often nice to have.
Similarly, I usually copy /etc- there are often cjanges to config files that one would wish to carry forward. Terence -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
The last two posts are exactly why I partitioned my system as one single partition.
- I never though about moving the /home partition to another drive. This is good reasoning. - Also never thought of putting /etc on another partition. Once again good reasoning. I hate losing all my custome settings.
One last thing - once you have re-installed SUSE, how do you get it to see the old /home and /etc drives in place of the newly created ones - is this handled during server setup when the partitioning options are made avaliable (in custom partitioning mode) or is it handled manually after the install is complete?
I've always kept /home on a separate partition, then, if I'm reinstalling, before doing so, I rename /home/user to /home/user.old Then simply have the partition mounted as /home during the reinstall (select custom partitioning) but for goodness' sake make sure you don't format it! Once everything is finished, you can just move the files you want across from ./user.old to the new ./user I guess you can just do the same for /etc David
On Tuesday 03 August 2004 09:40 pm, jonathan_hughes@goodyear.co.za wrote:
- Also never thought of putting /etc on another partition. Once again good reasoning. I hate losing all my custome settings.
I don't think anyone recommended that. The recommendation was to simply copy it there for future reference. There are too many things that are release dependent in etc to go blindly carrying an old one forward, but also a lot of hard to remember settings that are best backed up somewhere.
One last thing - once you have re-installed SUSE, how do you get it to see the old /home and /etc drives in place of the newly created ones - i
When running thru the partitioning portion of yast, it will ask you what you want to do with these existing partitions it finds on the disk, and what mount points to use for them, and whether or not to format them. You just tell it you want that partition to be mounted at /home and yast will not set up any /home in the root, (and even if it does, the existing /home will be mounted "on top of it" (making the new one inaccessible) which is exactly what you want. BY THE WAY... The partition on your HOME drive will not bear any label so you just have to remember where each partition on that drive is to be mounted. Its best to go into fdisk and write this stuff down when you first create it because you won't remember to do it later. Print it off and stick it inside the chassis somewhere. Its easy if an entire disk is dedicated to /home. -- _____________________________________ John Andersen
John wrote regarding 'Re: [SLE] Noob question on partitioning' on Wed, Aug 04 at 02:23:
BY THE WAY... The partition on your HOME drive will not bear any label so you just have to remember where each partition on that drive is to be mounted. Its best to go into fdisk and write this stuff down when you first create it because you won't remember to do it later. Print it off and stick it inside the chassis somewhere. Its easy if an entire disk is dedicated to /home.
tune2fs -L homedrive /dev/hda2 reiserfstune -l homedrive /dev/hda2 Presumably, other filesystems have similar options to add a label later on if the label wasn't created at partition time. It's handy to use the labels in the fstab, too, if you happen to move disks around on the IDE controller, or change SCSI IDs, or repartition, etc. --Danny, who needs to practice what he preaches someday... ;)
I always keep my /home directory and my /usr/local directory separate.
On my desktop I have enough disk to dual boot 2 different Linux distros,
so I boot into the new distro (usually the next SuSE release) and both
share my home directory. I always make sure that my user id and group
ids are the same on my network (at most 3 Linux computers). I probably
should run NIS, but the laptops need a separate home directory for
obvious reasons.
--
Jerry Feldman
Jerry Feldman wrote:
I always keep my /home directory and my /usr/local directory separate. On my desktop I have enough disk to dual boot 2 different Linux distros, so I boot into the new distro (usually the next SuSE release) and both share my home directory. I always make sure that my user id and group ids are the same on my network (at most 3 Linux computers). I probably should run NIS, but the laptops need a separate home directory for obvious reasons.
Expanding on my previous reply on the subject and why multiple partitions don't save you from the corruptions hardware can cause, I do regular backups of directories such as /home, /etc and /root and others I consider critical. I backup to a spare HD on the secondary IDE port. On the Mandrake box I use a SCSI disk as backup. I also rsync those directories across to other machines, so I have multiple backups for when the inevitable happens - in the last 5 years I've had two instances of bad hardware that has rendered useless any HD written to. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer =====LINUX ONLY USED HERE=====
participants (6)
-
Danny Sauer
-
David Robertson
-
Jerry Feldman
-
John Andersen
-
jonathan_hughes@goodyear.co.za
-
Sid Boyce