Re: [SLE] Help with install to 5th partition - Continued
From: Jerry Feldman (gaf_at_blu.org)
To: firstname.lastname@example.org Date: Mon, 9 May 2005 11:12:13 -0400
On Monday 09 May 2005 10:00 am, Jim Flanagan wrote:
> Further to my original post on this topic on Arpil 23rd, I'm planning on
> moving mount points around (/var /usr /home) to one partion, in order to
> create an extended partion, them move these mount points back to seperate
> partions on the extended partion. I basically need to make more partions
> for my 9.3 install.
> To recap from before, I currenty have seperate primary partions as
> follows: hdb1 swap
> hdb2 home
> hdb3 usr
> hdb4 var
> All mount under suse 8.2 and KDE
> I plan to temporairially move /usr and /var to /home, create an extended
> partion, hdb3 I think, then hdb4 & hdb 5 and move /usr and /var back to
> these respecitvely.
> My question is what do I have to do for suse to find these moved
> partions? Do I have to edit fstab or something, or will the boot process
> find them automatically?
No. You will need to do this manually, but you do not need to boot. But,
since you are changing /var, you will probably need to go to single user
The following procedure should work:
1. make directories for the /usr and /var trees in /home
2. set to single use mode. ('/sbin/init S' or '/sbin/shutdown now')
3. Copy the contents of /usr and /var to the corresponding directories
in /home. (You may need to remount the root file system as read-write, and
manually mount /home and /usr/ and /var as these should be unmounted when
you transition to single-user mode).
4. unmount /var/ and /usr.
5. you can then delete hdb3 and hdb4 with YaST (in character cell mode) or
6. Create the extended partition and hdb5 and hdb6
7. Using YaST, simply reset the mount points (or edit fstab).
8. Copy the contents back from the /home directory tree.
9. Return to run level 5.
The reason you need to go to single user mode is that you have daemon
processes and /sbin/init that write to files in /var, and your spool files
Or, you could boot a rescue or a statndalone Linux to perform the task, but
-- Jerry Feldman <email@example.com> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 -- Check the headers for your unsubscription address For additional commands send e-mail to firstname.lastname@example.org Also check the archives at http://lists.suse.com Please read the FAQs: email@example.com