LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2006, 02:30 PM   #1
kniwor
Member
 
Registered: Aug 2005
Distribution: Slackware 12
Posts: 106

Rep: Reputation: 15
installing linux via lan


well i got ol P3, cdrom not working, also there is no option to boot from USB, so i was wondering how do i install linux via network, any tutorial or help would be appreciated, as i was suggested i have made a minimal install of slackware on my PC, now i have to just put that on other machines, how do i go about that.
 
Old 08-21-2006, 02:33 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
try using the
linux askmethod

what you need is to setup ftp/http/nfs on some other machine and put the cd contents there. when linux asks from where to install just point it to the place where you have stored this for eg: http://192.168.2.5/slack/files/
 
Old 08-22-2006, 12:36 AM   #3
kniwor
Member
 
Registered: Aug 2005
Distribution: Slackware 12
Posts: 106

Original Poster
Rep: Reputation: 15
i am a bit lost here, plaesae explain in detail, i have ftp setup, i have linux already installed on that machine, which i intend to wipe out and i have got another linux installation ready to be copied, now if i had a boot from USB option or boot from CD i would have copied the linux files in there and then configured it. but how do i boot, maybe the existing linux can be of some help. here's what i think, will this work.

I boot in current linux, then ftp all the files and get them in that HDD, then i chroot to that, and wipe out the existing linux, then i copy the files in the partition of my desire, and configure, and then i delete the other copy of linux files, will this work.
 
Old 08-22-2006, 01:05 AM   #4
tty2
LQ Newbie
 
Registered: Aug 2006
Distribution: slackware, redhat, centos
Posts: 3

Rep: Reputation: 0
i have tried this with redhat. this is how i did it,
i copy all cd's in one location using this command
Code:
cp -var /mnt/cdrom/* /location/of/install/files
i ran this command for all the cd's and i understand this as "the cp command with the -var switch actually copies the files while maintaining the directory structure for all file. i think this is done so that all the files are found where they should be found or where the installer thinks it should be."

next i installed vsftpd and created ftp user who home directory is /location/of/install/files.

then i booted from the first cd and in the first prompt typed 'linux askmethod'. this made the installed give me a choice of how i wanted to install linux. i chose ftp, gave the location of the ftp server and directory and the install was on its way. oh i forgot, the installer also asked me to setup my network (ip, subnetmasks etc).
 
Old 08-22-2006, 02:52 AM   #5
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Rep: Reputation: 15
I believe only NFS supports graphical installation while ftp or http supports only text mode installation. I have found the following guides which may help:
http://www.tldp.org/HOWTO/Network-In...O-2.html#ss2.1

http://www.redhat.com/docs/manuals/l...stall-net.html

please let us know how it goes.
 
Old 08-22-2006, 07:06 AM   #6
kenji
Member
 
Registered: Sep 2004
Location: Philippines
Distribution: Slackware
Posts: 143

Rep: Reputation: 16
1) setup 2 computers
2) create a network sharing for NFS
https://www.redhat.com/docs/manuals/...stall-net.html
3) copy the installation tree in your share
4) insert the cd in the computer you want to format
5) type linux askmethod
6) choose network installation
7) type the IP or hostname of the server and the path of the shared folder
https://www.redhat.com/docs/manuals/...stall-nfs.html
 
Old 08-22-2006, 08:32 AM   #7
kniwor
Member
 
Registered: Aug 2005
Distribution: Slackware 12
Posts: 106

Original Poster
Rep: Reputation: 15
hey guys if I had the CDROM working, i would not have to go through the trouble of all this, the problem is i have no way to boot that comp off cd or USB drive, but if someone can tell me how to make a ramdisk, maybe i can give it a try by booting into it's existing OS.
 
Old 08-22-2006, 11:14 AM   #8
kniwor
Member
 
Registered: Aug 2005
Distribution: Slackware 12
Posts: 106

Original Poster
Rep: Reputation: 15
also i just discovered that i dont remember the root password anymore, so i cant chroot, what a problem.....
i need help it seems....
 
Old 08-23-2006, 11:05 PM   #9
kenji
Member
 
Registered: Sep 2004
Location: Philippines
Distribution: Slackware
Posts: 143

Rep: Reputation: 16
try booting using a floppy drive and try copying the installation
tree through a network or download it. if you forgot your root
password try booting into single user mode. i hope this helps| 3

http://linuxgazette.net/issue19/booting.html
http://www.mail-archive.com/linux-mi.../msg07077.html
 
Old 08-24-2006, 06:21 AM   #10
kniwor
Member
 
Registered: Aug 2005
Distribution: Slackware 12
Posts: 106

Original Poster
Rep: Reputation: 15
thanks a lot, as there is no floppy drive too, i will just temporarily put a cdrom from another system into that one, and then reinstall, i could have dont this earlier but just though that if there is a way around it can save me the same trouble next time this happens. thanks a lot.
 
Old 08-24-2006, 07:47 AM   #11
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 545

Rep: Reputation: 33
You can do ftp installs with RH kickstart. Not sure if that also applies to Slack. You can even install directly from USB with kickstart. Google RH & kickstart for more on this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing a LAN server e-freak Linux - Networking 9 08-16-2005 11:01 PM
Installing FC3 from LAN hubabuba Fedora 2 02-27-2005 01:08 PM
Installing over LAN Kabuso Linux - Networking 1 12-30-2004 03:51 AM
Installing Wlan drivers, have normal lan support on linux bmonkman Linux - Newbie 2 12-10-2004 01:00 PM
Installing LAN card cvbuty Linux - Hardware 6 02-06-2004 10:27 AM


All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration