SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Ok, so I've successfully installed all packages, including grub2. Well, all except the gnu-unifont package. I can't figure out how to download the pcf.gz package, and it's necessary for the slackbuild.
I often use wget to download stuff if I'm running a terminal outside of X11. Just cd to the directory you want it in, like /root/Downloads and then type in wget plus the url of the file. If I'm in X11, I just use Midori or Firefox depending on what's installed.
Locale-gettext is a recommended dependency for help2man.
Note: YOU HAVE TO BE ON ROOT TO DO THIS, YOU CAN USE SU TO GAIN ROOT PRIVILIEGES.
download Grub2 from ftp://ftp.gnu.org/gnu/grub/grub-2.00.tar.gz
Then go to the directory where you've downloaded it Then run these commands
tar xfz grub-2.00.tar.gz
grub-install /dev/sda # I don't know what is your hard disk, probably is /dev/sda :)
grub-mkconfig -o /boot/grub/grub.cfg
You don't need to change the prefix on configure script , Don't complicate it
On Slackware 14 you don't need to care about dependecies because its already installed
And i already did these steps because i hate Lilo
Good luck ^__^.
NOTE: If you do a kernel update probably grub won't find the new kernel image so you have just to run again the last command :
Ok, thus far I've successfully installed Slackware, chrooted into the system, installed all the requred packages succesfully, the mounted /dev/sdb1 on /boot, created a /boot/grub directory and grub.cfg, then ran grub-install /dev/sdb.
I've also tried running grub-install --recheck /dev/sdb, as well as grub-install --target=i386-pc --recheck /dev/sdb. Here's the error I get:
/usr/sbin/grub-bios-setup: warning: attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
/usr/sbin/grub-bios-setup: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.
/usr/sbin/grub-bios-setup: error: will not proceed with blocklists
EDIT: Sorry, I thought I was editing, I did not mean to double post.
This worked for me: grub-install --force /dev/sdb. Once I changed settings in the BIOS to boot from USB, and made a few small changes in /etc/fstab, then I tested it out. It works, so this is solved AFAIK. Now I can only boot into linux from USB. Can't remember but I'm pretty sure that if I have the key unplugged it just boots straight into Windows. Thanks for the help and input everyone. Cheers.
Ok I will. But I have one last question first. For some reason none of the changes I make to grub.cfg actually take effect in grub. Not only that, but in grub.cfg there is only a menuentry for Windows, none for Slackware or Advanced options. And in grub, I only see Slackware and the Advanced options entry and not the one for Windows. Did I mess something up?