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.
I'm relatively new to Linux, and I've been messing around with it a lot lately. Well, today I installed Slackware, and it had worked before, but this time it says
GRUB loading, pleae wait...
Error 15
I've looked around online for some help, but I can't seem to find a way to fix it. Can anyone help?
So you never see the grub menu ???.
Error 15 would be (very) odd at that stage. Possibly means menu.lst never even got built.
Re-install grub. Should be able to do it from a chroot if the rest of the install is o.k. - ISTR Pat had some instructions for booting the disk install on the CD. Been quite a while since I looked at Slack though.
am i supposed to be able to open 'boot/grub/menu.lst' in a text editor? i can't. i tried with gedit, and i got a message that said 'cannot open display: (null)'. i tried with emacs, and i got the message 'file exists, but cannot read'.
1) Are you sure you are root on the live CD ? Make sure you are root and have permission to access the file.
2) If you can access the file and it says the same thing, get rid of the old one and write another. Here's an example:
Code:
# Start GRUB global section
timeout 10
#color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
title Linux on (/dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
# Linux bootable partition config ends
title --- For help press 'c', type: 'help'
root (hd0)
title --- For usage examples, type: 'cat /boot/grub/grub.txt'
root (hd0)
am i supposed to be able to open 'boot/grub/menu.lst' in a text editor? i can't. i tried with gedit, and i got a message that said 'cannot open display: (null)'. i tried with emacs, and i got the message 'file exists, but cannot read'.
p.s. i am using gentoo livecd
Did you mount your disk filesystem? If not, there's no way you're going to be able to edit it.
mount /dev/hda /mnt (or hdb or sda or whatever it is)
gedit /mnt/boot/grub/menu.lst
Are you dual booting with another os on this box? If so, which one, and does it boot?
If Slackware is the only os on this box then grub shouldn't even be there unless you added it after the install, or it exists from some previous linux install and you didn't install lilo (the default bootloader) to the mbr.
Did you mount your disk filesystem? If not, there's no way you're going to be able to edit it.
I'm not really sure what "mounting" means exactly, except that I've never done it or been prompted to do it in any Linux installer. So my guess would be that I haven't mounted my disk filesystem, but maybe it was done automatically.
Quote:
Are you dual booting with another os on this box? If so, which one, and does it boot?
I'm not dual booting with another OS, but I have switched from Slackware to Gentoo and back, and reinstalled Slackware several times, for whatever reason (possibly my noobness). Slackware installed GRUB automatically, I think. It let me choose if I get to see the penguin on the splash sreen.
Quote:
If you can access the file and it says the same thing, get rid of the old one and write another.
I found another file in /boot/grub directory that was named "sample" something or other and it had the exact lines:
# Linux bootable partition config begins
title Linux on (/dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
in it.
Anyway, the problem came up when I switched from Gentoo back to Slackware, so I figured it would be fine if I just used Gentoo. So Gentoo works, but I still would like to figure out this whole thing. Thanks for all the help.
Slackware does NOT install grub automatically, it installs lilo automatically (if you tell it to). I'm betting you didn't install it to the MBR. You probably should.
Generally, when you're using a liveCD, the / directory, i.e. /root, /boot, /home, etc, are those of the liveCD, and not of that for your filesystem. The liveCD will usually mount your filesystem but as readonly. You need to mount it explicitly. From a terminal window in your liveCD, do the following:
Code:
su
mount /dev/hda1 /mnt (or /dev/hda2 or whatever it is you need to mount)
gedit /mnt/boot/grub/menu.lst
Then you can make any changes you need to the actual menu.lst file. I don't know anything about gentoo or slack, so I'm afraid someone else will probably have to pick it up from here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.