Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-08-2018, 01:02 PM   #1
Registered: Nov 2006
Posts: 205

Rep: Reputation: 14
Slackware64 14.2, Win7 and GRUB2. Two thirds of triple boot system and update-grub doesn't work.

I have two thirds of a triple boot system running. A Slackware64 14.2 install is working fine with GRUB 2 as the boot loader, but after having run:
# slackpkg-new
# slackpkg upgrade-all
I suddenly discover that the command to "update-grub" doesn't work in Slackware. I would have preferred using syslinux, which I have been experimenting with on MBR (BIOS) installs and am very satisfied with it. Unfortunately no support for UEFI after five years (Bugzilla), so I had to opt for GRUB 2.

Here is what I did to install GRUB 2 after Slackware 64 14.2 install (before reboot):

Partition Table for UEFI System (cgdisk)
EFI System Partition (type: ef00
Boot Partition (type: 8300)
Root Partition (type: 8300)
/tmp Partition (type: 8300)
Swap Partition (type: 8200)
Home Partition (type: 8300)

# chroot /mnt /bin/bash
# . /etc/profile # no space between hash tag and dot in actual command
# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
# grub-mkconfig -o /boot/grub/grub.cfg
# mkdir -p /boot/efi/EFI/boot
# cp /boot/efi/EFI/grub/grubx64.efi /boot/efi/EFI/boot/bootx64.efi
Sooo, getting a bit desperate. Can anyone help explain how to update GRUB 2?
Old 06-08-2018, 01:29 PM   #2
LQ Guru
Registered: Sep 2013
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,126

Rep: Reputation: 1675Reputation: 1675Reputation: 1675Reputation: 1675Reputation: 1675Reputation: 1675Reputation: 1675Reputation: 1675Reputation: 1675Reputation: 1675Reputation: 1675
...Grub efi

Last edited by BW-userx; 06-08-2018 at 01:31 PM.
Old 06-08-2018, 01:42 PM   #3
Senior Member
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,793

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
Slackware doesn't use update-grub. You have to use grub-mkconfig
1 members found this post helpful.


grub 2, slackware64, upgrade-all, win7

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions about triple boot (extlinux) strategy for Win7, Slackware64 and Linux Mint - audio production. globetrotterdk Slackware - Installation 7 06-03-2018 04:15 PM
Grub2 on /boot/grub auto-update? sanguine penguin Linux - Newbie 5 11-21-2015 07:09 AM
GRUB2 proglem: No grub menu but system continues on to boot nw_biohazard Linux - General 18 04-12-2014 09:37 PM
Triple boot with Grub (not Grub2) - where am I going wrong? Changes Linux - General 4 10-20-2012 11:10 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration