LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 05-17-2011, 09:44 PM   #1
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware has me hooked for now. ver 10.1 - 13.37
Posts: 285
Blog Entries: 1

Rep: Reputation: 33
Upgraded to 13.37 (64bit) from 13.1 (64bit) and Lilo is all 9's.


Figured I just built a new computer, got it up and running and Pat decides to release a new version. Ugh. Everything installed perfectly except Lilo. After I installed it using the setup script, I rebooted and it came up all 9's (A screen full of "9" "99" or "999" - I can't remember how many were grouped) Anyway.... I think it has something to do with Framebuffer mode, but I can't seem to find one that works. I have an ATI Radeon HD 5670 on a Pentuim Dual-Core @ 3.2GHz. The machine should be perfect for this distro.

Here's the LILO.conf
Code:
bash-4.1$ cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
#compact        # faster, but won't work on all systems.
# 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

# Append any additional kernel parameters:
append=" vt.default_utf8=0"
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x64k
vga = ask
# Normal VGA console
#vga = normal
# Ask for video mode at boot (time out to normal in 30s)
#vga = ask
# 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
# ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sdb6
  label = Linux
  read-only  # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
  label = WinXP
  table = /dev/sda
# Windows bootable partition config ends
bash-4.1$
The "vga =" statement has been set to many things but no matter what I try I still get 9's (except for once but with no changes and a reboot 9's appeared again). I also get the following errors
Code:
bash-4.1# lilo
Warning: LBA32 addressing assumed
Warning: Unable to determine video adapter in use in the present system.
Warning: The boot sector and map file are on different disks.
Warning: Video adapter does not support VESA BIOS extensions needed for
  display of 256 colors.  Boot loader will fall back to TEXT only operation.
Added Linux *
Added WinXP
4 warnings were issued.
bash-4.1#
Quote:
bash-4.1# lilo -M /dev/sda mbr
/boot/boot.0800 exists - no /dev/sda backup copy made.
The Master Boot Record of /dev/sda has been updated.
bash-4.1#
and neither solves the problem.

Thoughts?
 
Old 05-18-2011, 08:01 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 77
May not solve your problem, but I recently fixed my LILO framebuffer ATI Radeon HD5450 problem.
 
Old 05-18-2011, 09:29 AM   #3
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 2,183

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
The 99 error is from lilo and occurs when the primary bootloader cannot pass control to your Linux setup.

You have a problem with your lilo.conf. Is the symlink /boot/vmlinuz pointing to the correct kernel?
You do not have an initrd specified, so the symlink should be pointing to vmlinuz-huge-2.6.37.6

Also, use vga=normal. There is a note in CHANGES_AND_HINTS.TXT about this.

The LBA32 addressing assumed warning can be removed by adding 'lba32' in the global section of lilo.conf.
 
Old 05-18-2011, 10:31 AM   #4
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware has me hooked for now. ver 10.1 - 13.37
Posts: 285
Blog Entries: 1

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by allend View Post
The 99 error is from lilo and occurs when the primary bootloader cannot pass control to your Linux setup.

You have a problem with your lilo.conf. Is the symlink /boot/vmlinuz pointing to the correct kernel?
You do not have an initrd specified, so the symlink should be pointing to vmlinuz-huge-2.6.37.6

Also, use vga=normal. There is a note in CHANGES_AND_HINTS.TXT about this.

The LBA32 addressing assumed warning can be removed by adding 'lba32' in the global section of lilo.conf.
I tried "vga = normal" and it still filled my screen with 9's. /dev/sda is for winXP (still have a few programs that require it and crash in VirtualBox) /dev/sdb is the 1TB SATA drive devoted to Linux. Lilo gets installed in the sda mbr..... or it's supposed to be anyway.

Code:
login as: root
root@192.168.1.10's password:
Last login: Tue May 17 11:09:11 2011
Linux 2.6.37.6.

Words must be weighed, not counted.

root@wopr:~# cd /boot
root@wopr:/boot# ls -l
total 4893
lrwxrwxrwx  1 root root      37 May 15 18:36 README.initrd -> /usr/doc/mkinitrd-1.4.6/README.initrd
lrwxrwxrwx  1 root root      24 May 17 09:27 System.map -> System.map-huge-2.6.37.6
-rw-r--r--  1 root root 1782099 Apr  9 14:25 System.map-generic-2.6.37.6
-rw-r--r--  1 root root       0 May 18 11:11 System.map-huge-2.6.37.6
-rw-r--r--  1 root root     512 May 17 11:12 boot.0800
-rw-r--r--  1 root root     209 May 16 05:07 boot_message.txt
lrwxrwxrwx  1 root root      20 May 17 09:27 config -> config-huge-2.6.37.6
-rw-r--r--  1 root root  112324 Apr  9 14:25 config-generic-2.6.37.6
-rw-r--r--  1 root root       0 May 18 11:11 config-huge-2.6.37.6
-rw-r--r--  1 root root    5040 Mar 27 02:53 diag1.img
-rw-r--r--  1 root root   17932 Mar 27 02:53 diag2.img
drwxr-xr-x 11 root root     544 Dec 19  2009 initrd-tree/
-rw-------  1 root root   92160 May 17 22:33 map
-rw-r--r--  1 root root   15634 Mar 27 01:32 slack.bmp
lrwxrwxrwx  1 root root      21 May 17 09:27 vmlinuz -> vmlinuz-huge-2.6.37.6
-rw-r--r--  1 root root 2956592 Apr  9 14:25 vmlinuz-generic-2.6.37.6
-rw-r--r--  1 root root       0 May 18 11:11 vmlinuz-huge-2.6.37.6
root@wopr:/boot#
 
Old 05-18-2011, 11:13 AM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 2,183

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Does the zero size of the vmlinuz-huge-2.6.37.6 file that is pointed to by the vmlinuz symlink give you any clues?
Try reinstalling the huge kernel!
 
Old 05-18-2011, 11:50 AM   #6
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware has me hooked for now. ver 10.1 - 13.37
Posts: 285
Blog Entries: 1

Original Poster
Rep: Reputation: 33
I suppose that might be a problem. The funny part about that one is I tried that too! Pkgtool in the k folder right?

Edit: DOH! That was the kernel source. Ok, trying again from the a folder. LOL.

Last edited by mpyusko; 05-18-2011 at 11:55 AM.
 
Old 05-18-2011, 12:00 PM   #7
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware has me hooked for now. ver 10.1 - 13.37
Posts: 285
Blog Entries: 1

Original Poster
Rep: Reputation: 33
Code:
login as: root
root@192.168.1.10's password:
Last login: Wed May 18 10:58:59 2011 from chicklet.yuskonet.com
Linux 2.6.37.6.

An economist is a man who would marry
Farrah Fawcett-Majors for her money.
root@wopr:~# mc

root@wopr:~/temp# pkgtool



 ┌────────────Slackware Package Tool (pkgtool version 13.37)───────────────┐
 │                                                                         │
 │ Welcome to the Slackware package tool.                                  │
 │                                                                         │
 │ Which option would you like?                                            │
 │ ┌─────────────────────────────────────────────────────────────────────┐ │
 │ │     Current  Install packages from the current directory            │ │
 │ │     Other    Install packages from some other directory             │ │
 │ │     Floppy   Install packages from floppy disks                     │ │
 │ │     Remove   Remove packages that are currently installed           │ │
 │ │     View     View the list of files contained in a package          │ │
 │ │     Setup    Choose Slackware installation scripts to run again     │ │
 │ │     Exit     Exit Pkgtool                                           │ │
 │ └─────────────────────────────────────────────────────────────────────┘ │
 ├─────────────────────────────────────────────────────────────────────────┤
 │                     <  OK  >           <Cancel>                         │
 └─────────────────────────────────────────────────────────────────────────┘




         ┌───Package Name: kernel-firmware-2.6.37.6-noarch-2 ──────┐
         │ kernel-firmware (Firmware installed by the kernel)      │
         │                                                         │
         │ These are the firmware files from the Linux kernel.     │
         │                                                         │
         │ You'll need these to use certain hardware with Linux.   │
         │                                                         │
         │                                                         │
         │                                                         │
         │                                                         │
         │                                                         │
         │                                                         │
         │                                                         │
         │ Size: Compressed: 1005K, uncompressed: 2.3M.            │
         │ ┌─────────────────────────────────────────────────────┐ │
         │ │Yes   Install package kernel-firmware-2.6.37.6-noarch│ │
         │ │No    Do not install package kernel-firmware-2.6.37.6│ │
         │ │Quit  Abort software installation completely         │ │
         │ └─────────────────────────────────────────────────────┘ │
         ├─────────────────────────────────────────────────────────┤
         │               <  OK  >        <Cancel>                  │
         └─────────────────────────────────────────────────────────┘


   ┌──────────Package Name: kernel-generic-2.6.37.6-x86_64-2 ─────────────┐
   │ kernel-generic (a general purpose SMP Linux kernel)                  │
   │                                                                      │
   │ This is a Linux kernel with built-in support for most disk           │
   │ controllers.  To use filesystems, or to load support for a SCSI or   │
   │ other controller, then you'll need to load one or more kernel        │
   │ modules using an initial ramdisk, or initrd.  For more information   │
   │ about creating an initrd, see the README.initrd file in the /boot    │
   │ directory.                                                           │
   │                                                                      │
   │ SMP is "Symmetric multiprocessing", or multiple CPU/core support.    │
   │                                                                      │
   │                                                                      │
   │ Size: Compressed: 3.1M, uncompressed: 4.6M.                          │
   │ ┌──────────────────────────────────────────────────────────────────┐ │
   │ │  Yes   Install package kernel-generic-2.6.37.6-x86_64-2          │ │
   │ │  No    Do not install package kernel-generic-2.6.37.6-x86_64-2   │ │
   │ │  Quit  Abort software installation completely                    │ │
   │ └──────────────────────────────────────────────────────────────────┘ │
   ├──────────────────────────────────────────────────────────────────────┤
   │                     <  OK  >           <Cancel>                      │
   └──────────────────────────────────────────────────────────────────────┘


  ┌─────────────Package Name: kernel-huge-2.6.37.6-x86_64-2 ───────────────┐
  │ kernel-huge (a fully-loaded SMP Linux kernel)                          │
  │                                                                        │
  │ This is a Linux kernel with built-in support for most disk             │
  │ controllers.  If you're looking for a more stripped down kernel        │
  │ (this one contains everything but the kitchen sink ;-), then install   │
  │ the kernel-generic in the /boot directory along with an initrd to      │
  │ load support for your boot device and filesystem.  For instructions    │
  │ on the initrd, see README.initrd in the /boot directory.               │
  │                                                                        │
  │ SMP is "Symmetric multiprocessing", or multiple CPU/core support.      │
  │                                                                        │
  │                                                                        │
  │ Size: Compressed: 6.1M, uncompressed: 8.2M.                            │
  │ ┌────────────────────────────────────────────────────────────────────┐ │
  │ │     Yes   Install package kernel-huge-2.6.37.6-x86_64-2            │ │
  │ │     No    Do not install package kernel-huge-2.6.37.6-x86_64-2     │ │
  │ │     Quit  Abort software installation completely                   │ │
  │ └────────────────────────────────────────────────────────────────────┘ │
  ├────────────────────────────────────────────────────────────────────────┤
  │                     <  OK  >           <Cancel>                        │
  └────────────────────────────────────────────────────────────────────────┘


 ┌────────────Package Name: kernel-modules-2.6.37.6-x86_64-2 ───────────────┐
 │ kernel-modules (Linux kernel modules)                                    │
 │                                                                          │
 │ A kernel module is a piece of object code that can be dynamically        │
 │ loaded into the Linux kernel to provide new kernel functions.  Most of   │
 │ these modules provide support for devices such as CD-ROM drives, tape    │
 │ drives, and ethernet cards.  You can choose which modules to load by     │
 │ editing /etc/rc.d/rc.modules.                                            │
 │                                                                          │
 │                                                                          │
 │                                                                          │
 │                                                                          │
 │                                                                          │
 │ Size: Compressed: 20M, uncompressed: 100M.                               │
 │ ┌──────────────────────────────────────────────────────────────────────┐ │
 │ │    Yes   Install package kernel-modules-2.6.37.6-x86_64-2            │ │
 │ │    No    Do not install package kernel-modules-2.6.37.6-x86_64-2     │ │
 │ │    Quit  Abort software installation completely                      │ │
 │ └──────────────────────────────────────────────────────────────────────┘ │
 ├──────────────────────────────────────────────────────────────────────────┤
 │                       <  OK  >            <Cancel>                       │
 └──────────────────────────────────────────────────────────────────────────┘

root@wopr:~/temp# mc

root@wopr:/boot# clear
root@wopr:/boot# ls -l
total 13389
lrwxrwxrwx  1 root root      37 May 15 18:36 README.initrd -> /usr/doc/mkinitrd-1.4.6/README.initrd
lrwxrwxrwx  1 root root      24 May 18 12:48 System.map -> System.map-huge-2.6.37.6
-rw-r--r--  1 root root 1782099 Apr  9 14:25 System.map-generic-2.6.37.6
-rw-r--r--  1 root root 2706772 Apr  9 23:50 System.map-huge-2.6.37.6
-rw-r--r--  1 root root     512 May 17 11:12 boot.0800
-rw-r--r--  1 root root     209 May 16 05:07 boot_message.txt
lrwxrwxrwx  1 root root      20 May 18 12:48 config -> config-huge-2.6.37.6
-rw-r--r--  1 root root  112324 Apr  9 14:25 config-generic-2.6.37.6
-rw-r--r--  1 root root  112298 Apr  9 23:50 config-huge-2.6.37.6
-rw-r--r--  1 root root    5040 Mar 27 02:53 diag1.img
-rw-r--r--  1 root root   17932 Mar 27 02:53 diag2.img
drwxr-xr-x 11 root root     544 Dec 19  2009 initrd-tree/
-rw-------  1 root root   92160 May 17 22:33 map
-rw-r--r--  1 root root   15634 Mar 27 01:32 slack.bmp
lrwxrwxrwx  1 root root      21 May 18 12:48 vmlinuz -> vmlinuz-huge-2.6.37.6
-rw-r--r--  1 root root 2956592 Apr  9 14:25 vmlinuz-generic-2.6.37.6
-rw-r--r--  1 root root 5866144 Apr  9 23:50 vmlinuz-huge-2.6.37.6
root@wopr:/boot#
Better? Now I just have to wait until I'm in front of it to see if it fixed the problem. (gotta love SSH)
 
Old 05-18-2011, 12:41 PM   #8
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-13.37
Posts: 1,462

Rep: Reputation: 194Reputation: 194
Of course you ran lilo after that
 
Old 05-18-2011, 12:57 PM   #9
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware has me hooked for now. ver 10.1 - 13.37
Posts: 285
Blog Entries: 1

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by Didier Spaier View Post
Of course you ran lilo after that
Yes. Just just before I rebooted it. But still all I see is a gazillion 99's.

(edit vga = normal too)

<banging head on desk> I am able to run the system, um, "normally" if I use the 13.37 boot iso: "huge.s root=/dev/sdb6 rdinit= ro" but it still won't boot with LILO.
 
Old 05-18-2011, 01:50 PM   #10
Darth Vader
Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 399

Rep: Reputation: 73
@mpyusko

Man, why you want to install the LILO MBR into SDA, while the boot partition is in another disk, SDB? This setup will never work.

Just, if you don't want to touch the SDA disk, make the SDB bootable as default, from BIOS and install the LILO MBR into SDB. Enjoy!
 
1 members found this post helpful.
Old 05-18-2011, 01:53 PM   #11
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-13.37
Posts: 1,462

Rep: Reputation: 194Reputation: 194
I would try to put the boot loader on the root linux partition. In your case:
boot=/dev/sdb6

This partition should be made bootable as Darth Vader stated.
 
Old 05-18-2011, 03:02 PM   #12
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware has me hooked for now. ver 10.1 - 13.37
Posts: 285
Blog Entries: 1

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by Darth Vader View Post
@mpyusko

Man, why you want to install the LILO MBR into SDA, while the boot partition is in another disk, SDB? This setup will never work.

Just, if you don't want to touch the SDA disk, make the SDB bootable as default, from BIOS and install the LILO MBR into SDB. Enjoy!

I'm pretty sure it worked for 13.1. And I did get it to boot once properly with 13.37, not sure why though. Oh well. I'll try sdb mbr instead. I still need to boot to windows XP though.

BTW: How do I fix sda's MBR now?

Last edited by mpyusko; 05-18-2011 at 03:13 PM.
 
Old 05-20-2011, 10:22 AM   #13
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware has me hooked for now. ver 10.1 - 13.37
Posts: 285
Blog Entries: 1

Original Poster
Rep: Reputation: 33
I re-ran the liloconfig script and kept everything the same except I told it to install to /dev/sdb. Now it works. Thanks.
 
Old 05-21-2011, 09:29 PM   #14
gezley
Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware64, NetBSD, Salix
Posts: 319

Rep: Reputation: 96
Quote:
Originally Posted by mpyusko View Post
BTW: How do I fix sda's MBR now?
Safest thing is to disconnect sdb, and boot from an XP CD. Select R for repair, and type fixmbr. Press Enter, then type Exit and reboot. System should reboot into your XP OS. Reconnect sda and system should reboot into Slackware.
If you don't have a Windows XP CD try this instead. I have never tried it so read instructions carefully beforehand.
 
  


Reply

Tags
lilo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
64bit RPM installation is failing on SLES-10/11 but working fine on RHEL4/5 64bit os raghuhb Linux - Software 2 11-06-2009 07:31 AM
How do I resolve install DB2v9.5 64bit/RHEL 5 64bit (libstdc++.so.5 is not found)? okonita Linux - Newbie 2 11-13-2008 02:15 AM
Can't install amarok 64bit du eto missing provider of libpq.so.4()(64bit) Ossah Linux - Software 1 04-21-2007 09:23 PM
64bit Eval Issues...switched to 64bit OSS and WOW RedShirt Suse/Novell 6 01-23-2006 09:07 PM
can 64bit processor run both 64bit and 32bit computers? DJOtaku Linux - General 4 09-08-2005 08:14 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration