• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How To Add Ubuntu 15.10 and Debian 8 To PXE Network Boot in CentOS 7

870

How To Add Ubuntu 15.10 and Debian 8 to PXE Network Boot in CentOS 7

In this article, we will learn how to add Ubuntu 15.10 and Debian 8 to PXE Network Boot on CentOS 7 and it requires a client and server machine to complete this process.

Step 1: To Add Ubuntu 15.10 to PXE Menu

To Download Ubuntu 15.10 ISO Image

Go to the Ubuntu 15.10 Download page, here we are downloading 64-bit ISO Image, copy it to a pendrive, and then mount it on your system by running the following command.

[root@linuxhelp ~]# mount /dev/sdb1  /mnt
[root@linuxhelp ~]# fdisk &ndash l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x2f23e80f

Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 25561 204800000 83 Linux
/dev/sda3 25561 26581 8192000 82 Linux swap / Solaris

Disk /dev/sdb: 15.6 GB, 15552479232 bytes
255 heads, 63 sectors/track, 1890 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1b54e590

Device Boot Start End Blocks Id System
/dev/sdb1 1 1891 15187952 c W95 FAT32 (LBA


To Download Ubuntu 15.10 Netboot Image

Use the following command to download Ubuntu Netboot Images on to PXE Server.


For Ubuntu 15.10

------------------ On 32-Bit ------------------
# wget http://archive.ubuntu.com/ubuntu/dists/wily/main/installer-i386/current/images/netboot/netboot.tar.gz

------------------ On 64-Bit ------------------
# wget http://archive.ubuntu.com/ubuntu/dists/wily/main/installer-amd64/current/images/netboot/netboot.tar.gz


Go to the Ubuntu 15.10 Netboot Official page, download the required files and copy to PXE tftp server location.
Extract the downloaded package using ' tar' command and copy it to ' /var/lib/tftpboot/' .

[root@linuxhelp ~]# tar xfz netboot.tar.gz
[root@linuxhelp ~]# cp -rf /mnt/install/netboot/ubuntu-installer/ /var/lib/tftpboot/


Check for the final resultant path. The following structure should be achieved.

/var/lib/tftpboot/ubuntu-installer/amd64
/var/lib/tftpboot/ubuntu-installer/i386 


Copy the OS files from the pendrive to ' /var/lib/tftpboot/ubuntu-installer/amd64'

[root@linuxhelp ~]# cp -rf /mnt/* /var/lib/tftpboot/ubuntu-installer/amd64 


Open PXE default configuration file, in the text editor.

[root@linuxhelp ~]# nano /var/lib/tftpboot/pxelinux.cfg/default


To PXE Menu, add the following configuration.

On Ubuntu 15.10 64-bit
label 4
menu label ^4) Install Ubuntu 15.10 x64
kernel ubuntu-installer/amd64/linux
append vga=788 initrd=ubuntu-installer/amd64/initrd.gz -- quiet

label 5
menu label ^5) Ubuntu 15.10 Rescue Mode
kernel ubuntu-installer/amd64/linux
append vga=788 initrd=ubuntu-installer/amd64/initrd.gz rescue/enable=true -- quiet


Important: Change the architecture ' ubuntu-installer/< arch _name> /< directory_name> ' , according to your system configuration.
Now lets start with the client PXE installations, after configuring PXE menu file and unmount the pendrive.

[root@linuxhelp ~]# umount /mnt


Select the Install Ubuntu 15.10 x64
Ubuntu installation

Follow the instruction to Install Ubuntu.
installation step

In the PXE Boot Menu, Select the install Ubuntu 15.10 Rescue mode.
Ubuntu 15.10 Rescue mode

In Rescue Mode, Select Execute a shell.
Execute a shell

Press continue to complete the installation procedure.
installation procedure

To proceed with the Ubuntu installation, use the following link
www.linuxhelp.com/install-ubuntu-15-10-snapshots-2/

Step 2: To Add Debian 8 Jessie to PXE Menu

Visit the official Debian Netinstall Download page and download the netboot.tar.gz archive.
Debian supports multiple system architecture for Netboot installation sources and the procedure is same for all the architectures except for the debian-installer/$directory_architecture name.
Add the Debian 8, 64-bit Netboot archive by loging into PXE Server with the root account and run the following command.

# wget  http://ftp.nl.debian.org/debian/dists/jessie/main/installer-amd64/current/images/netboot/netboot.tar.gz


Execute the following command to extract and copy the debian-installer directory to tftp server path.

[root@linuxhelp ~]# tar xfz netboot.tar.gz
[root@linuxhelp ~]# cp -rf debian-installer/ /var/lib/tftpboot/


Copy the OS files from pendrive to the ' /var/lib/tftpboot/debian-installer/amd64' location

[root@linuxhelp ~]# cp -rf /mnt/* /var/lib/tftpboot/debian-installer/amd64


Open Pxe server configuration file, using nano editor

[root@linuxhelp ~]# nano /var/lib/tftpboot/pxelinux.cfg/default


Add the following PXE Label Menu for Debian Wheezy 64-bit:

label 6

menu label ^6) Install Debian 7 x64
kernel debian-installer/amd64/linux
append vga=788 initrd=debian-installer/amd64/initrd.gz -- quiet

label 7

menu label ^7) Install Debian 7 x64 Automated
kernel debian-installer/amd64/linux
append auto=true priority=critical vga=788 initrd=debian-installer/amd64/initrd.gz -- quiet


Important: Change the architecture ' debian-installer/< arch _name> /< directory_name> ' , according to your system configuration to add other debian architectures.

Use the following commands to clean up Debian resources.

[root@linuxhelp ~] # cd & &  rm -rf debian-installer/  netboot.tar.gz  pxelinux.*  version.info


Boot the client machine and proceed the installation procedure from PXE menu.
booting process

Follow the instruction to install Debian 8.
install Debian 8

To proceed with the Debian installation visit,
https://www.linuxhelp.com/how-to-install-debian-8-3/

Tags:
eli
Author: 

Comments ( 1 )

karimserrieyh
nice tutorial, very clear. I hope you do tutorial for UBCD or Acronis. Keep it up.
Add a comment

Frequently asked questions ( 5 )

Q

How PXE Boot Works?

A

PXE Boot describes a standardized client-server environment which boots a software assembly, retrieved from a network of PXE-enabled clients

Q

What bootable media you have used for booting iso of Centos/Debian before proceeding with PXE?

A

"PowerISO" used here for that purpose, you can also try "Rufus" for booting iso images of OS.

Q

Since I am new to Linux please let me know can I be able to install Ubuntu directly or only with PXE

A

You can also install Ubuntu directly with standard procedures.

Q

What is the exact syntax for adding Os to PXE boot Menu?

A

The syntax for adding them are, say for Ubuntu "' ubuntu-installer/< arch _name> /< directory_name> '" likewise you can assign the settings accordingly.

Q

What is the installation procedure for Debian 8?

A

Do check "https://www.linuxhelp.com/how-to-install-debian-8-3/" for the installation of Debian 8

Related Tutorials in How To Add Ubuntu 15.10 and Debian 8 To PXE Network Boot in CentOS 7

Related Tutorials in How To Add Ubuntu 15.10 and Debian 8 To PXE Network Boot in CentOS 7

How to install Gparted on Debian 9.0
How to install Gparted on Debian 9.0
Sep 13, 2017
Installation SSL Certificate on Ubuntu/Linuxmint/Debian to Secure Apache
Installation SSL Certificate on Ubuntu/Linuxmint/Debian to Secure Apache
Sep 19, 2018
How to install and update OpenSSL on Debian 11.3
How to install and update OpenSSL on Debian 11.3
Oct 21, 2022
How to install qBittorrent on Debian 9.0
How to install qBittorrent on Debian 9.0
Sep 8, 2017
How to Install FileZilla in Debian
How to Install FileZilla in Debian
Nov 29, 2016
How to install Nmap on Debian 9.0
How to install Nmap on Debian 9.0
Sep 9, 2017
How to Install Laravel in Debian
How to Install Laravel in Debian
Dec 7, 2016
How to install Wireshark in Debian
How to install Wireshark in Debian
Mar 18, 2017

Related Forums in How To Add Ubuntu 15.10 and Debian 8 To PXE Network Boot in CentOS 7

Related Forums in How To Add Ubuntu 15.10 and Debian 8 To PXE Network Boot in CentOS 7

MariaDB
ryan class=
E: Unable to locate package mariadb-server
Sep 18, 2017
Linux
AadrikaAnshu class=
How to add timestamps to history On Any Linux Machine
Jun 18, 2019
vim
jacob class=
Change true vi-compatible editor from Debian Vim-compatible
Nov 8, 2021
debian
anandaamatya class=
RedNotebook on Debian buster
Jun 30, 2020
Ubuntu
Kirin class=
Videos Always Micro-Shutter
Mar 8, 2019
debian
luke class=
workbench for debian
May 26, 2017
debian
teddybarax class=
Softwae installation problem
Aug 24, 2020
debian
colbyvance class=
Trouble Installing Debian 10.8.0 (Gnome)
Feb 28, 2021

Related News in How To Add Ubuntu 15.10 and Debian 8 To PXE Network Boot in CentOS 7

Related News in How To Add Ubuntu 15.10 and Debian 8 To PXE Network Boot in CentOS 7

Debian IceDove kicks the bucket after Thunderbird revisits Debian Repositories
Debian IceDove kicks the bucket after Thunderbird revisits Debian Repositories
Feb 28, 2017
Mass update of Jessie - A better alternative to new version?
Mass update of Jessie - A better alternative to new version?
May 8, 2017
Debian 9.2 ‘Stretch’ OS is here, download distro now
Debian 9.2 ‘Stretch’ OS is here, download distro now
Oct 9, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Luke ?
workbench for debian

I am using workbench in CentOS whereas now I need to use Debian Operating system so could you please help to install and use in Debian?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.