Slackware64 ext4 grub installation trick/guide
Since 13.0, Slackware has an official x86_64 port. There is no grub package by default, and if you simply try to install it, you will get an error. A lot of users, including me, prefer grub over lilo.
It is not so much difficult to install grub on Slackware64, and I finally managed to do it. So it I thought it will be helpful for those who are new to Slackware64 and wants the old grub back. Hence the guide. Hope this will help you guys. First, we have to keep two things in mind :
you can get the packages from http://slackware.com/~alien/multilib/. Here is an excellent guide made by alien http://alien.slackbook.org/dokuwiki/...kware:multilib for how to do it step-by-step. Quote:
Next step is to get the grub source (It is inside /extra/source/grub) from the Install DVD. Now we have to apply the ext4 patch since by default grub is compiled without ext4 support. you can get the patch from http://svn.cross-lfs.org/svn/repos/c...7-ext4-1.patch. Then its quite simple, just modify the grub.SlackBuild file to include the patch and make the package. Quote:
Now you are all set, just run grubconfig, install grub and edit menu.lst if you wish so. Voila!! Now you have Slackware64 with grub and ext4. :Pengy: |
That is only worth it if you were going to use miltilib for other more important tasks that just booting your Slackware installation.
Just for GRUB this is plain overkill. |
It might be overkill, but if someone needs GRUB, this works. Until GRUB can be compiled on a 64-bit system without such procedures, then technically this is the only option.
|
I'm using the legacy GRUB and have done so for as long as I have used GNU/Linux systems. In another thread I asked for people to share caveats with migrating from 32-bit 13.0 to 64-bit 13.0. Related to that thread is this news about GRUB.
Am I to understand correctly from this thread that, if I install 64-bit 13.0 in its own partition(s), that I no longer will be able to use GRUB as already installed as my bootloader? That the currently installed GRUB cannot boot a 64-bit OS? |
how is it that grub is hailed as better than lilo (by some users) but is not actively developed to facilitate the development of grub2 which isn't ready for anything more than 'usable,but'?
@ Woodsman you can't compile grub on 64bit only architecture. However, if you have a 32bit binary of grub, it will still be able to boot any of your partitions provided that you have the 32bit libs that grub requires or you have a static compile of grub. If somebody provides you the grub package for slackware64, you probably only need the glibc multilib packages |
Quote:
|
I'm using this grub package:
ftp://slackware.mirrors.tds.net/pub/....0/extra/grub/ I use a small boot partition that it's installed to. After you run: grubconfig it boots Slack, Slack64, Slamd64, BW64 - ext3 or ext4. |
@sahko
well if you use wine, you also need multilib. grub and wine are two very common packages which are only compiled in 32-bit. @slackass can you please a bit elaborate? you use a separate ext3 boot partition? |
jedi_sith_fears:
Yes. My 1st partition is my boot partition. 256 MB |
Ok, yes, if you use a ext3 boot partition there is no problem at all. Cheers.
|
Thnx jedi_sith_fears, works like a charm.
|
I tried the above procedure and now GRUB is working fine on Slackware64. If you use slackpkg to update, you have to remember to blacklist the multilib packages, otherwise they will be overwritten by the standard packages.
|
Quote:
|
Quote:
|
Yes thats natural since grub comes with only e2fs_stage1_5 by default and booting into ext4 needs a ext4_stage1_5 file to be there. Though on boot messege it shows ext4 as e2fs ... since its just a renaming
|
Excuse me, I've a problem:
Quote:
|
Quote:
Hypothesis of boot issues: It's bad capacitors and a SATA controller problem. I've used this laptop since 2006 (today with an SSD). |
All times are GMT -5. The time now is 02:02 AM. |