Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Boot using GRUB2" to "Getting Started" section at netboot.me #38

Open
Harvie opened this issue Nov 9, 2011 · 2 comments
Open

Add "Boot using GRUB2" to "Getting Started" section at netboot.me #38

Harvie opened this issue Nov 9, 2011 · 2 comments

Comments

@Harvie
Copy link

Harvie commented Nov 9, 2011

I have another HOWTO to be added to http://www.netboot.me/gettingstarted page:

Boot using GRUB2 (from HDD)

Download and save http://static.netboot.me/gpxe/netbootme.iso to /boot/images (you will have to create this directory). Then add this configuration to the end of your /boot/grub/grub.cfg:

# (23) netboot.me
menuentry "netboot.me" {
    loopback loop /images/netbootme.iso
    linux16 (loop)/GPXE.KRN
}

where /images/netbootme.iso is path to downloaded image on partiton where grub is installed. You can also specify different partition as (hd0,1)/images/netbootme.iso.

@Harvie
Copy link
Author

Harvie commented Nov 10, 2011

BTW if somebody knows how to get netboot.me working under GRUB legacy (1). Don't be shy to let us know :-) I am pretty sure that it's not impossible (even without loopback), but i am using GRUB2 everywhere, so i have no place to test it...

@Harvie
Copy link
Author

Harvie commented Dec 20, 2011

I've got another ways to boot netboot.me using GRUB 1 or 2 and using pxelinux:

You will need "netbootme.iso" and "memdisk" files. memdisk is part of syslinux and can be built from syslinux >= 4.05 sources as simple as

cd syslinux-4.05/memdisk/
make
sudo cp memdisk /boot/

then you can use the "memdisk" file for several uses:

Boot any .iso (including netbootme.iso)

Using GRUB2

# (42) netboot.me iso
menuentry "netboot.me" {
    linux16 /memdisk iso
    initrd16 /images/netbootme.iso
}

Using GRUB Legacy (1)

title NetBoot.me (iso)
  kernel /memdisk iso
  initrd /images/netbootme.iso

Using PXELinux

PXELinux is netboot image which acts as bootloader that allows you to select and boot one of multiple different images from server (sou you can eg.: choose between Archlinux, Debian, Netboot.me and Windows XP).

To make this work copy netbootme.iso and memdisk images to /var/lib/tftpboot/
and add following lines to /var/lib/tftpboot/pxelinux.cfg/default

LABEL netbootme
    kernel memdisk
    append iso initrd=netbootme.iso

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant