HOMEPAGE FORUMS NEWS DOCUMENTATION SCREENSHOTS
SystemRescueCd forums
View unanswered posts | View active topics It is currently 02 Sep 2010, 17:51



Post new topic Reply to topic  [ 11 posts ] 
 Loading sysrcd.dat via TFTP instead of HTTP 
Author Message

Joined: 23 Dec 2007, 14:38
Posts: 4
Post 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
Profile

Joined: 11 Jan 2008, 18:11
Posts: 6
Post 
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
Profile

Joined: 23 Dec 2007, 14:38
Posts: 4
Post 
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
Profile

Joined: 11 Jan 2008, 18:11
Posts: 6
Post 
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
Profile

Joined: 23 Dec 2007, 14:38
Posts: 4
Post 
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
Profile

Joined: 11 Jan 2008, 18:11
Posts: 6
Post 
thanks a lot!
it works perfect!

do you mind publishing this as a tutorial/how2 in the sysrescd-wiki?


12 Jan 2008, 12:18
Profile

Joined: 23 Dec 2007, 14:38
Posts: 4
Post 
No, not at all.

As long as I don't have to do it... ;-)


12 Jan 2008, 14:58
Profile

Joined: 11 Jan 2008, 18:11
Posts: 6
Post 
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
Profile
Site Admin

Joined: 17 Jul 2003, 09:44
Posts: 2456
Location: Paris, France
Post 
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
Profile

Joined: 14 May 2008, 09:15
Posts: 1
Post 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
Profile
Site Admin

Joined: 17 Jul 2003, 09:44
Posts: 2456
Location: Paris, France
Post 
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
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.