LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-08-2018, 01:02 PM   #1
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 296

Rep: Reputation: 16
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:
Code:
# 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)

Code:
# 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
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
...Grub efi
https://docs.slackware.com/howtos:sl...based_hardware

Last edited by BW-userx; 06-08-2018 at 01:31 PM.
 
Old 06-08-2018, 01:42 PM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,330

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


Reply

Tags
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:42 AM.

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