Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
10-18-2013, 12:58 PM
|
#16
|
LQ Newbie
Registered: Oct 2013
Posts: 6
Rep: 
|
You just have to download Grub2 source and compile it 
All dependecies are available in slackware 
I already did it  i hate lilo 
|
|
|
10-18-2013, 01:51 PM
|
#17
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
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.
|
|
|
10-18-2013, 02:16 PM
|
#18
|
Member
Registered: Oct 2012
Location: The Czech Republic
Posts: 280
Rep:
|
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.
|
|
|
10-18-2013, 03:25 PM
|
#19
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
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.
Last edited by ReaperX7; 10-18-2013 at 03:27 PM.
|
|
|
10-19-2013, 07:26 AM
|
#20
|
LQ Newbie
Registered: Oct 2013
Posts: 6
Rep: 
|
You don't need SlackBuild to build Grub2
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 :
Code:
grub-mkconfig -o /boot/grub/grub.cfg
Last edited by La VloZ; 10-19-2013 at 07:32 AM.
|
|
|
10-20-2013, 02:16 AM
|
#21
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
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...
And hope that Grub will install to my USB :/
|
|
|
10-20-2013, 04:11 AM
|
#22
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
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.
|
|
|
10-20-2013, 08:22 AM
|
#23
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
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.
|
|
|
10-20-2013, 11:14 AM
|
#24
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
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.
|
|
|
10-20-2013, 05:33 PM
|
#25
|
LQ Newbie
Registered: Oct 2013
Posts: 6
Rep: 
|
Slack_ please make the thread as solved 
|
|
|
10-20-2013, 11:33 PM
|
#26
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
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?
|
|
|
10-21-2013, 06:40 AM
|
#27
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
My guess is that your dealing with two grub.cfg, one in /boot/grub on Slackware root partition and one in /boot/grub on the usb key.
|
|
|
10-21-2013, 12:50 PM
|
#28
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
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.
/
|
|
|
All times are GMT -5. The time now is 04:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|