Slackware64 ext4 grub installation trick/guide
Tags bootloader, ext4, grub, slackware64
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.
Next step is to get the grub source (It is inside /extra/source/grub)
from the Install DVD.
Then make the package and run grubconfig, it will exit with an error. That's ok.
Now copy /boot/grub/e2fs_stage1_5 to /boot/grub/ext4_stage1_5. This is required for booting into ext4.
Now you are all set, just run grubconfig again, install grub and edit menu.lst if you wish so.
Voila!! Now you have Slackware64 with grub and ext4.
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 :
- Slackware64 is pure 64-bit, it build binaries only in 64-bit.
- Its multilib-compatible, just the multilib libraries (here, 32-bit compilers and libraries) are not present.
- grub can be compiled in only 32-bit mode.
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.
Next step is to get the grub source (It is inside /extra/source/grub)
from the Install DVD.
Then make the package and run grubconfig, it will exit with an error. That's ok.
Now copy /boot/grub/e2fs_stage1_5 to /boot/grub/ext4_stage1_5. This is required for booting into ext4.
Now you are all set, just run grubconfig again, install grub and edit menu.lst if you wish so.
Voila!! Now you have Slackware64 with grub and ext4.
Total Comments 2
Comments
-
Helpful Tutorial..was even more helpful when u showed me the fix at your place.
Posted 10-19-2009 at 01:36 AM by slackd -
helped me a lot ... thanks
Posted 10-21-2009 at 02:48 PM by honeybadger