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=none:owns=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?
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.
From http://rlworkman.net/howtos/glibc-recovery (slightly edited for 13.37)
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.
|All times are GMT -5. The time now is 04:29 PM.|