LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trouble preparing HD for slackware 11 install HELP! (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-preparing-hd-for-slackware-11-install-help-534387/)

titopoquito 03-06-2007 02:53 PM

Lypur, did you tell us how you want to connect to the Internet? Sorry if I read over it, but I cannot see any cue about that. Do you have an additional router? Or is your computer connected straight, and one more question: DSL or modem?

Lypur 03-06-2007 03:06 PM

Hey, sorry if i didn't give you the info you needed!
I'm conected to a D-link router by a ethernet cable, so it's a wired conection. I get my internet though a DSL highspeed cable line. If you have any more questions just ask! :)

titopoquito 03-06-2007 03:27 PM

Please start once again "netconfig". As host name type in "Lypur" or anything, as domain name I'm not sure, I have always used something like "name1.suffix", maybe try "lypur.com" :) Then choose DHCP. At "DHCP" hostname you don't need to enter anything, just type RETURN here. Twice "OK" and you're done.

I wonder if you're network card is loaded right. Could you please check this: Go to folder /etc/rc.d and type "ls -al". Where does rc.modules point to? You can tell it from the end of the line, after the "->".
If you have huge26.s kernel installed and it points to rc.modules-2.4.33 please do from in that folder:
Code:

rm rc.modules
ln rc.modules-2.6.17.13 rc.modules # there is a file called like this, or isn't it?
/etc/rc.d/rc.udev stop
/etc/rc.d/rc.udev start

Then just to be sure, please make the internet scripts executableand call the internet scripts:
Code:

chmod 755 /etc/rc.d/rc.inet1
chmod 755 /etc/rc.d/rc.inet2

/etc/rc.d/rc.inet1 stop
/etc/rc.d/rc.inet1 start

/etc/rc.d/rc.inet2

And pray ;) Does it change anything?

EDIT: Added the udev restart

Lypur 03-06-2007 03:42 PM

K, i did the netconfig again. but, after that I got lost trying to understand what to do next. I went in the folder /etc/rc.d, I found rc.modules, beside that is rc.modules-2.4.33.3 and then the next file is rc.mysqld do you want me to go into the modules or modules-2.4.33.3 file? and once I'm in the right file, I use the find command to find "as-al"?? Or do I do something else? (I'm sorry i'm not so great at all this.) I don't seem to see a file named rc.modules-2.6.17.13? Also, what do you mean when you said
Quote:

EDIT:added the udev restart
?

titopoquito 03-06-2007 03:50 PM

Ah, that might be the problem. If I understood you right you installed the "huge26.s" kernel? Put the Slackware CD (number 3 I think, but not sure) or DVD in your drive and mount it (as root usually "mount /mnt/cdrom").
Then install the modules for your kernel (in a future version this will be probably done automatically, but in 11.0 it's not :( ): "installpkg /mnt/cdrom/extra/linux-2.6.17.13/kernel-modules-2.6.17.13-i486-1.tgz"

Go to /etc/rc.d. If you do now "ls -al" you should see one more rc.modules-2.6.17.13. Now execute the first four lines I gave you.

Do the rest afterwards (the inet1 and inet2 stuff).
My last line was just to indicate what I changed in the post (I reedited it), it's nothing you have to execute :D

EDIT: just fixed some minor typos

Lypur 03-06-2007 04:56 PM

I'm actually not sure which kernel i installed:confused: when i installed slackware I just followed all the default options, when i boot up it says i'm running the 2.4.33.3 kernel...so what you're saying is. i have to install the 2.6 kernel for my internet to work??? I'll try to do what you said there ^_^

Lypur 03-06-2007 05:03 PM

when i go
Quote:

installpkg /mnt/cdrom/extra/linux-2.6.17.13/kernel-modules-2.6.17.13-i486-1.tgz
it says
Code:

cannot install pkg /mnt/cdrom/extra/linux-2.6.17.13/kernel-modules-2.6.17.13-i486-1.tgz:
 package does not end in .tgz

Does that mean that my DVDdrive isn't picking up the disk? or that the file name is wrong in some way??

titopoquito 03-06-2007 05:05 PM

I think you won't need it but am not sure -- that depends on your network card and if it's supported by the kernel. You could install the 2.6.x kernel, but maybe it's not needed.

When you do "lsmod" do you see something in its output that reminds you of your network card? What model do you have? If in question post the lsmod-output here together with the device's name/type.

titopoquito 03-06-2007 05:17 PM

Quote:

Originally Posted by Lypur
when i go it says
Code:

cannot install pkg /mnt/cdrom/extra/linux-2.6.17.13/kernel-modules-2.6.17.13-i486-1.tgz:
 package does not end in .tgz

Does that mean that my DVDdrive isn't picking up the disk? or that the file name is wrong in some way??

The kernel modules are only necessary if you have the right 2.6.x kernel running. If you want to do that, read on (I don't think it would damage your system in any way, but I can give no guarantee).

Go the folder on CD (/mnt/cdrom/extra/linux-2.6.17.13). Then call "pkgtool" - the first option is to install packages from current folder. If you want to install the kernel and its modules select kernel-modules-2.6.17.13-i486-1.

Then go to the folder "/mnt/cdrom/kernel/huge26.s". Do the following:
Code:

cp bzImage /boot/vmlinuz-huge26.s
cp config /boot/config-huge26.s
cp System.map.gz /boot/System.map.gz-huge26.s

This way you won't have any problem with root filesystem support not compiled into the kernel, which would require to make a initrd boot image :)

Open /etc/lilo.conf in a text editor, copy the section of your Slackware install and change the kernel in the second one from "vmlinuz" to "vmlinuz-huge26.s" and change the name of it to reflect that it will boot the 2.6 kernel. Then execute "/sbin/lilo". If you do not get any errors from LILO, got to /etc/rc.d and execute the few lines I posted about "rc.modules".
If you reboot now you should be presented two kernels in the LILO boot screen.

Lypur 03-06-2007 05:48 PM

yea...:confused: i'm officially lost, i don't know what's happening anymore:eek:....i think i'm going to just try ubuntu out for a bit and maybe go back to slack when I've got it down a bit more.

Lypur 03-06-2007 07:42 PM

lol, so ubuntu won't even start the X GUI on it. It also seems to lack some functions, like the ability to log into root, I think I'm going to go back to slackware, because at least THAT worked! It's just getting it configured I guess? Since I'm reinstalling Slackware, got any suggestions on how i should install it this time so everything works well off the bat?

Lypur 03-06-2007 08:35 PM

This could be it! (I was reinstalling slackware) and it came to the modem configuration step,


Code:

Modem configureation
This part of the configureation process will create a /dev/modem link pointing to the callout
 device (ttyS0, ttyS1, etc) representing your default modem.
You can change this link later if you move your modem to a different port.
If your modem is a PCI card, it will probably use /dev.ttyS4 or higher.
Please select the callout device which you woudl like to use for your modem:

No modem    donot set a dev/modem link
/dev/ttyS0  (com1: under DOS)
/dev/ttyS1  (com2: under DOS)
/dev/ttyS2  (com3: under DOS)
/dev/ttyS3  (com4: under DOS)
/dev/ttyS4  (PCI modem)
/dev/ttyS5  (PCI modem)
/dev/ttyS6  (PCI modem)
/dev/ttyS7  (PCI modem)
/dev/ttyS8  (PCI modem)
/dev/ttyS9  (PCI modem)
/dev/ttyS10  (PCI modem)
/dev/ttyS11  (PCI modem)
/dev/ttyS12  (PCI modem)
/dev/ttyS13  (PCI modem)
/dev/ttyS14  (PCI modem)
/dev/ttyS15  (PCI modem)

Think this could be the answer to my internet troubles? (before i remember selecting "/dev/ttyS4 (PCI modem)", that's probably why my internet card was on loopback because it wasn't set up for a DHCP....so if that's right, the correct choice would be no modem???

Lypur 03-06-2007 09:59 PM

anyone??:confused: I've just been keeping my install sitting right here.

Lypur 03-07-2007 12:28 AM

so I just went ahead and said "no modem" I installed the huge 2.6.x kernel...everything was going smoothly, then when i typed "startx" it loaded up, and then hit me with a white screen with "bash-3.1$" in the upper left corner...that white screen only takes up the top left hand 1/4 of the screen. and it just stays there. If i type exit, then it brings me back to the regular command line interface. then it says

Code:

could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!

waiting for X server to shutdown FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/"
 refcount is 2, should be 1; fixing.

I tried rebooting and trying again, no luck...:confused: I tried installing the package for the 2.6 kernel, that installed just fine , but didn't seem to fix the problem starting up X any ideas?

titopoquito 03-07-2007 03:47 AM

When you booted up type "xwmconfig" and choose for example KDE. Then type startx.

"No modem" should be the right option for you since you are connected via a Fast Ethernet Controller.

How did you install the package for the 2.6 kernel? Which package exactly? I ask because if you install the kernel package from /extra/linux-2.6.17.13 you will get not the same kernel as when you choose huge26.s during installation. The latter one has support for more controllers and file systems compiled in. The first one doesn't have this and so many people need to make an initrd image file, else they cannot boot up.
To use the 2.6: Have you installed the modules the way I told you? Read #39 above, maybe to be sure redo the steps (mount cd, use pkgtool to install the modules, then copy the files from CD/kernels/huge26.s). And please post if that changes something with your network.

If you do a fresh install, type in "huge26.s" at the beginning. Don't choose a modem. Choose huge26.s to install. Boot up. Mount the CD and install the modules with pkgtool. Go to /etc/rc.d, remove the old rc.modules symlink and create a new one to rc.modules-2.6.17.13 :)
Generally if your network card is supported that should be really really no big problem.


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