LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-15-2009, 05:27 PM   #16
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31

Here is my lilo.conf:

Code:
# 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
 
Old 04-15-2009, 05:41 PM   #17
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
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.
 
Old 04-15-2009, 05:48 PM   #18
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by brianL View Post
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.
 
Old 04-15-2009, 05:56 PM   #19
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
I don't know much about the hardware side and BIOS, so I can't be any help with that. Somebody one this forum must know the answer.
 
Old 04-15-2009, 08:08 PM   #20
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
Old 04-15-2009, 08:46 PM   #21
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by bgeddy View Post
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.
 
Old 04-15-2009, 08:56 PM   #22
amiga32
Member
 
Registered: Mar 2009
Location: Illinois
Distribution: slackware bro
Posts: 161

Rep: Reputation: 38
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.
 
Old 04-15-2009, 10:20 PM   #23
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
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.
 
Old 04-15-2009, 10:59 PM   #24
amiga32
Member
 
Registered: Mar 2009
Location: Illinois
Distribution: slackware bro
Posts: 161

Rep: Reputation: 38
Quote:
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
 
Old 04-15-2009, 11:15 PM   #25
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by amiga32 View Post
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!

Also, these guys are installing Slack 12.2 on my machine...wonder what kernel they are using? http://www.emperorlinux.com/systems/...details&id=524

Last edited by joutlancpa; 04-15-2009 at 11:24 PM.
 
Old 04-16-2009, 12:31 AM   #26
amiga32
Member
 
Registered: Mar 2009
Location: Illinois
Distribution: slackware bro
Posts: 161

Rep: Reputation: 38
Quote:
Originally Posted by thezoid View Post
Could you draw a picture for me? I'm still in a steep learning phase....I would very much appreciate that!

Also, these guys are installing Slack 12.2 on my machine...wonder what kernel they are using? http://www.emperorlinux.com/systems/...details&id=524
Follow Alien BOB's guide for building a new kernel for anything you are unsure of.

You will find ext3 options under Filesystem options when configuring your kernel. That guide even has a section about it.
 
Old 04-16-2009, 05:48 AM   #27
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
If everything's working OK with the huge kernel, do as bgeddy suggests and stick with that.
 
Old 04-16-2009, 12:45 PM   #28
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by brianL View Post
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....?
 
Old 04-18-2009, 12:55 PM   #29
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211

Original Poster
Blog Entries: 1

Rep: Reputation: 31
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'

thanks !! john
 
  


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
slack 12, switch to generic kernel from huge kernel, using grub? jaguarrh Slackware 8 09-19-2007 06:29 AM
GART TLB error generic level generic Clydesdale Linux - Software 1 08-13-2007 06:47 PM
GART TLB error generic level generic Clydesdale Linux - Hardware 0 08-13-2007 06:18 PM
feisty generic kernel jaymoney Ubuntu 2 05-03-2007 09:05 PM
Generic kernel xgm Mandriva 1 02-06-2005 10:06 AM

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

All times are GMT -5. The time now is 03:58 PM.

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