Quote:
1) where do i find the hostname of my linux server to mount the drive that contains the images
2) how do i save the image onto the linux server via the network
|
Ans: 1) Since I do my paritmages from a livecd like knoppix, I don't bother with a host name. I have the ip address of the server handy and use that.
Ans: 2) The program partimage comes in two parts, server ( partimaged ) and client ( partimage ) .
I setup the server part on the machine which is going to keep the images. Then I boot up the client machines with a live cd and send the images to the server by running partimage.
Here's my notes on setting up the server....
Code:
I have a second hard drive on the server which I use to store the images.
Install partimaged on the server by using yum install partimaged, apt-get install partimage or just install from an rpm package.
Create the default user partimag with a password. Then run the following commands:
mkdir /mnt/images
mount /dev/hdb1 /mnt/images -t ext3
##Note: It would be a good idea to put that entry in the /etc/fstab
chown partimag /mnt/images
chmod 755 /mnt/images
echo partimag >> /etc/partimaged/partimagedusers &&
chown partimag /etc/partimaged/partimagedusers &&
chmod 600 /etc/partimaged/partimagedusers
Other distributions may put the partimagedusers in /usr/etc/partimaged instead of just /etc/partimaged as Redhat does.
So use these instructions in that case....
Create the default user partimag with a password. Then run the following commands:
mkdir /mnt/images
mount /dev/hdb1 /mnt/images -t ext3
##Note: It would be a good idea to put that entry in the /etc/fstab
chown partimag /mnt/images
chmod 755 /mnt/images
mkdir -p /usr/etc/partimaged
echo partimag >> /usr/etc/partimaged/partimagedusers &&
chown partimag /usr/etc/partimaged/partimagedusers &&
chmod 600 /usr/etc/partimaged/partimagedusers
Start the server with the command: partimaged or partimaged -L