SRCDS Steam group


Linux Distribution (i know this has been asked a million times)
#16
^^sweet worked

where do i add thease cflags? at the end of
"make clean && make && make modules_install"
so like:
"make clean && make && make modules_install -funroll-loops -fomit-framepointers" ??????????

tell me where im suposto have spaces plz & do you sugest -o3 insted of -o2?
Reply
#17
it goes into the Makefile of the kernel source, and yes i recomend -O2 over -O3 the command would be make && make modules_install install

If you search the Makefile you should see CFLAGS int there.
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#18
yesterday i got up to the "Installing The Kernal" Part... when i typed in "mount /boot" it said "munt: cant find /boot in .etc/fstab or /etc/mtab. So i looked up google and put in some install command and screwed the installation. Anyway i got slack installed again so how do i install that new kernal?

edit: ya im totaly stuck on installing the kernel... i dont get it

edit: should i use the "-mfpmath=sse" cflag, i got a pentium m
Reply
#19
to install /boot in your /etc/fstab it'll normally appear like this:
/dev/sda1 /boot ext3 noauto 1 1

change sda1 to the partition of your /boot partition and ext3 to the type of filesystem your /boot partition uses.

If you go on servers you can probably check out #slackware on irc.efnet.net or irc.freenode.net

I wouldn't add too many optimizations to the kernel otherwise it could break.
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#20
Whole installation is screwed yet again

edit: in my fstab thereis no /boot, i think my /boot is just /
is this hat is srewing up?
Reply
#21
No, it just means you didn't create a separate partiion for /boot, this can be insecure, but you don't NEED to have a separate partition. just type ls /boot if you get a directory lisitng with your current kernel then you're all set, if you get nothing then type in fdisk -l and look for the smallest partition that is either sda1/2 or 3 or hds1/2/3 then try mount /dev/sda1 /boot and look to see if yo can find your boot partition.
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#22
dont worry if you have trouble with lilo or kernel you can use CD2 from slackware as live rescue disk. mount the needed folders on the live system and still work it out.

Wink
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply
#23
Well im back and trying again. i had to take a long break because after wasteing so many hours i was about to freek out. Im reinstalling linux now.
Reply
#24
I screwed it yet again... here is what i did:

“cd /usr/src”
“wget kernel.orgip/pub/linux/kernel/v2.6/linux-2.6.14.2.tar.bz2”
“tar xjvf linux-2.6.17.13.tar.bz2”
“cd linux-2.6.17.13"
“make menuconfig”
set everything as best i could & save
“jmacs Makefile”
Add CFLAGS: “-O2 -march=pentium3 -msse2”
"make bzImage && make modules && make modules_install"
"mv arch/i386/boot/bzImage /boot/bzImage-2.6.17.13"
"mv System.map /boot/System.map-2.6.17.13"
"cd /boot"
"rm System.map"
"ln -s System.map-2.6.17.13 System.map"
“mv /usr/src/linux-2.6.17.13/vmlinux /boot"
"ln -s /boot/vmlinuz vmlinuz.old"
"rm /boot/vmlinuz"
"ln -s /boot/vmlinux vmlinuz"
"rm /boot/vmlinux"

at this point i restarted, it still booted the old kernel...
then i tryed:

"/sbin/lilo"

and it said:
fatal: open /boot/vmlinuz: no such file or directory
but i went and looked and it was there...
then i did this:

"cd /usr/src/linux-2.6.17.13"
"make"
"make install"
"/sbin/lilo"

restarted and it automaticly rebooted after it said "bios check sucessful"

i got a fresh install of slacware ready to try again, modify my list of what i did and il try it.
thanks
Reply
#25
All you should have to do is this

after you configure your kernel from make menuconfig

run this

make && make modules_install install

This will compile your kernel, and modules (make alone does that) and install the kernel and modules, it'll install the kernel to /boot/vmlinuz-2.6.whatever kernel version you are compiling.

edit lilo.conf to match the name of the kernel and rub lilo to update the bootload (by the way grub > lilo)

"ln -s /boot/vmlinux vmlinuz"

what you're doing there is creating a symbolic link to /boot/vmlinux so by removing vmlinux vmlinuz points to nothing and therefore does not exist.

make && make modules_install install should be all you need

By the way /boot/bzImage-2.6.17.13 <- thats your actual kernel image.
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#26
ok thanks im trying now. another question, how should i set up my kernel config? Right now i am leaveing the things i dont understand checked and unchecking things that i dont need like scsi, parralell port ect any pointers on setting this stuff?
Reply
#27
edit the /etc/lilo.conf

with the new entrys, so you ever can have more than one kernel image to boot.
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply
#28
Nope same damn thing, it dont boot it just restarts. I even loaded the config file that i was currently useing so it cant be that. The lilo entry that points to vmlinuz.old doesent boot ether atleast it doesent auto restart... it is screwed. Time for gentoo...
Reply
#29
Heh, you're going to have an even tougher* time unless you read the documentation well.
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#30
ok "time for gentoo"

lol

if you dont use slackware correctly dont try different things.
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)