LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-15-2002, 01:55 PM   #1
JoeySlack
LQ Newbie
 
Registered: Dec 2002
Posts: 4

Rep: Reputation: 0
Exclamation Network card configuration


Ok first I should describe the situation. I'm installing slackware to my p-150 now, however it no longer contains a cdrom or a floppy drive. It has a fat32 partician with loadlin, and all the images needed. to start I can successfully boot with: loadlin bzimage rw root=/dev/ram initrd=initrd.img load_ramdisk=1 and i log in as root, everything is fine and dandy. However, I need to do an NFS installation since all my slackware stuff is on one of the other computers on my network of 5 computers. So as im logged in as root, I try the command 'network' which is what i need.. it will configure my network card, however when I do this it looks for network.dsk in /cdrom/isolinux or /cdrom/rootdisks/ in both mounted cdrom or floppy ( and I have neither floppy or cdrom)

So i guess my question is this; Is there a way for me to specify the location of network.dsk myself? I have network.dsk on /hda1/rootdisks/ .

Anyway, any help would be appreciated, i want to see if this is possible, thanks for your time.
 
Old 12-15-2002, 02:02 PM   #2
txq45
LQ Newbie
 
Registered: Dec 2002
Location: Plano, TX
Distribution: Redhat 7.3
Posts: 9

Rep: Reputation: 0
I may be all wrong but why not copy the file you need into the /mnt/floppy or /mnt/cdrom directory ,, this would work on a Redhat I don't know for sure on Slackware.....
 
Old 12-15-2002, 02:25 PM   #3
JoeySlack
LQ Newbie
 
Registered: Dec 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Hey, thanks for the quick responce txq45,

Problem is, at this stage it doesnt' seem to let me access my fat32 which is /hda1 No such file or folder when i try to copy ( and i have checked my paths etc )

Im sure its a silly thing im doing about this aspect...but i've never been introduced with the problem of accessing another partition before i start setup.
 
Old 12-15-2002, 03:37 PM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Well, you might need to modify this a bit, but if I understand your post then;

mount your hard disk partition as

mount /dev/hda1 /mnt

then mount your disk image as;

mkdir /mnt2
mount -o loop /mnt/rootdisks/filename.img /mnt2

The file name you provided as a disk image will then be mounted under loopback under the directory /mnt2. You should then be able to copy what files you need. However, I do not know what the network options are looking for. Also, remember your ramdisk has limited space available so you may not be able to copy much to the ramdisk partition. But you should be able to create a structure on hda1 to copy what you need and then mount it as the program desires.

Perhaps it has been of some help,
good luck.
 
Old 12-15-2002, 03:40 PM   #5
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
Well, try to mount it first.
mkdir /mnt
mkdir /mnt/win
mount /dev/hda1 /mnt/win or mount -t vfat /dev/hda1 /mnt/win
cp /mnt/win/whatever/network.dsk /mnt/cdrom
and try to do the nFS install again
hope that helps and good luck
-NSKL
 
Old 12-16-2002, 12:25 PM   #6
JoeySlack
LQ Newbie
 
Registered: Dec 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you guys very much for offering your advice.
It would work, except for the fact, that after its booted on ramdisk i only have 487k available, the network.dsk, or pcmica.dsk are both 1,440k. So i get the error when i cp not enough space to mount. I dont know if there are any other solutions, i might just have to put the cdrom back in.
 
Old 12-20-2002, 01:35 AM   #7
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
Maybe try creating symbolic links to the files instead of copying them:

cp -s /mnt/win/whatever/network.dsk /mnt/cdrom

note the "-s" option.
 
  


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
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 07:48 AM
network card configuration in FC2 RohanShrivastav Linux - Networking 28 12-05-2004 08:26 AM
network card configuration problem amrogers3 Linux - Networking 5 02-24-2004 02:09 PM
Network Card Configuration LoRd Of XAoS Linux - Newbie 7 08-11-2003 10:14 AM
network card configuration jmono Linux - Hardware 1 05-06-2003 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:19 PM.

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
Open Source Consulting | Domain Registration