Grub Customizer

Technical issues/questions of an intermediate or advanced nature.
Post Reply
User avatar
Ed_P
Contributor
Contributor
Posts: 6405
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 4.0 & 5.0rc3 ISOs
Location: Western NY, USA

Grub Customizer

Post#1 by Ed_P » 15 Jun 2021, 04:41

I happened upon this webpage, https://tipsonubuntu.com/2018/03/11/ins ... 18-04-lts/, and it made me wonder, is there a Grub Customizer module for Porteus, similar to the Grub Customizer app in Ubuntu?
Ed

tionsan
White ninja
White ninja
Posts: 4
Joined: 16 Jun 2021, 15:10
Distribution: Porteus LXDE

Grub Customizer

Post#2 by tionsan » 16 Jun 2021, 15:25


User avatar
Ed_P
Contributor
Contributor
Posts: 6405
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 4.0 & 5.0rc3 ISOs
Location: Western NY, USA

Grub Customizer

Post#3 by Ed_P » 16 Jun 2021, 20:31

The download link for tionsan's package. http://www.slackel.gr/repo/x86_64/curre ... 64-1dj.txz

Added in 7 minutes 5 seconds:

Code: Select all

guest@porteus:~/Downloads$ txz2xzm *.txz
Verifying package grub-customizer-5.1.0-x86_64-1dj.txz.
Installing package grub-customizer-5.1.0-x86_64-1dj.txz:
PACKAGE DESCRIPTION:
# grub-customizer - GUI for customizing GRUB2
# 
# Homepage: https://launchpad.net/grub-customizer
# 
Package grub-customizer-5.1.0-x86_64-1dj.txz installed.
Creating /home/guest/Downloads/grub-customizer-5.1.0-x86_64-1dj.xzm

guest@porteus:~/Downloads$ grub-customizer
localuser:root being added to access control list
Unable to init server: Could not connect: Connection refused

(grub-customizer:2940): Gtk-WARNING **: 16:33:36.225: cannot open display: 
localuser:root being removed from access control list
guest@porteus:~/Downloads$ 
Ed

tionsan
White ninja
White ninja
Posts: 4
Joined: 16 Jun 2021, 15:10
Distribution: Porteus LXDE

Grub Customizer

Post#4 by tionsan » 17 Jun 2021, 05:15


User avatar
Ed_P
Contributor
Contributor
Posts: 6405
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 4.0 & 5.0rc3 ISOs
Location: Western NY, USA

Grub Customizer

Post#5 by Ed_P » 17 Jun 2021, 16:45

Thank you tionsan. Apparently grub-customizer needs to be run as root.

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# grub-customizer
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
 *** initializing (w/o specified bootloader type)…
   * reading partition info…
   * Loading Framebuffer resolutions (background process)
   * Finding out if this is a live CD
sh: line 1: hwinfo: command not found
In spite of the hwinfo error this did open the Grub Customizer environment setup window. :good:

Added in 58 minutes 17 seconds:
I boot my Linux systems as ISOs using a grub system on my Windows 10 system. The directory structure of my grub2 system is:

Code: Select all

guest@porteus:~$ tree -d /mnt/sda3/grub2
/mnt/sda3/grub2
├── fonts
├── g2bootmgr
├── i386-efi
├── i386-pc
├── locale
├── themes
│   ├── backgrounds
│   ├── common
│   │   ├── clockfaces
│   │   ├── colorcustom
│   │   ├── colorsource
│   │   └── static
│   ├── icons
│   ├── master
│   ├── options.local
│   └── options.standard
├── userfiles
│   ├── Eds.Theme
│   ├── Eds.configs
│   ├── My.files
│   ├── My.grubcfgs
│   ├── My.rootadds
│   ├── user.backgrounds
│   ├── user.clockfaces
│   ├── user.icons
│   └── user.misc.files
│       └── fonts
├── windata
│   ├── backups
│   │   ├── bcds
│   │   ├── custom
│   │   │   ├── customconfigs
│   │   │   ├── customconfigs.previous-1
│   │   │   ├── customconfigs.previous-2
│   │   │   ├── customconfigs.previous-3
│   │   │   ├── customconfigs.previous-4
│   │   │   └── customconfigs.previous-5
│   │   ├── efi.partitions
│   │   │   └── EFIBackup-Disk-0-Partition-1
│   │   │       └── EFI
│   │   │           ├── Boot
│   │   │           ├── Microsoft
│   │   │           │   ├── Boot
│   │   │           │   │   ├── Fonts
│   │   │           │   │   ├── Resources
│   │   │           │   │   │   └── en-US
│   │   │           │   │   ├── bg-BG
│   │   │           │   │   ├── cs-CZ
│   │   │           │   │   ├── da-DK
│   │   │           │   │   ├── de-DE
│   │   │           │   │   ├── el-GR
│   │   │           │   │   ├── en-GB
│   │   │           │   │   ├── en-US
│   │   │           │   │   ├── es-ES
│   │   │           │   │   ├── es-MX
│   │   │           │   │   ├── et-EE
│   │   │           │   │   ├── fi-FI
│   │   │           │   │   ├── fr-CA
│   │   │           │   │   ├── fr-FR
│   │   │           │   │   ├── hr-HR
│   │   │           │   │   ├── hu-HU
│   │   │           │   │   ├── it-IT
│   │   │           │   │   ├── ja-JP
│   │   │           │   │   ├── ko-KR
│   │   │           │   │   ├── lt-LT
│   │   │           │   │   ├── lv-LV
│   │   │           │   │   ├── nb-NO
│   │   │           │   │   ├── nl-NL
│   │   │           │   │   ├── pl-PL
│   │   │           │   │   ├── pt-BR
│   │   │           │   │   ├── pt-PT
│   │   │           │   │   ├── qps-ploc
│   │   │           │   │   ├── ro-RO
│   │   │           │   │   ├── ru-RU
│   │   │           │   │   ├── sk-SK
│   │   │           │   │   ├── sl-SI
│   │   │           │   │   ├── sr-Latn-CS
│   │   │           │   │   ├── sr-Latn-RS
│   │   │           │   │   ├── sv-SE
│   │   │           │   │   ├── tr-TR
│   │   │           │   │   ├── uk-UA
│   │   │           │   │   ├── zh-CN
│   │   │           │   │   ├── zh-HK
│   │   │           │   │   └── zh-TW
│   │   │           │   └── Recovery
│   │   │           ├── boot.backup
│   │   │           ├── dell
│   │   │           │   ├── bios
│   │   │           │   │   └── recovery
│   │   │           │   └── logs
│   │   │           └── grub2win
│   │   │               └── g2bootmgr
│   │   ├── logs
│   │   └── main
│   ├── commands
│   ├── customconfigs
│   ├── partdump
│   ├── storage
│   └── updatedata
├── winhelp
│   └── usermanual
│       ├── css
│       │   ├── dynatree
│       │   │   ├── chm
│       │   │   ├── folder
│       │   │   └── vista
│       │   └── silver-theme
│       │       └── images
│       ├── img
│       ├── js
│       └── lib
├── winsource
└── x86_64-efi
With my grub.cfg here: /mnt/sda3/grub2/grub.cfg The drive is NTFS.
Ed

tionsan
White ninja
White ninja
Posts: 4
Joined: 16 Jun 2021, 15:10
Distribution: Porteus LXDE

Grub Customizer

Post#6 by tionsan » 17 Jun 2021, 19:35

:good:

User avatar
Ed_P
Contributor
Contributor
Posts: 6405
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 4.0 & 5.0rc3 ISOs
Location: Western NY, USA

Grub Customizer

Post#7 by Ed_P » 18 Jun 2021, 05:14

Trying to set the Partition box to /dev/sda3, OS NTFS which is where my Grub2Win grub2 directory is located produces a mounting error.

Code: Select all

Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.

Code: Select all

root@porteus:/home/guest# fuser /dev/sda3
Cannot stat file /proc/1511/fd/20: Stale file handle
Cannot stat file /proc/1511/fd/21: Stale file handle
Cannot stat file /proc/1547/fd/12: Stale file handle
Cannot stat file /proc/1547/fd/13: Stale file handle
Cannot stat file /proc/3802/fd/18: Stale file handle
Cannot stat file /proc/3802/fd/20: Stale file handle
/dev/sda3:             195
root@porteus:/home/guest# 
I can browse the drive with Nemo with no problems.
Ed

tionsan
White ninja
White ninja
Posts: 4
Joined: 16 Jun 2021, 15:10
Distribution: Porteus LXDE

Grub Customizer

Post#8 by tionsan » 18 Jun 2021, 06:09

Could be windows locking partitions.
try:
shutdown /s /f /t 0
from cmd
see if it helps.

User avatar
Ed_P
Contributor
Contributor
Posts: 6405
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 4.0 & 5.0rc3 ISOs
Location: Western NY, USA

Grub Customizer

Post#9 by Ed_P » 18 Jun 2021, 19:10

I don't think so because I am able to update the /grub2/grub.cfg's code while in Porteus using xed.
Ed

Post Reply