OS will not boot after good installation. Freezes at startup with error, maybe LILO?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OS will not boot after good installation. Freezes at startup with error, maybe LILO?
Hey guys,
Just a few days ago, I finally hit the breaking point on windows XP. The constant crashes and little, almost insignificant problems built up enough that I decided to switch to Slackware.
My main use of the computer is audio production, and I wanted a system that was capable, yet popular with the package developers, so that I could find the programs I needed. Fedora Core would have been my other choice, but they don't have CD iso files.
ANYWAY! I first tried the installation on two old CD-RW's and realized that even the most minor scratch on them would interfere with the installation. So after several retries, I finally splurged and got a bunch of CD-R's, which did the trick: the installation went off without a hitch.
The only thing is, that when I rebooted the computer after a successful install, the boot halted at an error:
Quote:
Error Loading Operating System
My theory goes back to the end of the installation, I made the (possibly bonehead) choice of not activating (or whatever you call it) LILO.
If anyone has any suggestions on how to activate or install LILO, or anything else that will get my slack up and running, please don't hesitate to post them. My band will be having a practice soon, and the studio computer is an essential for our jam recordings, as well as multitrack and other things.
see if this works, boot to cdrom, mount /dev/<cdromdevice> /cdrom (usually hdc or sr0) mount /dev/<slackwarepartition> /mnt (usually hda*) depending on hardware if its sata its sda* cp /cdrom/slackware/a/lilo-22.7.1-i486-2.tgz /mnt ; cd /mnt ; chroot /mnt /bin/bash ; #source /etc/profile #installpkg lilo-22.7.1-i486-2.tgz #liloconfig if it works you will get a blue screen with 3 choices first one being simple
Hey guys,
Just a few days ago, I finally hit the breaking point on windows XP. The constant crashes and little, almost insignificant problems built up enough that I decided to switch to Slackware.
My main use of the computer is audio production, and I wanted a system that was capable, yet popular with the package developers, so that I could find the programs I needed. Fedora Core would have been my other choice, but they don't have CD iso files.
ANYWAY! I first tried the installation on two old CD-RW's and realized that even the most minor scratch on them would interfere with the installation. So after several retries, I finally splurged and got a bunch of CD-R's, which did the trick: the installation went off without a hitch.
The only thing is, that when I rebooted the computer after a successful install, the boot halted at an error:
My theory goes back to the end of the installation, I made the (possibly bonehead) choice of not activating (or whatever you call it) LILO.
If anyone has any suggestions on how to activate or install LILO, or anything else that will get my slack up and running, please don't hesitate to post them. My band will be having a practice soon, and the studio computer is an essential for our jam recordings, as well as multitrack and other things.
thanks alot!
Hi,
The easiest way would be to use the install cd1 to boot the system as if you were going to install.
After you get to the login then from the cli (command line);
Code:
~#mkdir /slacktemp #temporary mount point
~#mount /dev/your_device /slacktemp #this the device you installed to
~#chroot /slacktemp #change to yours
~#cd /slacktemp/etc #change to directory with lilo.conf
~#vi lilo.conf #edit lilo.conf, if need be
~#lilo -v -t -b /dev/your_device #sda, hda this will only test
~#lilo -v -b /dev/your_device #this will write MBR to your_device
You should now be able to re-boot your system.
In the future, please provide information about your kernel, system or any other relative information for your problem.
or (#3) use the CD1 and read the prompt:
It contains the hint how to boot a miss-installed system with the parameters matching Your root partition.
When done, login and do:
# mount /dev/cdrom /mnt/cdrom
# mc /mnt/cdrom
navigate to the directory containig lilo (slackware/a/)
point to lilo and press [F2],[@]
now type
Code:
installpkg
and type [F10] when done.
on the prompt type
Code:
liloconfig
and follow up the questions
when done, tupe
Code:
lilo
once more just to be sure (one can't over-do lilo )
thanks alot for your help guys. I ended up switching to Fedora 7 anyway, not because slack was to hard to set up, but it wasn't compatible with some of the applications I need to run for recording and editing audio. again thanks alot, its great we've got sites like this on the web for linux noobs like me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.