Page 1 of 1

boot from IP, how?

Posted: 09 Jan 2011, 17:36
by Mithrandil
hiya, how can boot from IP (IP cheatcode) be done?

is there something special needed or just a porteus folder and an http server?

thank you

Re: boot from IP, how?

Posted: 09 Jan 2011, 18:38
by fanthom
you will need http server and dnsmasq package which will act as dhcpcd + tftp servers. be aware that httpfs client included with initrd does work properly only with very few http servers. in32bit edition we have 'monkey httpd' which has full compatibility with httpfs client, while in 64bit i had to use webfsd. Unfortunately hrrpfs in able to read one folder only from webfsd server.

Have a look on /usr/bin/pxe-boot script in 64bit edition - it will lead you to the rest of settings (mostly written by Tomas M).

Re: boot from IP, how?

Posted: 11 Jan 2011, 13:46
by Mithrandil
than you for the prompt reply, i will take a look into the script

did you notice they released a new version called httpfs2 some months ago, may be they also improved compatibility with web servers, gotta take a look into the source soon... http://sourceforge.net/projects/httpfs/files/httpfs2

Posted after 1 minute 27 seconds:
i managed how to mount a single file in httpfs2, most of webservers should work, :Bravo:

Code: Select all

httpfs2 http://$serveryouwant/$fileyouwant $httpfs2_mount_directory
if you do that with an ISO you can then mount your iso as loop device!!! =@

Code: Select all

mount -o loop $httpfs2_mount_directory/$fileyouwant $iso_mount_directory
i know, 1 single file is not much, but it will probably allow you to mount an iso file from most of websites (can't test it now, i'm behind a proxy server at the moment)

to allow it to mount also directories from the web it will need some source code modifications (basically to crawl directories)