LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Thread Tools
Old 07-08-2008, 03:35 AM   #1
Exebat
LQ Newbie
 
Registered: Jul 2008
Posts: 1
Thanked: 0
Pxe boot?


[Log in to get rid of this advertisement]
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
Exebat is offline     Reply With Quote
Old 07-08-2008, 08:43 AM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Debian, Ubuntu, OpenBSD, OpenSolaris
Posts: 1,725
Thanked: 26
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.
indienick is offline     Reply With Quote
Old 07-08-2008, 09:02 AM   #3
estabroo
Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 657
Blog Entries: 2
Thanked: 18
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?
estabroo is offline     Reply With Quote
Old 07-08-2008, 10:04 AM   #4
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 4.0 Etch
Posts: 1,358
Thanked: 1
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).
IsaacKuo is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 32 10-15-2009 05:50 AM
pxe boot "PXE-T01 file not found" ssharma_02 Linux - Networking 8 07-21-2009 10:15 AM
PXE Boot Error paragkalra Linux - Networking 2 02-19-2008 06:21 AM
boot from pxe image jcai Linux - General 1 06-21-2006 08:08 AM
PXE boot problem asadarfeen Linux - Enterprise 2 08-30-2005 12:55 AM


All times are GMT -5. The time now is 12:39 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration