Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-08-2008, 03:35 AM
|
#1
|
LQ Newbie
Registered: Jul 2008
Posts: 1
Rep:
|
Pxe boot?
Hi everyone
I am going to Pxe boot a debian system from my server, the only thing is that the debian system is allready installed and comfigured, and have been for many years and i dont want to do a clean installation..
My questing is:
Is there anyway to make a pxe boot image from this existing debian installation, so i dont have to reinstall and reconfigure it?
Kind Regards Exebat
|
|
|
07-08-2008, 08:43 AM
|
#2
|
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853
Rep:
|
If you want to create a *perfect* backup of your drive, use "dd", and copy the dumps to your server:
Code:
$ sudo dd if=/dev/hda1 of=hda1-backup-$(date).dd.img
$ scp hda1-backup-$(date).dd.img user@server:/dir/to/store/disk/image
If anything goes wrong with the install, you can just reverse the dd command to dump the image back onto the partition you got it from.
PS. Depending on how long "many years" is, Debian installations are significantly easier than they were 5 years ago.
|
|
|
07-08-2008, 09:02 AM
|
#3
|
Senior Member
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,127
Rep:
|
I'd guess that your current initrd image would work fine for pxe booting that server, but the question is if its already setup why pxe boot it?
|
|
|
07-08-2008, 10:04 AM
|
#4
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
|
Yes, it's possible. Look up my how-to on this web site's wiki. Simply skip the step where I say to install Debian on the client system.
I've learned a lot of little refinements here and there since I wrote that how-to. The most important refinement is to create the PXE boot version of initrd.img on the client system instead of the server. That way, you'll create the required initrd even if the server is running a different kernel (or even a different OS).
|
|
|
All times are GMT -5. The time now is 08:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|