On 10/19/2011 12:16 PM, alaios wrote:
>
> Yes I plan to make a “right” ext4 home partition.
>
> Why I will need a live cd for doing that?
do you already have an unused partition which is or can be formatted
with ext3/4?
if not, you will need shrink existing partitions and it is not possible
to do that from a system installed in a partition to be manipulated
or, maybe you have space on a different drive?
> My Guess is to use Yast and create the new home partition
creating a new partition entirely outside of the existing boundary of
the root system, its swap space and your home is possible while using
YaST, if everything in the space is neither currently in use nor
needed to be retained…
> and make the old one somewhere else mountable as read only.
where is “somewhere else”? a different drive? currently unused space?
and how, while using the installed system do you have two homes at the
same time? (something rather easily done when booted from a live CD)
> Then I will just need to copy the hidden files which I do not know how
> I can do that with bash.
hidden files are copied, moved, created or destroyed just like
not-hidden files…
a ‘normal file’ becomes “hidden” by beginning its name with a .
add a . and it is hidden, delete the . and it is not…
in either case it remains a file and is moved, copied, deleted or
created the same way, always…
copy is done at the command line using the command cp if you had
successfully created a new home mounted at (say) /home, and had moved
the old home to “somewhere” named /oldhome then the command would (i
think) be something like:
cp -r /oldhome /home
alternatively, one could use rsync, like:
rsync -avz /oldhome /home
there are other ways, but as said previously i wouldn’t do it that way,
instead i would use Midnight Commander running in bash (because it is so
easy)
as always i highly recommend a BACKUP all data to a safe, off machine
location prior to beginning any partitioning operation…recovery from
typing mistakes can be painful, expensive and/or impossible.
and, whatever you do–don’t do anything based on what i have written
until after you have read the caveat in my sig.
–
DD
http://tinyurl.com/DD-Caveat
openSUSE®, the “German Automobiles” of operating systems