LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-19-2004, 07:56 AM   #166
ghostwalker
Member
 
Registered: Jun 2003
Posts: 160

Rep: Reputation: 30

In lilo.conf change vga=? to vga=773
 
Old 02-19-2004, 08:25 AM   #167
sneak
LQ Newbie
 
Registered: Feb 2004
Posts: 21

Rep: Reputation: 15
it already is.
also tried changing it to: vga = normal, same results.
 
Old 02-19-2004, 09:38 AM   #168
c0rderr0y
Member
 
Registered: Feb 2004
Distribution: Kubuntu
Posts: 71

Rep: Reputation: 15
hey bashrc2 thanks and what do u mean run lilo again before restarting sorry im a n00b
 
Old 02-19-2004, 06:14 PM   #169
bashrc2
Member
 
Registered: Feb 2004
Distribution: slackware 9.1
Posts: 106

Rep: Reputation: 15
just type "lilo" to run lilo

then you will see if lilo is working properly without any error.

if it has an error, then you have to fix it and run lilo again until you get no errors.

[root@slackware /usr/src]# lilo
Added Slackware-9.1 *
Added Failsafe
Added Windows-XP
Added RedHat-9

that is a sample of lilo without error... have a nice day
 
Old 02-19-2004, 06:37 PM   #170
casimir
LQ Newbie
 
Registered: Oct 2003
Posts: 21

Rep: Reputation: 15
does this work with 2.6.3 ??
 
Old 02-19-2004, 06:39 PM   #171
c0rderr0y
Member
 
Registered: Feb 2004
Distribution: Kubuntu
Posts: 71

Rep: Reputation: 15
okay thanks i will try this out (trying it for the 1000th time hahahaah)
 
Old 02-19-2004, 07:38 PM   #172
bashrc2
Member
 
Registered: Feb 2004
Distribution: slackware 9.1
Posts: 106

Rep: Reputation: 15
sneak

check page 2...

are you using nvidia? if so, dont install nvidia instead install vesa only and nothing else.

try agpgart = M

also under the "device drivers" "graphics support"

support framebuffer = y
and framebuffer console support = y <-- not Module

then follow steps in page 2

good luck

Last edited by bashrc2; 02-19-2004 at 07:43 PM.
 
Old 02-20-2004, 12:44 AM   #173
ekoome
Member
 
Registered: Sep 2003
Posts: 52

Rep: Reputation: 15
removing custom Kernel

How does one remove a custom kernel. I have installed 2.6.2 but want to upgrade to 2.6.3. (SLACK9.1)


Eric
 
Old 02-20-2004, 01:00 AM   #174
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Rep: Reputation: 30
Quote:
Originally posted by c0rderr0y
i've gotten everything to work perfectly except the last step make install the last few lines say:

Added Linux
Fatal: Duplicate Label "Linux"
make[1]: *** [install] Error 1
make: *** [install] Error 2

then when i restart it boots up my old kernel
Same problem here. Both labels are still only booting 2.4.22 kernel though.

I ran lilo after making the changes and no lilo errors.
 
Old 02-24-2004, 02:05 AM   #175
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
What are your entries for lilo? That error seems self-explanatory but I assume you don't have two "Linux" labels in your lilo.
 
Old 02-24-2004, 11:36 AM   #176
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by snocked
Same problem here. Both labels are still only booting 2.4.22 kernel though.

I ran lilo after making the changes and no lilo errors.
Strange...

Where is Lilo installed? MBR, /root, etc. Are you using any other boot loaders such as Windows, etc.?
 
Old 02-25-2004, 11:26 PM   #177
bashrc2
Member
 
Registered: Feb 2004
Distribution: slackware 9.1
Posts: 106

Rep: Reputation: 15
maybe your using grub? haha just kidding
you probably didnt copy bzImage or didnt config lilo correctly, I assume this is your lilo settings:
# new compile kernel
image = /boot/vmlinuz
root = /dev/hda1
label = linux
# old kernel
image = /boot/vmlinuz
root = /dev/hda1
label = linux

either you have 2 "label=linux" or 2 "image = /boot/vmlinuz"

anyway try this:

cd to /usr/src/linux or /usr/src/linux-2.6.3
cp arch/i386/boot/bzImage /boot/bzImage-2.6.3
cp System.map /boot/System.map
cd /boot
cp vmlinuz vmlinuz-2.4.bak
rm -f vmlinuz
ln -s bzImage-2.6.3 vmlinuz

then edit lilo.conf

# kernel 2.6.3
image = /boot/vmlinuz
root = /dev/hdax # /dev/hdax <-- change x to the number of the root partition
Label = linux-2.6.3
read-only

# old kernel 2.4.22
image = /boot/vmlinuz-2.4.bak
root = /dev/hdax # same as above
label = linux-2.4.22
read-only

then save and exit
run lilo
if you get no errors then reboot

*it took me 28 tries to compile 2.6.2 and only 1 try for 2.6.3. try all possible solutions maybe you forgot to "make mrproper", or maybe you forgot to "rm -Rf linux" before you "ln -s linux2.6 linux"*
 
Old 02-26-2004, 01:21 AM   #178
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
To avoid forgetting compile steps, I've written a script that does (almost) everything for me It's 234 lines in all it's niceness - anyone care to see it?

EDIT: Bah, no need to answer that - I'll post a link to it later today (don't have time now), instead of posting the whole script here.


Last edited by Bebo; 02-26-2004 at 01:28 AM.
 
Old 02-26-2004, 09:39 AM   #179
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
OK, here is my kernel compile script. It makes my life a bit easier
 
Old 02-27-2004, 04:57 AM   #180
sneak
LQ Newbie
 
Registered: Feb 2004
Posts: 21

Rep: Reputation: 15
Re: sneak

Quote:
Originally posted by bashrc2
check page 2...

are you using nvidia? if so, dont install nvidia instead install vesa only and nothing else.

try agpgart = M

also under the "device drivers" "graphics support"

support framebuffer = y
and framebuffer console support = y <-- not Module

then follow steps in page 2

good luck
yeah I should have read more first, got it working now though. thx

whats the difference betwean make bzImage and just make btw, is image faster?
 
  


Reply



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
Help - Need guide on how to (re)compile kernel in 9.2 timko SUSE / openSUSE 1 02-17-2005 08:17 AM
re :kernel compile guide sh4d0w331 Slackware 1 10-02-2004 05:38 PM
Kernel re-compile guide marlor Slackware 6 08-08-2004 03:57 AM
What happened to the Newbie Compile Guide? boutrosboutros Slackware 6 07-14-2004 12:37 AM
mandrake specific kernel compile guide? e1000 Mandriva 4 01-09-2004 12:27 PM

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

All times are GMT -5. The time now is 08:21 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
Open Source Consulting | Domain Registration