Giter Club home page Giter Club logo

Comments (7)

upl1nk-v01d avatar upl1nk-v01d commented on May 26, 2024 1

Eureka!! I found solution. :)
I appended this line: initrd16 /boot/grub/ipxe/boot.ipxe

menuentry 'ipxe' {
set root='hd0,msdos1'
linux16 /boot/grub/ipxe/ipxe.lkrn
initrd16 /boot/grub/ipxe/boot.ipxe
}

...and the console throws out bunch of 'hello world'.
Thank you for trying to help me. :)

from ipxe.

NiKiZe avatar NiKiZe commented on May 26, 2024

Try imgfetch path/to/file
When that succeeds do imgstat and make sure that it says script, if not your #!ipxe is not the first bytes of the file.

The only way to have scripts on usb is in efi, and relies on the firmware support for the filesystem on the device, which in efi spec is only fat.

Let us know what you use to try and run the script, but my guess is that you want to do something that you have not yet described which has better solutions.

from ipxe.

upl1nk-v01d avatar upl1nk-v01d commented on May 26, 2024

Tried with imgfetch /boot/grub/ipxe/boot.ipxe, but console throwed back: Could not start download. Operation is not supported.

from ipxe.

NiKiZe avatar NiKiZe commented on May 26, 2024

Why are you using a file on disk in the first place? Instead of embedded or from the network?

Did you read the documentation for using files from disk in efi, and are you sure you are using efi and not pcbios?

from ipxe.

upl1nk-v01d avatar upl1nk-v01d commented on May 26, 2024

First of all, thank you for replying to my dummy problem :D
My desire was to boot ipxe from usb drive for experimenting and simplicity sake.
My struggle was to automaticly execute boot.ipxe script file.
What do you mean by 'embedded'? I was using pcbios.
My catch was to boot in ipxe via usb drive on laptop to automaticly connect to my external OS (win, linux etc) server.

from ipxe.

NiKiZe avatar NiKiZe commented on May 26, 2024

As I wrote, file on local disk is not an option in pcbios

See https://ipxe.org/embed

from ipxe.

NiKiZe avatar NiKiZe commented on May 26, 2024

Well, that is not a ipxe script, but happy you got your scenario working. This is not a "solution" that I would recommend to anyone.

Since this is not an issue with ipxe itself, it would have been better to post it under discussion rather than issue.

from ipxe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.