Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-15-2002, 01:55 PM
|
#1
|
LQ Newbie
Registered: Dec 2002
Posts: 4
Rep:
|
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.
|
|
|
12-15-2002, 02:02 PM
|
#2
|
LQ Newbie
Registered: Dec 2002
Location: Plano, TX
Distribution: Redhat 7.3
Posts: 9
Rep:
|
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.....
|
|
|
12-15-2002, 02:25 PM
|
#3
|
LQ Newbie
Registered: Dec 2002
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
12-15-2002, 03:37 PM
|
#4
|
Senior Member
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180
Rep:
|
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.
|
|
|
12-15-2002, 03:40 PM
|
#5
|
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
|
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
|
|
|
12-16-2002, 12:25 PM
|
#6
|
LQ Newbie
Registered: Dec 2002
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
12-20-2002, 01:35 AM
|
#7
|
Member
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|