LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   OS will not boot after good installation. Freezes at startup with error, maybe LILO? (https://www.linuxquestions.org/questions/slackware-14/os-will-not-boot-after-good-installation-freezes-at-startup-with-error-maybe-lilo-572768/)

ShockProductions 07-27-2007 11:42 AM

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.

thanks alot!

bwaynej2002 07-27-2007 02:46 PM

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

onebuck 07-28-2007 07:07 PM

Quote:

Originally Posted by ShockProductions
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.

SCerovec 07-30-2007 12:51 PM

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 ;) )

ShockProductions 08-06-2007 10:32 AM

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.

peace
~~Syd


All times are GMT -5. The time now is 09:31 AM.