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.
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.
This is hopefully a total miss, but i shall ask anyway.
Quote:
Originally Posted by slack_
After I configure the system, instead of starting over. I open up a new TTY ...
Did you reboot the system after install, or are you hanging right after the "exit and reboot" message in another terminal? Because in that case you should chroot the system.
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
Code:
tar xfz grub-2.00.tar.gz
cd grub-2.00
./configure
make
make install
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 :
Thanks, but I'm pretty sure I've successfully installed grub using the other method that was mentioned. I just need to start over fresh and verify that it works...
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:
Code:
/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.
Try grub-install --force /dev/sdb may have to use grub-install --force --boot-directory=<directory that sdb1 is mounted on>/boot /dev/sdb for things to work right.
Last edited by colorpurple21859; 10-20-2013 at 08:37 AM.
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?
Turns out you were right. Once I mounted my flashdrive after starting X there was, infact, a different grub folder with the grub.cfg. Thanks for the help everyone it's much much appreciated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.