Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-08-2008, 02:35 AM   #1
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
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:
$ 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
Senior Member
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
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
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 9 Stretch
Posts: 2,353
Blog Entries: 8

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


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 40 03-16-2020 12:02 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 > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:48 AM.

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