I need to do a restore of a linux from a tsm server. So, I
booted off a centos livecd and mounted all the partitions of the hard
drive into a directory, as in
# ls /machinename/
home usr var
and then do stuff like
# mount /dev/cciss/c0d0p1 /machinename
# mount /dev/VolGroup00/LogVol06 /machinename/home
[...]
Now, from what I understood I have to lie through my teeth and make the machine think that /machinename is / when it goes about restoring (well, if there is a clever way to do tell it to install into that directory, I am all
years). Would chroot do the trick? If so, how? Something like
# chroot /machinename
would suffice? If so, what about dsmc? How would I run it?
booted off a centos livecd and mounted all the partitions of the hard
drive into a directory, as in
# ls /machinename/
home usr var
and then do stuff like
# mount /dev/cciss/c0d0p1 /machinename
# mount /dev/VolGroup00/LogVol06 /machinename/home
[...]
Now, from what I understood I have to lie through my teeth and make the machine think that /machinename is / when it goes about restoring (well, if there is a clever way to do tell it to install into that directory, I am all
years). Would chroot do the trick? If so, how? Something like
# chroot /machinename
would suffice? If so, what about dsmc? How would I run it?