I am using 32-bit. If you can find a fix for Lilo I will be pleased to use it but so far it has done nothing but caused problems.
|
Actually lilo hasn't actually caused any problems. The problem is that it cannot find the kernel on the specified hard drive. This can be for a variety of reasons including pointing to the wrong kernel, pointing to the wrong partition or not having the drivers for the file system available in the kernel modules.
If you have lilo installed you will have a lilo.conf file in /etc in order to fix the problem we need to be able to see that file. Hope this clarifies. samac |
Alright, sorry about getting angry earlier, this can get frustrating at times. This is all I see in my lilo.conf
in the beginning its #Append any additional kernel parameters: append = "vt.default_utf 8=0" boot = /dev/hda then its just it talking about the slack.bmp and how its gonna display and here is the end. #Windows bootable partition config begins other = /dev/hda1 label = Windows table = /dev/hda #Windows bootable partition config ends #Linux bootable partition config begins image = /boot/vmlinux root = /dev/hda2 label = Linux read-only #Linux bootable partition config ends |
If you are running Slackware-13.0 the run lilo from the command line as root. If you are running Slackware-current Change hda1 and hda2 to sda1 and sda2 then re-run lilo.
Post the results. samac |
Also the results of
Code:
ls -al /boot samac |
Quote:
|
Unless you know vi, it is easier to use nano /etc/lilo.conf
samac |
Alright I changed hda1 and hda2 to sda1 and sda2 and reloaded lilo and didn't work. I will return next time with the ls -al /boot results.
|
ls -al /boot results
lrwxrwxrwx 1 root root 9 Aug 25 2009 /boot -> /mnt/boot |
OK ls -al /mnt/boot. It looks like you have somehow moved your /boot directory onto /mnt/boot and I don't think lilo will follow a symbolic link. We need to re-populate your /boot directory. It should be fairly easy but we need to find out if the files are in /mnt/boot first.
samac |
Quote:
it must be root= /dev/sda2. you can boot with installer cd or dvd, then mount /dev/sda2 /mnt/disk and chroot /mnt/disk, after edit etc/lilo.conf and change hda2 for sda2, and execute # lilo command. |
ls -al /mnt/boot
/bin/ls: cannot access /mnt/boot: No such file or directory |
If your booting from the cd you should remount your /dev/hda2 on /mnt/slacktemp.
Code:
mkdir /slacktemp just in case it wasn`t mounted. Actually I think there is a menu style(ncurses) config utility for lilo you could run liloconfig |
Okay I just reinstalled the A packages off my cd. It boots up fine. Now I just need to remember what my login and password was but that's a personal thing I could figured out. Problem solved for now... Thanks samac for helping me along this whole way. I actually learned a lot from this experience.
|
All times are GMT -5. The time now is 09:23 PM. |