LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-08-2008, 02:35 AM   #1
Exebat
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
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
 
Old 07-08-2008, 07:43 AM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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.
 
Old 07-08-2008, 08:02 AM   #3
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,094
Blog Entries: 2

Rep: Reputation: 111Reputation: 111
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?
 
Old 07-08-2008, 09:04 AM   #4
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 4.0 Etch
Posts: 1,349

Rep: Reputation: 49
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).
 
  


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
How to boot Slackware via PXE ? Linux.tar.gz Slackware 33 12-19-2012 08:52 PM
pxe boot "PXE-T01 file not found" ssharma_02 Linux - Networking 16 05-18-2011 03:21 PM
PXE Boot Error paragkalra Linux - Networking 2 02-19-2008 05:21 AM
boot from pxe image jcai Linux - General 1 06-21-2006 07:08 AM
PXE boot problem asadarfeen Linux - Enterprise 2 08-29-2005 11:55 PM


All times are GMT -5. The time now is 10:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration