Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-29-2012, 12:00 AM   #1
Registered: Mar 2012
Posts: 36

Rep: Reputation: Disabled
Slackware 13.37 - Newbie Effed Up - Repair Kernel from Install Disk One?


I am a Linux newbie and made a mistake. I have an Nvidia card and was using the nouveau driver, but wanted to try the proprietary driver for the card. The installer said that the nouveau driver was incompatible and did something to remove it from the xorg.conf file. Now my system won't reboot. It hangs during reboot. The last displayed line of text is 'vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mum,decodes=nonewns=none.'

It seems like I ought to be able to boot into my system from one of the Slackware installation disks, but I don't know how. I've tried several times using Disk One but it always begins all of the routines I followed to initially install the operating system. I don't want to re-install the operating system, I want to repair it. How do I use the install disks to get to the filesystem that is already there so I can try to repair my system?


Old 06-29-2012, 12:37 AM   #2
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 245

Rep: Reputation: 22
If you haven't gotten too far with the install, you can wipe the installation and reinstall. It's been a long time ago, since I've used the Slackware install disks to boot up into an installation, but I think you have lilo pass something like root=\dev\hda1 or what ever your hard drive generally is. My hard drive tends to be \dev\sda1 on my current system. When compiling a custom kernel, always be sure to keep the old kernel around just for these types of problems. That way you can still boot up and get in to fix the problem.

Last edited by Arcosanti; 06-29-2012 at 12:43 AM.
Old 06-29-2012, 01:12 AM   #3
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,681

Rep: Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566
From (slightly edited for 13.37)
First, you will need the Slackware install cd for whatever version of Slackware
that you have installed. Insert that cd into the drive and reboot the system
(this will probably have to be forced with a manual power off).
When the install cd boots, you will notice some instructions for booting into
your system - ignore those. Instead, let the installer boot (as if you were
going to do a fresh installation).
Note: you will probably have better results if you boot the huge26.s kernel
on a Slackware 11.0 cd, or huge.s or hugesmp.s on later Slackware
Once the installer has booted, login as root (no password is needed) and
mount your system's root partition to /mnt
For example, if your system's root partition is /dev/sda1, then do this:
mount /dev/sda1 /mnt
Following the above will get you access to your file system.
To access the file system as your root filesystem, do 'chroot /mnt'

The other part of the question is how to recover.
1) If you want to uninstall the nVidia proprietary driver, then it will depend on how you did the initial install.
If you used a SlackBuild and made a package, then you can simply use 'removepkg'.
If you used the nVidia installer, then run the installer with the '--uninstall' flag.

2) It may also be that you simply need to specify a kernel boot option so that you can boot successfully.
You could try editing /etc/lilo.conf and adding ' video=800x600' to the append= line.
Type 'exit' to exit the chroot.
Type '/mnt/sbin/lilo -r /mnt' to rerun lilo.

Remove the CD and hit Ctrl-Alt-Del to reboot.

The installer said that the nouveau driver was incompatible and did something to remove it from the xorg.conf file.
The nVidia installer blacklists the nouveau kernel driver from loading by making an addition in the /etc/modprobe.d/ directory. It will also build an xorg.conf file if you request that.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
I need a Linux OS other than Ubuntu which has a repair disk or repair software jhmac77 Linux - Newbie 1 03-17-2008 08:04 AM
repair disk hDUQUE Fedora 1 03-12-2008 11:31 PM
Hard Disk Repair - How To? tmchardy Linux - General 1 07-25-2006 01:38 PM
Floppy disk repair davcefai Linux - Software 1 03-04-2006 07:37 PM
Effed up fonts - very strange search66 Linux - General 8 03-02-2005 03:10 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration