LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-04-2016, 06:13 PM   #1
Rita G.
Member
 
Registered: Jan 2008
Posts: 157

Rep: Reputation: 25
lilo breaks after disable nouveau


14.2 KDE

after installing nvidia driver, lilo broke.

have to insert slackware usb installer and type at boot prompt:

boot: huge.s root=/dev/sda2 rdinit= ro


so i can login.

anybody know how to fix it?
 
Old 07-04-2016, 06:58 PM   #2
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,099

Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276

Not sure what is happening here... I'm not sure LILO has much to do, if anything, with the Nvidia driver.....
What exactly happens?
Have you tried passing nomodeset to the kernel via LILO when you boot up?
Did you disable nouveau? Usually the nvidia proprietary driver won't install until you blacklist nouveau. An example here,
https://www.linuxquestions.org/quest...3/#post5570251

Last edited by cwizardone; 07-04-2016 at 07:02 PM.
 
Old 07-04-2016, 07:20 PM   #3
Rita G.
Member
 
Registered: Jan 2008
Posts: 157

Original Poster
Rep: Reputation: 25
that's exactly what i did. i disabled nouveau 1st and the lilo bootloader broke and i used my usb slackware 14.2 installer with
boot: hugesmp.s root=/dev/hda1 rdinit= ro
to boot up & login. then installed the downloaded nvidia driver and lilo is still broke.
 
Old 07-04-2016, 08:57 PM   #4
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,099

Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
What card (gpu) and driver version are you trying to install?

Here is the applicable part of my lilo.conf:
Quote:
# 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/124827-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="iommu=noapeture vt.default_utf8=0"
prompt
#timeout = 300
# VESA framebuffer console @ 1024x768x256
#vga = 773
# 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....
Like I said, I don't see where the Nvidia driver is involved.

Edit in: Of course, as you know, when you make any changes to lilo.conf you have to re-run, lilo.

Last edited by cwizardone; 07-04-2016 at 09:30 PM.
 
Old 07-04-2016, 10:31 PM   #5
Rita G.
Member
 
Registered: Jan 2008
Posts: 157

Original Poster
Rep: Reputation: 25
i'm going to re-install 14.2 and report back.
 
Old 07-04-2016, 11:03 PM   #6
Rita G.
Member
 
Registered: Jan 2008
Posts: 157

Original Poster
Rep: Reputation: 25
just logged into fresh 14.2 KDE @11:58pm & going to disable nouveau per https://www.linuxquestions.org/quest...3/#post5570251
 
Old 07-04-2016, 11:21 PM   #7
Rita G.
Member
 
Registered: Jan 2008
Posts: 157

Original Poster
Rep: Reputation: 25
disabled nouveau and rebooted. lilo began to boot & died about 5 seconds into boot sequence. so, it has nothing to do with nvidia driver (i didn't download one this time).
had to reboot with slackware 14.2 usb installer using
boot: huge.s root=/dev/sda2 rdinit= ro
to boot & login again.

Last edited by Rita G.; 07-04-2016 at 11:26 PM.
 
Old 07-04-2016, 11:39 PM   #8
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,099

Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
It has been a while.......
Somewhere along the way I found I could no longer pick the higher resolution display for lilo when sitting it up as part of the installation, that is, the VESA section as shown in post #4, above.
To get around that, without having to do a re-install, .... it has been a while so I don't remember exactly how it is done, but IIRC, when the lilo splash screen comes up, you hit the tab key? Then enter, nomodeset
and continue to boot the system.
To avoid that since, I have just selected the 'safe' resolution in the LILO setup.
 
Old 07-05-2016, 12:44 AM   #9
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Code:
#nouveau framebuffer: [no blacklist, no binary driver, needs firmware if monitor can't pass edid]
 video=nouveaufb:1680x1050-32@60 drm_kms_helper.edid_firmware=edid/1680x1050.bin
#vesa framebuffer: [blacklist nouveau]
 video=vesafb:1024x768
#vesa vga: [blacklist nouveau]
 vga=normal nomodeset
I use these depending on the driver and the chip, sometimes works with vesafb + nvidia X driver, but vga=normal is recommended by nvidia.
This is because if X crashed, nvidia module can fall off the bus and lose signal while failing to reload X driver on top of fb driver.
Note that recent binary drivers aim to provide DRM interface for the fb driver, they do not provide fb driver yet.
 
Old 07-05-2016, 07:42 AM   #10
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
I updated lilo quite a bit lately screwing around with my laptop. Did you load your slackware install partition with the usb disk? You can mount it later and use the lilo.conf file in /etc. You can play with lilo by editing the file and then in liloconfig menu select expert and then reinstall to read the lilo.config in /etc and try again.

What nvidia card driver version are you using? I got the legacy ones working off of slackbuild.
 
Old 07-05-2016, 02:37 PM   #11
Rita G.
Member
 
Registered: Jan 2008
Posts: 157

Original Poster
Rep: Reputation: 25
ok, at lilo prompt, i choose Linux (dual boot) and press tab, then type Linux nomodeset. . . and that will bring me all the way to login prompt without blacking out.
 
  


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
[SOLVED] Disable nouveau VisionIncision Slackware 2 07-04-2016 09:22 AM
CentOS 6.4 nouveau delete, disable Streamc Linux - Newbie 13 06-30-2013 01:10 PM
[SOLVED] How to disable nouveau arubin Slackware 5 05-02-2011 09:47 AM
F15, Disable Nouveau driver in prep to install Nvidia drvr toddbailey Fedora 7 04-30-2011 06:33 PM
Sil3132 breaks LILO? kentc Linux - Hardware 0 09-23-2007 12:03 PM

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

All times are GMT -5. The time now is 11:26 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