Hi all,
I have ClearOS 5.2 and I want to provide the option for workstations to PXE boot into a Ubuntu LiveCD.
This is what I have done so far:
* created a flexshare called netboot where I have placed the latest Ubuntu Desktop ISO image
* Installed nfs-utils and palced the following line in the /etc/exports file:
/var/flexshare/shares/netboot *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
* Restarted NFS
* I have correctly setup DHCP
* Downloaded the Netboot file for Ubuntu and extracted it to the netboot share.
* A workstation can successfully PXE boot and get to the menu and I can run the Install option in the menu
The problem is that the pxelinux menu does not have a Menu Item for starting the LiveCD and I can't figure out now how best to do this.
The 2 options I see are as follows:
1) Get the menu to "mount" the ISO and start Ubuntu
2) I extract the contents of the ISO to the netboot share and set the menu to start Ubuntu.
Any thoughts on what the menu items should look like?
This is what the pxelinux menu files currently look like:
/pxelink.cfg/default:
# D-I config version 2.0
include ubuntu-installer/i386/boot-screens/menu.cfg
default ubuntu-installer/i386/boot-screens/vesamenu.c32
prompt 0
timeout 0
/ubuntu-installer/i386/boot-screens/menu.cfg
menu hshift 13
menu width 49
menu margin 8
menu title Installer boot menu
include ubuntu-installer/i386/boot-screens/stdmenu.cfg
include ubuntu-installer/i386/boot-screens/txt.cfg
include ubuntu-installer/i386/boot-screens/gtk.cfg
menu begin advanced
menu title Advanced options
include ubuntu-installer/i386/boot-screens/stdmenu.cfg
label mainmenu
menu label ^Back..
menu exit
include ubuntu-installer/i386/boot-screens/adtxt.cfg
include ubuntu-installer/i386/boot-screens/adgtk.cfg
menu end
label help
menu label ^Help
text help
Display help screens; type 'menu' at boot prompt to return to this menu
endtext
config ubuntu-installer/i386/boot-screens/prompt.cfg
/ubuntu-installer/i386/boot-screens/txt.cfg:
default install
LABEL ^Ubuntu 12.04 LiveCD
menu default
find --set-root ubuntu-12.04-desktop-i386.iso
map ubuntu-12.04-desktop-i386.iso (0xff) || map --mem ubuntu-12.04-desktop-i386.iso (0xff)
map --hook
root (0xff)
kernel casper/vmlinuz file=ubuntu/preseed/ubuntu.seed noprompt boot=casper persistent iso-scan-filename=ubuntu-12.04-desktop-i386.iso quiet splash --
initrd casper/initrd.lz
label install
menu label ^Install
kernel ubuntu-installer/i386/linux
append vga=788 initrd=ubuntu-installer/i386/initrd.gz -- quiet
label cli
menu label ^Command-line install
kernel ubuntu-installer/i386/linux
append tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=788 initrd=ubuntu-installer/i386/initrd.gz -- quiet
I have ClearOS 5.2 and I want to provide the option for workstations to PXE boot into a Ubuntu LiveCD.
This is what I have done so far:
* created a flexshare called netboot where I have placed the latest Ubuntu Desktop ISO image
* Installed nfs-utils and palced the following line in the /etc/exports file:
/var/flexshare/shares/netboot *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
* Restarted NFS
* I have correctly setup DHCP
* Downloaded the Netboot file for Ubuntu and extracted it to the netboot share.
* A workstation can successfully PXE boot and get to the menu and I can run the Install option in the menu
The problem is that the pxelinux menu does not have a Menu Item for starting the LiveCD and I can't figure out now how best to do this.
The 2 options I see are as follows:
1) Get the menu to "mount" the ISO and start Ubuntu
2) I extract the contents of the ISO to the netboot share and set the menu to start Ubuntu.
Any thoughts on what the menu items should look like?
This is what the pxelinux menu files currently look like:
/pxelink.cfg/default:
# D-I config version 2.0
include ubuntu-installer/i386/boot-screens/menu.cfg
default ubuntu-installer/i386/boot-screens/vesamenu.c32
prompt 0
timeout 0
/ubuntu-installer/i386/boot-screens/menu.cfg
menu hshift 13
menu width 49
menu margin 8
menu title Installer boot menu
include ubuntu-installer/i386/boot-screens/stdmenu.cfg
include ubuntu-installer/i386/boot-screens/txt.cfg
include ubuntu-installer/i386/boot-screens/gtk.cfg
menu begin advanced
menu title Advanced options
include ubuntu-installer/i386/boot-screens/stdmenu.cfg
label mainmenu
menu label ^Back..
menu exit
include ubuntu-installer/i386/boot-screens/adtxt.cfg
include ubuntu-installer/i386/boot-screens/adgtk.cfg
menu end
label help
menu label ^Help
text help
Display help screens; type 'menu' at boot prompt to return to this menu
endtext
config ubuntu-installer/i386/boot-screens/prompt.cfg
/ubuntu-installer/i386/boot-screens/txt.cfg:
default install
LABEL ^Ubuntu 12.04 LiveCD
menu default
find --set-root ubuntu-12.04-desktop-i386.iso
map ubuntu-12.04-desktop-i386.iso (0xff) || map --mem ubuntu-12.04-desktop-i386.iso (0xff)
map --hook
root (0xff)
kernel casper/vmlinuz file=ubuntu/preseed/ubuntu.seed noprompt boot=casper persistent iso-scan-filename=ubuntu-12.04-desktop-i386.iso quiet splash --
initrd casper/initrd.lz
label install
menu label ^Install
kernel ubuntu-installer/i386/linux
append vga=788 initrd=ubuntu-installer/i386/initrd.gz -- quiet
label cli
menu label ^Command-line install
kernel ubuntu-installer/i386/linux
append tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=788 initrd=ubuntu-installer/i386/initrd.gz -- quiet
Share this post:
Responses (11)
-
Accepted Answer
-
Accepted Answer
I see ... so that would mean that on a COS 5.2 box the same instability issues would occur when using "portmap".
See: NFS Server on COS 5.2 & -6.4
The only solution I know is to install COS 6.#, because AFAIK there is no way to install "rpcbind" on COS 5.2. -
Accepted Answer
-
Accepted Answer
Hi James,
No problem ... live goes on ... I know all about it.
I could not find a How To install FOG on COS.
It looks rather complicated when I check the video tutorial.
I am not sure if it is required to run a PXE server.
If it is ... then please clarify in more detail, how FOG helped to fix that last 10% ...
Greetings,
John -
Accepted Answer
-
Accepted Answer
Hi all,
This issue may be solved for some, but not for me ... and many others when I Google it.
The error message I get is:
IP-Config: no response after # secs
The end result is a kernel panic ... hmy:
I realize that this is an old thread and I have opened a new one for this and many other issues I have with PXE booting:
[ul]HowTo: Add functionality to your PXE server[/ul]
Please advice,
John
Ps.
James ... what does FOG have to do with solving this issue for you ... ?!?
EDIT:
I have found the solution and I have updated my own thread. -
Accepted Answer
Okay, I tossed caution into the wind and actually installed FOG, had a closer look at the documentation and got it working.
The catch was this (had 1 first two of these correct):
* mount the ISO image into a folder within one of the flexshares
* NFS export the mounted ISO folder
* create an entry in the pxelinux.cfg/default file with the following information:
LABEL Ubuntu 12.04 DVD
KERNEL ubuntu12.04x86/casper/vmlinuz
APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot=10.0.0.2:/var/flexshare/shares/netboot/ubuntu12.04x86 initrd=/ubuntu12.04x86/casper/initrd.lz quiet splash --
Can't believe I struggled for a whole day on this issue but it is now solved. -
Accepted Answer
Thanks for the suggestion, herballizard, it is a goo one and in the long-term that could be something to work towards.
In reading through the documentation, it is possible run a LiveCD, but it will require editing the very config files that I am struggling with right now. Which means I have to get past this stumbling block before testing FOG. -
Accepted Answer
-
Accepted Answer
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »