Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
03-01-2010, 02:41 PM
|
#16
|
|
Member
Registered: Oct 2009
Distribution: Slackware
Posts: 35
Original Poster
Rep:
|
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.
|
|
|
|
03-01-2010, 02:47 PM
|
#17
|
|
Senior Member
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.0 (multi-lib)
Posts: 1,319
Rep: 
|
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
|
|
|
|
03-01-2010, 03:10 PM
|
#18
|
|
Member
Registered: Oct 2009
Distribution: Slackware
Posts: 35
Original Poster
Rep:
|
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
|
|
|
|
03-01-2010, 03:21 PM
|
#19
|
|
Senior Member
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.0 (multi-lib)
Posts: 1,319
Rep: 
|
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
|
|
|
|
03-01-2010, 03:25 PM
|
#20
|
|
Senior Member
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.0 (multi-lib)
Posts: 1,319
Rep: 
|
Also the results of would be useful.
samac
|
|
|
|
03-01-2010, 03:31 PM
|
#21
|
|
Member
Registered: Oct 2009
Distribution: Slackware
Posts: 35
Original Poster
Rep:
|
Quote:
Originally Posted by samac
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
|
You know... doing to sda could work since I'm using current. How do you delete the entries? I do backspace and it doesn't work but I can add words myself.
|
|
|
|
03-01-2010, 03:32 PM
|
#22
|
|
Senior Member
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.0 (multi-lib)
Posts: 1,319
Rep: 
|
Unless you know vi, it is easier to use nano /etc/lilo.conf
samac
|
|
|
|
03-01-2010, 03:45 PM
|
#23
|
|
Member
Registered: Oct 2009
Distribution: Slackware
Posts: 35
Original Poster
Rep:
|
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.
|
|
|
|
03-01-2010, 03:58 PM
|
#24
|
|
Member
Registered: Oct 2009
Distribution: Slackware
Posts: 35
Original Poster
Rep:
|
ls -al /boot results
lrwxrwxrwx 1 root root 9 Aug 25 2009 /boot -> /mnt/boot
|
|
|
|
03-01-2010, 05:12 PM
|
#25
|
|
Senior Member
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.0 (multi-lib)
Posts: 1,319
Rep: 
|
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
|
|
|
|
03-01-2010, 05:14 PM
|
#26
|
|
Member
Registered: Jan 2009
Location: Spain
Posts: 98
Rep:
|
Quote:
Originally Posted by 1349
vi has shown me
image = /boot/vmlinuz
label = Linux
root = /dev/hda2
so it is pointing to the right direction. also to the people saying that i actually typed in mounting on device i didn't, i did it correct lol.
|
I think that the error is root= /dev/hda2
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.
|
|
|
|
03-01-2010, 06:11 PM
|
#27
|
|
Member
Registered: Oct 2009
Distribution: Slackware
Posts: 35
Original Poster
Rep:
|
ls -al /mnt/boot
/bin/ls: cannot access /mnt/boot: No such file or directory
|
|
|
|
03-01-2010, 07:41 PM
|
#28
|
|
Member
Registered: Feb 2010
Posts: 107
Rep:
|
If your booting from the cd you should remount your /dev/hda2 on /mnt/slacktemp.
Code:
mkdir /slacktemp
mount /dev/hda2 /slacktemp
cd /slacktemp
mkdir -p dev proc sys
mount --bind /dev dev
mount --bind /proc proc
mount --bind /sys sys
chroot .
then check ls -al /boot.
just in case it wasn`t mounted.
Actually I think there is a menu style(ncurses) config utility for lilo you could run liloconfig
Last edited by mryuck; 03-01-2010 at 08:07 PM.
|
|
|
|
03-01-2010, 08:12 PM
|
#29
|
|
Member
Registered: Oct 2009
Distribution: Slackware
Posts: 35
Original Poster
Rep:
|
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.
Last edited by 1349; 03-01-2010 at 08:14 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:51 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|