LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-24-2005, 06:52 AM   #1
salv236
LQ Newbie
 
Registered: May 2004
Location: Birmingham (UK)
Distribution: Redhat 9.0
Posts: 1

Rep: Reputation: 0
partimage


hi i am a newbie to linux and learning

i have a problem with partimage, i am using redhat 9 on the server with partimage 0.6.4 at my workplace the workstations are planning to have dual boot 2k & redhat. Problem i have are as follows:

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

NB: I am using a knoppix disk to try and send the image to the linux server, any help is greatly appreciated as i am really stuck
 
Old 01-24-2005, 08:51 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partimage tbayer Linux - Software 3 12-17-2004 11:10 PM
partimage help bungle_42 Linux - Software 11 06-17-2004 09:40 AM
Partimage or ??? HELP! Braveheart1980 Linux - General 7 02-08-2004 03:38 AM
Help with Partimage?? maestro52 Linux - Software 6 01-17-2004 06:03 AM
Help with Partimage please sluggo Linux - General 3 11-25-2003 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration