Comments (7)
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.
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.
Tried with imgfetch /boot/grub/ipxe/boot.ipxe, but console throwed back: Could not start download. Operation is not supported.
from ipxe.
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.
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.
As I wrote, file on local disk is not an option in pcbios
from ipxe.
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)
- Latest commit 3fc1b40 fails to compile with GCC 8.3.1 on Centos 7.9. HOT 8
- add public ca certification error HOT 1
- Certificates issued by Digicert GeoTrust Cloud DV are not trusted HOT 6
- Unrecognised relocation type 22 in build in loong64 ! HOT 10
- Netboot Debian on a 2006 Xserve with iPXE
- Issue with 25 gigabit Intel 810 seemingly caused by cad1cc6 (100 gigabit driver) HOT 2
- Initial make fails HOT 4
- Windows11 to use iPXE have a error HOT 1
- iPXE unable to operate Intel 82599ES NIC in EFI mode HOT 10
- Invalid file name when use .. (double dots) in path to store file for wimboot HOT 1
- Feature Request : Console Position (X - Y) for ECHO (and other text output) also a font size setting HOT 2
- Can't build iPXE due to error: call to ‘build_assert_805’ declared with attribute error HOT 9
- Feature request: support for /32 DHCP allocations HOT 4
- "No more network devices" on a supposedly supported network card HOT 4
- ipxe iso bootable issue using https HOT 1
- NBD Block device
- LoongArch EFI images fail to build
- Feature Request:Add multiple target which using qemu-img(1) as convert HOT 2
- Chelsio NICs don't play nice with NII HOT 2
- Slow download, very small packet sizes HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipxe.