Newb: generic Kernel install. Here's where I'm at.....
SlackwareThis 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.
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.
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda3
label = Windows
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-smp-2.6.27.7-smp
initrd = /boot/initrd.gz
root = /dev/sda5
label = Slackware_Linux
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda5
label = Slack_Failsafe
read-only
# Linux bootable partition config ends
I can't see anything seriously wrong with that. That warning about LBA32 can be stopped by putting lba32 in lilo.conf, I usually put it just before all the VESA settings. But that being missing wouldn't cause the problem you're having. It's a mystery to me.
I can't see anything seriously wrong with that. That warning about LBA32 can be stopped by putting lba32 in lilo.conf, I usually put it just before all the VESA settings. But that being missing wouldn't cause the problem you're having. It's a mystery to me.
when trying to boot the initrd.gz at boot up, it keeps saying it cannot execute it, and cannot 'sync' ? however the installer kernel boots up just fine. I've got quarky hardware with this m4400 (in sig), and most distros I can't even get into X except Slack and any 'buntu derivative. Shouldn't it be a problem my command generated script? special settings I need? I'm lost.
Last edited by joutlancpa; 04-18-2009 at 12:46 AM.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Hi theziod. As brianL says your lilo.conf looks OK.
Just to be specific - when booting your generic kernel - does it say
Code:
Loading generic .....................................................
Bios Data Check succesful
then lines of kernel reporting or doesn't it get this far ? The thing is these first bits are from the initial ram disk and bits are loaded to support loading the rest of the kernal from the disk. What I'm trying to do is establish how far in the boot process it's getting.
At first sight it seems that it has a problem reading from the disk after the initrd which often can be fixed by messing with the ram disk. It's not an easy diagnostic process though !
Another angle is to boot to a known good kernel (huge) and check what hardware is being reported at boot up and in dmesg. The tricky part is, with the huge kernels loading the world at boot up, it's hard to see what's essential.
In any case all these fixes would mean messing with the initrd (adding modules) and/or recompiling the generic kernel to include something as built in. There are other avenues you may persue but it's all a bit involved !You may be best just sticking with the huge kernel. There's no big disadvantages to this.
Hi theziod. As brianL says your lilo.conf looks OK.
Just to be specific - when booting your generic kernel - does it say
Code:
Loading generic .....................................................
Bios Data Check succesful
then lines of kernel reporting or doesn't it get this far ? The thing is these first bits are from the initial ram disk and bits are loaded to support loading the rest of the kernal from the disk. What I'm trying to do is establish how far in the boot process it's getting.
At first sight it seems that it has a problem reading from the disk after the initrd which often can be fixed by messing with the ram disk. It's not an easy diagnostic process though !
Another angle is to boot to a known good kernel (huge) and check what hardware is being reported at boot up and in dmesg. The tricky part is, with the huge kernels loading the world at boot up, it's hard to see what's essential.
In any case all these fixes would mean messing with the initrd (adding modules) and/or recompiling the generic kernel to include something as built in. There are other avenues you may persue but it's all a bit involved !You may be best just sticking with the huge kernel. There's no big disadvantages to this.
Yes, it gets that far as you say above, then about a page of entries before it panics....when it goes to load the initrd it panics....says it can't 'sync' or connect
Last edited by joutlancpa; 04-15-2009 at 08:49 PM.
I had the same problem with initrd. I just compiled ext3 into the kernel instead. Sorry its not really a solution, but if you find how to make it work I would like to hear it.
how could I go about starting with the Huge kernel, and building DOWN?
EDIT: A Slacker on this forum said he eliminated the need for a ramdisk but sounded complicated for me...can anyone suggest some ram disk settings? Is anyone else using a DELL Laptop?
Last edited by joutlancpa; 04-15-2009 at 10:38 PM.
A Slacker on this forum said he eliminated the need for a ramdisk but sounded complicated for me
when you edit your kernel configuration, all you have to check the ext3 filesystem to be built into the kernel instead of as a module. Its actually really simple
when you edit your kernel configuration, all you have to check the ext3 filesystem to be built into the kernel instead of as a module. Its actually really simple
Could you draw a picture for me? I'm still in a steep learning phase....I would very much appreciate that!
If everything's working OK with the huge kernel, do as bgeddy suggests and stick with that.
Well, I was getting some funky behaviour in VirtualBox, with some usb devices working, like my scanner, and some not, like my usb keypad!! I thought something might be going on there with all those daemons and services running....?
I'm going to resurrect this thread and thank everyone like bgeddy and BrianL for their help. I've stuck with Stable after some thought, and built my own kernel per Alien Bob's guide. I pretty much followed his suggestions like building in ext3 etc plus I built in Dell Laptop support (don't know if that helped or what) and was very careful about leaving things alone. This is the stock generic kernel I customized. I rebuilt my Nvida driver, and voila I'm "Back In Slack".
Question: why did I need that initial ram disk in the first place, because it was easier? Because now I'm booting without one....I'm trying to understand all this rather than be a 'cut and paste 'parrot'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.