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 have the grub slackbuild instead of lilo and installed over a failed grub installation (all my partition numbers got wiped and they were out of order)
# grub install <anything I have tried so far> returns a silly error.
# grub setup <anything I have tried so far> returns a silly error.
Grubconfig did something. Grubconfig is some bash script bundled with grub. I have a working menu.lst, but it comes up with another table, something like the o/p of fdisk -l interpreted. For the linux partitions, it runs (hd0,x)/boot/vmlinuz This fails with an error, and I get an error message but no time to read it, after which I see menu.lst and I get my correct choices
Any idea how I can end this madness? It doesn't feel reliable as a method of booting.
Last edited by business_kid; 01-05-2011 at 05:52 AM.
Reading the doco is usually a good start. Error messages are generally put out for a reason.
I don't know grubconfig - must be specific to the slackbuild. Reading it should tell you what it's doing, and how it has set things up.
"install" and "setup" are sub-commands to (classic/legacy) grub, not parameters.
I think I found it.Grub has installed to /boot/boot/grub as well as /boot/grub.
So I said haha, I'll check that and went and renamed /boot//boot/ to /boot/junk.
"Error, can't find grub files . . . " :-//.
That sends me back in with the install dvd one last time to sort that out. It's at times like this you are glad it's not a netbook.
Other possibly related collateral damage is that windows doesn't boot(even with /boot/boot/grub), as grub as supplied doesn't seem to like ntfs 'invalid partition type 7' (& middle digit from grub). That's hardly kosher.
Well, I got it finally talking some sense. Getting /boot/boot out of the way normalised things and grub went back to being the dodgy boot loader it always was. I still somehow prefer it, because it is never as inscrutably awkward as lilo can be. Is that heresy for a slacker?
Thanks to all who offered wisdom on this.
EDIT: windows still doesn't boot. That has it's (low) place on the to-do list.
The /boot/boot is because of a symlink on "." (I think). Used to be explained in a FAQ, but the doco is disappearing.
For the NTFS issue, use "rootnoverify" instead of "root" for that stanza.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.