How to Install extras/source/grub properly
Hello:
I copied the extras/source/grub folder to my home folder. I did: ./grub.SlackBuild as su. The install went on for a long time and I saw warnings etc flash by. I don't know if it has installed properly. I tried it before and it destroyed my grub menu. I managed to recover grub through LMDE and now, I am back for more! Is there any way to tell if this app is installed properly before I run grubconfig? Thanks, |
Just running the SlackBuild script creates the package, but doesn't install it. You should have seen a message at the end saying the package was created. Really, though, the package should have been in the extra directory anyway, so you shouldn't have had to run the SlackBuild script. You install packages with "installpkg filename", where filename is the filename of the package you want to install (ending in e.g. .txz).
|
Quote:
I did all of this as I was using the example I found at:http://genek.net/LinuxAdventures/sysadmin/slackpkg.html I copied the grub folder to home because at that point the SlackDVD wouldn't appear in /media - this has been fixed thanks to this forum. So, at this point, should I do as you suggested? Or, do I need to something first to negate/reverse what I have already done? Thanks, |
Hello:
I found this is the directory: Code:
root@roblap:/media/SlackDVD/extra/source/grub# ls Thanks, |
Hello,
From that directory, you'd use none, those are sources not created packages, the one you'll be using with installpkg should be in /media/SlackDVD/extra/grub/grub-{version}.txz (i.e: installpkg /media/SlackDVD/extra/grub/grub-0.97-i486-8.txz) |
Quote:
Thanks Acron, it is amazing how screwed-up I can get! |
Hello:
I ran grubconfig and got this msg: Quote:
|
If I remember correctly, there is a "read-only" flag in lilo.conf related to the kernel you're booting that you can comment to avoid that message.
EDIT: Ups, my bad, didn't read exactly "/dev/sda" and I found another post of yours where you had that error as well. Where is this error happening exactly? I mean, at what point of using grubconfig, remember that in some point you'll be asked where to save the grub files which by definition is the partition where you have /boot. If you have slackware installed in /dev/sda1 and you have /boot in the same partition as the root partition (/dev/sda1 for instance), then in grubconfig "/dev/sda1" would be the place to save the grub files. This might help you with grubconfig. |
Quote:
My grub menu only launches xp and Slackware at the moment but this will give me yet another opportunity learn more about linux. Thanks again for your help. |
happy slacking then :)
|
All times are GMT -5. The time now is 11:17 PM. |