LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Lilo error during install - Won't boot into slackware (https://www.linuxquestions.org/questions/slackware-installation-40/lilo-error-during-install-wont-boot-into-slackware-4175532968/)

TheDonnie 02-03-2015 03:21 PM

Lilo error during install - Won't boot into slackware
 
Hello, I have a windows system on one hard drive and decided to install slackware on my second drive an ssd. After completing most of the installation I chose the option to install lilo to root because I hoped I can dual boot windows and linux.

Then I got this error:

http://imgur.com/k1A31QF

sdc is my ssd
sdc1 is /boot
sdc2 is my /
sdc3 is /home

sdd is just a drive i use in windows for storage

I am a completely new user to linux so I would appreciate detailed help on a solution. Thanks

j_v 02-03-2015 05:27 PM

The last error about /dev/sdd1 looks to be real issue. In order to help more, the contents of the /etc/lilo.conf file needs to be known. In the installer environment, the root filesystem is mounted at /mnt, so the file should actually reside at /mnt/etc/lilo.conf. Using the shell option on the installation disk, you can display it with the less command. As far as editing the lilo.conf, I think that the only editor available on the installation disk is busybox's vi command; if you aren't familiar with vi, this could get a bit more complicated (though, one option might be to boot the installer cd, but boot with the rescue option, using /dev/sdc2 as /).

TheDonnie 02-03-2015 11:41 PM

Do you mean when I boot slackware installation cd and go into root to type in the /mnt/etc/lilo.conf command there? I'm not sure what you mean by boot with rescue option?

Didier Spaier 02-04-2015 05:32 AM

Quote:

Originally Posted by TheDonnie (Post 5311628)
Do you mean when I boot slackware installation cd and go into root to type in the /mnt/etc/lilo.conf command there? I'm not sure what you mean by boot with rescue option?

No, just restart the installer and when you see the first greeting screen type e.g. after "boot:"
huge.s root=/dev/sdc2 rdinit= ro

There should be a blank space between "rdinit=" and "ro"

If you have a 32-bit version replace "huge.s" with "huge.smp".

That will start your new system, so no need to use chroot after that, just fix lilo.conf before running lilo again.


All times are GMT -5. The time now is 08:33 AM.