Install from LAN?


Forum: Other Help Topics
Topic: Install from LAN?
started by: libretto

Posted by libretto on Nov. 09 2004,13:52
I have read Roberts guide on installing DSL on laptops by using a few floppies and an internet connection.

Would it be feasible to, say, have DSL iso somewhere on your network (eg on a DSL box running a webserver) and changing the appropriate scripts so that it collects the iso from there?

That would be very useful!  :cool:

Posted by AwPhuch on Nov. 09 2004,15:07
Quote (libretto @ Nov. 09 2004,08:52)
I have read Roberts guide on installing DSL on laptops by using a few floppies and an internet connection.

Would it be feasible to, say, have DSL iso somewhere on your network (eg on a DSL box running a webserver) and changing the appropriate scripts so that it collects the iso from there?

That would be very useful!  :cool:

I agree!   And his method should work good...well ensuring you can get your network card working

A local ftp and http server would make more sence and be tons faster!!!!

Brian
AwPhuch

Posted by libretto on Nov. 09 2004,15:12
Yes. If it were possible to use the wireless card to boot over the network that would be good! :D But I'd settle for a wired LAN card which I know works :laugh:

[EDIT]Forgot, my wifi card is picked up by DSL, just need to configure it, so it should work![/EDIT] :cool:

Posted by libretto on Nov. 10 2004,21:22
Read the install properly don't know how well wifi cards are supported by TomsRBT. ???

Anyway had a quick look through Roberts (aside from one spelling mistake :;):)  only found reference to the current directory on the ibiblio ftp server. Not sure if the script actuallys gets the ISO ???

Posted by ico2 on Nov. 12 2004,14:19
excellant idea, put the floppy in and off it goes, great for installing dsl on multiple machines :)
Posted by libretto on Nov. 14 2004,22:22
Got halfway there!

Edited the install script to use http and set the target address to my servers ip. Shoved the edited script and 'current' DSL file (49MB) into the /opt/monkey/htdocs folder. Started the server using the dslpanel. Followed boot up as per roberts instructions, got tomsrbt working (although no tab key, bit annoying) setup the partitions. Then came the first problem.

Despite being logged in as root, the frugal script was listed under user '100'. So I couldn't run it and as tomsrbt doesnt have all the usual commands and tab-complete, I couldn't work out how to change the permissions. I think once that hurdle is sorted, the script will run and the DSL installation can continue.

If anyone else tries this and gets it working before me (most likely) please let us know the results!:D

Posted by libretto on Nov. 24 2004,23:44
NEED HELP!

I have changed the permissions of the frugal_lite.sh script on the laptop sucessfully. But when I try to run the script TOMSRBT claims:

./frugal_lite.sh: 'no file found'

Any ideas ???

Posted by roberts on Nov. 25 2004,01:54
This should be a very trivial change. The first two lines of code in the script define the URL and the PROTOCOL. Simply changing the URL to point to your local internal network webserver, and then change the PROTOCOL to http. The script was written to run from a TOMSRBT booted system. I used my internal monkey for testing while developing the script. I would have left prompts in there but ibiblio's url is rather long.
Posted by libretto on Nov. 25 2004,09:44
I have successfully changed the lines to get the files from my own websrver (as I posted earlier). Its just thatTOMSRTBT does not want to run the script, even though I have changed the permissions. NB: It did not want to copy it to the /tmp folder either ???
Posted by roberts on Nov. 25 2004,17:43
I can't imagine what the problem is. Just for kicks I tried it this morning.
1. Boot up tomsbtrt.
2. Setup network.
3. wget frugal-lite.sh.
4. vi the two lines to point my local monkey.
5. sh frugal_lite.sh.

It works just fine. So, I think maybe Tom changed his system, I am using v 2.0.103. So I go to his website and no the current version is still the one that I am using, 2.0.103.

Posted by libretto on Nov. 25 2004,23:15
Ah it said to run the script as "./frugal_lite.sh" in the readme.

But then noticed above you've got "sh frugal_lite.sh"

Now the script will run! :D Once I corrected whatever the silly mistake I made in the code :laugh:

Will post later on how I get on.

[EDIT]Huzzah! redownloaded the script changed the two lines (maybe mod the script so its user entry for the protocol and url?) and the script worked. Now got the laptop booted poomans style. Will have a go at a frugal install and see if I can get on with the backup (filetools.lst) milarky![/EDIT]

Thanks Roberts!

Posted by libretto on Nov. 26 2004,00:49
Not sure  if I've got the right end of the frugal install script here.

Followed your lite script, (hopefully) with the 'current' of DSL on hda1 and it installed to hda2. Rebooted fine, although it says booting from hda2? So when I try to run the full frugal script it says it cant find a partition /dev/hda (even though hda2 is mounted apparently as a cdrom equiv)/

Have I missed smoething foolishly????  (Stll Noob)

Posted by cbagger01 on Nov. 26 2004,03:50
http://www.die.net/doc/linux/man/man1/chown.1.html
< http://www.die.net/doc/linux/man/man1/chmod.1.html >

you could try

chown root:root filename.sh
chmod 755 filename.sh
./filename.sh

Posted by libretto on Nov. 26 2004,21:52
WEll finally managed to get it to work after a few hours!

Seems got DSL image created in (hda1) from frugal_lite script.

Booted toram, DSL found the image

Then ran full frugal install, did a 'web' install form my monkey webserver (grabbing iso), then got it put the iso onto hda1 (running in ram so had no sharing violations).

Setup backup partition as hda2, which will contain all my other files.

Now it boots off the HDD! :D

Just need to get head round this filetool.lst/backup stuff :;):

If I install a bunch of mydsls, do i need to keep the packages in a specific folder on hda2?

Will I have to 'restore' everytime I boot????

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.