| Author |
Message |
|
SvOlli
Joined: 23 Dec 2007, 14:38 Posts: 4
|
 Loading sysrcd.dat via TFTP instead of HTTP
Hello,
I've modified the /linuxrc-script (and /usr/share/udhcpc/default.script) to use tftp instead of wget to load the sysrcd.dat onto the system. Right now, I've replaced all http code with tftp. That version is available on request if anyone else has a use for it.
I could hack up a version that supports both, http and tftp, but that's some more work I'd only put in there if that change would make it into the distribution.
Greetings,
SvOlli
|
| 23 Dec 2007, 15:05 |
|
 |
|
gizmo
Joined: 11 Jan 2008, 18:11 Posts: 6
|
Hello,
would you be so kind and publish your script?
I have also an http server but i want everything on one machine (wanna use tftp).
thanks
gizmo
|
| 11 Jan 2008, 18:14 |
|
 |
|
SvOlli
Joined: 23 Dec 2007, 14:38 Posts: 4
|
I've put up a small webpage that offers a patch for download with some installation instructions, so you can redo my effort in a way that leaves you with the most options.
It's available at http://svolli.org/software/sysrescpxe/. I'm pretty sure that I'll get an email if there are any problems left ;-), but please let me also know if it worked for you. Thanks.
|
| 11 Jan 2008, 21:31 |
|
 |
|
gizmo
Joined: 11 Jan 2008, 18:11 Posts: 6
|
the script works fine but i get the following error when i boot via PXE:
Code: ... !! Media not found !! Could not find CD to boot, something else needed! !! Running a mini shell (cannot complete the boot process) ...
any ideas?
thanks
p.s.
i got an error, see:
http://nopaste.php-quake.net/14313
Last edited by gizmo on 12 Jan 2008, 11:19, edited 1 time in total.
|
| 12 Jan 2008, 11:10 |
|
 |
|
SvOlli
Joined: 23 Dec 2007, 14:38 Posts: 4
|
Yes, the "APPEND="-line got truncated.
It should be:
APPEND initrd=/sysresccd/svolli.cpio.gz video=ofonly vga=0 cdroot scandelay=5 boottftp=/sysresccd/sysrcd.dat dostartx
I'll fix the documentation soon.
|
| 12 Jan 2008, 11:14 |
|
 |
|
gizmo
Joined: 11 Jan 2008, 18:11 Posts: 6
|
thanks a lot!
it works perfect!
do you mind publishing this as a tutorial/how2 in the sysrescd-wiki?
|
| 12 Jan 2008, 12:18 |
|
 |
|
SvOlli
Joined: 23 Dec 2007, 14:38 Posts: 4
|
No, not at all.
As long as I don't have to do it... ;-)
|
| 12 Jan 2008, 14:58 |
|
 |
|
gizmo
Joined: 11 Jan 2008, 18:11 Posts: 6
|
SvOlli wrote: No, not at all.
As long as I don't have to do it... ;-)
okay i'll publish it in the wiki... soon :wink:
edit: I'm not priviledged to edit the Wiki :evil:
|
| 12 Jan 2008, 17:22 |
|
 |
|
admin
Site Admin
Joined: 17 Jul 2003, 09:44 Posts: 2456 Location: Paris, France
|
Loading sysrcd.dat via TFTP support instead of HTTP has been added to the official SystemRescueCd version 0.4.4-beta4. More details there:
http://www.sysresccd.org/news/2008/01/2 ... l-as-http/
|
| 27 Jan 2008, 21:38 |
|
 |
|
moobyfr
Joined: 14 May 2008, 09:15 Posts: 1
|
 http, tftp, but ftp ?
Hi,
I see that sysrescuecd has the great ability to use http and tftp to get sysrescd.dat
As wget is used for http, should it be possible to add ftp support too ? (anonymous ftp)
|
| 14 May 2008, 09:31 |
|
 |
|
admin
Site Admin
Joined: 17 Jul 2003, 09:44 Posts: 2456 Location: Paris, France
|
There is no plan to add support for FTP for the moment, since it would introduce complexity in the start-up script, and it would be one more boot option to test before each release.
|
| 15 May 2008, 06:35 |
|
 |
|