Grub2config replaces Grub4Dos

Moderator: Forum moderators

User avatar
shinobar
Posts: 85
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Re: Grub2config replaces Grub4Dos

Post by shinobar »

+Me wrote: Wed Jul 28, 2021 2:04 am

(But I'm Still Very Alien 2 this New Fangled GPT /UEFi ) & az I've Previously said I want 2 Stick w/ the Old Skool MS DOS / MB

Sorry, i cannot follow you. Are you want to install Grub2 on the internal SDD?
Is the SSD has the msdos type partition table or GPT?
What are the flags on sda1 and sda2?
What is the BIOS boot mode? UEFI or CSM?

Anyway, I recommend to install BionicPup on a USB, and run Grub2config from BionicPup.

User avatar
shinobar
Posts: 85
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Re: Upper case BOOT

Post by shinobar »

josejp2424 wrote: Wed Jul 21, 2021 3:54 pm

I installed the grub from another distribution (Debian).
I installed it on sda1 vfat.
But I create a folder BOOT so in capital letters.
Then I installed from puppy Grub2config.
but it gives me an error, because it wants to create a boot folder, and gives that it already exists. but the one that exists is in uppercase, and the one it creates is in lowercase.
but in the end it does not create it because it says that it exists, and that gives error and does not install the grub.

@josejp2424
OK. I can reproduce that, after installing LUbuntu. Thanks.

User avatar
shinobar
Posts: 85
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Grub2config preview 7

Post by shinobar »

#2021-08-03 v1.9.9-pre7: install grub2 on /boot.pup/grub to prevent interference with other OS,
# limited support older puppy than xenialpup 7.5

DOWNLOAD grub2config-1.9.9-pre7 from http://shinobar.server-on.net/puppy/opt/test/

Almost a release candidate. Welcome your test and report.

User avatar
shinobar
Posts: 85
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Re: Grub2config replaces Grub4Dos

Post by shinobar »

Scheduling official release on this weekend.
You are encouraged to test the preview 7 and report.
Thank you.

User avatar
josejp2424
Posts: 245
Joined: Sun Jul 12, 2020 11:40 pm
Has thanked: 261 times
Been thanked: 154 times

Re: Grub2config replaces Grub4Dos

Post by josejp2424 »

shinobar wrote: Wed Aug 04, 2021 2:41 pm

Scheduling official release on this weekend.
You are encouraged to test the preview 7 and report.
Thank you.

hi @shinobar .
I had to add 3 libraries, so that I don't get any error. ( efibootmgr, libefiboot1, libefivar1 ).
and it worked very well.

Locale es. grub2config-1.9.9-pre7

thanks excellent work.

MoManager-es-grub2config-1.9.9-pre7.tar.bz2
(3.12 KiB) Downloaded 81 times
User avatar
shinobar
Posts: 85
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

grub2config-2.0 released!

Post by shinobar »

grub2config-2.0 released!
DOWNLOAD from http://shinobar.server-on.net/puppy/opt/

Grub2config installs only the boot loader. You can install Puppies manually or using some tool like Frugalinstaller.
frugalinstaller-2.2 is available at the same place, http://shinobar.server-on.net/puppy/opt/

Last edited by shinobar on Mon Aug 16, 2021 9:48 pm, edited 1 time in total.
User avatar
josejp2424
Posts: 245
Joined: Sun Jul 12, 2020 11:40 pm
Has thanked: 261 times
Been thanked: 154 times

Re: Grub2config locale

Post by josejp2424 »

hi @shinobar .

the new grub2config-2.0. does not take certain lines in the translation.

Image

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: Grub2config replaces Grub4Dos

Post by Ramachandra Iyer »

While installing in Fossapup64, it asks for a password. What is the password sir?

User avatar
shinobar
Posts: 85
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Re: Grub2config replaces Grub4Dos

Post by shinobar »

Ramachandra Iyer wrote: Sun Aug 15, 2021 3:14 pm

While installing in Fossapup64, it asks for a password. What is the password sir?

Grub2config does not require any password.

User avatar
shinobar
Posts: 85
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Re: Grub2config locale

Post by shinobar »

josejp2424 wrote: Sun Aug 15, 2021 11:27 am

the new grub2config-2.0. does not take certain lines in the translation.

Sorry, comment out the line 118 and 142 of /usr/sbin/grub2config:

line 118:
splash() {
debug "splash $*"
rm -f $COUNTFILE
[ "$XPID" != "" ] && kill $XPID >/dev/null 2>&1
XPID=""
#LANG=$LANGORG # recover lang environment

line 142:
$GTKDIALOG -p DIALOG -c >/dev/null &
XPID=$!
#LANG=C # to be faster
}

User avatar
josejp2424
Posts: 245
Joined: Sun Jul 12, 2020 11:40 pm
Has thanked: 261 times
Been thanked: 154 times

Re: Grub2config locale

Post by josejp2424 »

shinobar wrote: Mon Aug 16, 2021 12:29 am
josejp2424 wrote: Sun Aug 15, 2021 11:27 am

the new grub2config-2.0. does not take certain lines in the translation.

Sorry, comment out the line 118 and 142 of /usr/sbin/grub2config:

line 118:
splash() {
debug "splash $*"
rm -f $COUNTFILE
[ "$XPID" != "" ] && kill $XPID >/dev/null 2>&1
XPID=""
#LANG=$LANGORG # recover lang environment

line 142:
$GTKDIALOG -p DIALOG -c >/dev/null &
XPID=$!
#LANG=C # to be faster
}

thanks @shinobar

Ramachandra Iyer
Posts: 139
Joined: Wed Apr 07, 2021 12:11 pm
Has thanked: 84 times
Been thanked: 4 times

Re: Grub2config replaces Grub4Dos

Post by Ramachandra Iyer »

shinobar wrote: Mon Aug 16, 2021 12:22 am
Ramachandra Iyer wrote: Sun Aug 15, 2021 3:14 pm

While installing in Fossapup64, it asks for a password. What is the password sir?

Grub2config does not require any password.

Sorry, it is for spot password of Fossaup64. Do you know sir?

User avatar
rockedge
Site Admin
Posts: 6551
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2753 times
Been thanked: 2627 times
Contact:

Re: Grub2config replaces Grub4Dos

Post by rockedge »

you can make the password for "spot" by using this while you are the "root" user. Fill in the new password you choose.
in a terminal ->

Code: Select all

passwd spot
(15).png
(15).png (31.86 KiB) Viewed 15489 times
User avatar
shinobar
Posts: 85
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Grub2config2.0.1

Post by shinobar »

Miner bug fix:
#2021-08-20 v2.0.1: was missing nls, remove pdrv option, downgrade grub to 2.0.2

grub2config-2.0.1.pet
http://shinobar.server-on.net/puppy/opt

User avatar
josejp2424
Posts: 245
Joined: Sun Jul 12, 2020 11:40 pm
Has thanked: 261 times
Been thanked: 154 times

Re: Grub2config2.0.1

Post by josejp2424 »

shinobar wrote: Fri Aug 20, 2021 10:40 am

Miner bug fix:
#2021-08-20 v2.0.1: was missing nls, remove pdrv option, downgrade grub to 2.0.2

grub2config-2.0.1.pet
http://shinobar.server-on.net/puppy/opt

thank you. @shinobar
works very well

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Re: Grub2config replaces Grub4Dos

Post by JASpup »

This post per bigpup's suggestion:

Grub2config boots 64/UEFI which is an evolution over G4D.

On my system it doesn't not find alternate partitions.

G4D still does.

I need a combination of the two to create a multipartition boot.

viewtopic.php?f=4&t=3810&p=35334#p35334

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

Clarity
Posts: 3837
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1632 times
Been thanked: 525 times

Re: Grub2config replaces Grub4Dos

Post by Clarity »

Hi @JASpup

I am curious to what you face with multi-partition access at boot time. I have a single question.

Would/could you, when booting and you arrive a PUP-DOG boot GRUB2 Menu screen, type an 'e' for any menu line, then at the GRUB menu, type 'ls' so; Do you see all partitions on your PC?

Thanks

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Re: Grub2config replaces Grub4Dos

Post by JASpup »

Clarity wrote: Sun Aug 29, 2021 8:56 pm

Would/could you, when booting and you arrive a PUP-DOG boot GRUB2 Menu screen, type an 'e' for any menu line, then at the GRUB menu, type 'ls' so; Do you see all partitions on your PC?

Under what test conditions should I try this?

Everything works now, but I need UUIDs from G4D.

If I boot this machine, it will be either Grub2config or YUMI.

Does any of this matter for your test?

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

Clarity
Posts: 3837
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1632 times
Been thanked: 525 times

Re: Grub2config replaces Grub4Dos

Post by Clarity »

Just curious, only. I may have mis-understood but I interpreted couple of your statements to mean that when, at the time of booting a GRUB2 base PUP, it is not capable of seeing your PCs partitions and also not capable of using UUIDs.

I had not seen such and was curious.

User avatar
shinobar
Posts: 85
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Re: Grub2config replaces Grub4Dos

Post by shinobar »

JASpup wrote: Sun Aug 29, 2021 2:30 pm

Grub2config boots 64/UEFI which is an evolution over G4D.

Did you check on all the drives to search?

grub2configSS2.png
grub2configSS2.png (27.11 KiB) Viewed 15308 times

See the document about options:
http://shinobar.server-on.net/puppy/doc ... ml#options

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Re: Grub2config replaces Grub4Dos

Post by JASpup »

Clarity wrote: Sun Aug 29, 2021 10:11 pm

Just curious, only. I may have mis-understood but I interpreted couple of your statements to mean that when, at the time of booting a GRUB2 base PUP, it is not capable of seeing your PCs partitions and also not capable of using UUIDs.

Please excuse, I am not a boot expert.

G4D creates a MBR & grub.cfg configuration file that does not boot at all.

I boot from USB.

Yes - GRUB2 will boot on my USB with GRUB2CONFIG MBR and menu.
Yes - It is capable of using UUIDs.

Problem:

GRUB2CONFIG does not create UUID for partitions. It only reads USB.

I do not click "search only this device".

G4D finds all partitions.

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Re: Grub2config replaces Grub4Dos

Post by JASpup »

shinobar wrote: Mon Aug 30, 2021 4:49 am

Did you check on all the drives to search?

I might have missed thinking it was for boot installation. :shock:

Fear of replacing partition boot :?:

I will check carefully next time arigato.

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

Clarity
Posts: 3837
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1632 times
Been thanked: 525 times

Re: Grub2config replaces Grub4Dos

Post by Clarity »

Just a note for anyone who thought GRUB2 was missing some functionality: UUID in particular, it is not.

Of course, it can handle it in the Menu used for booting.

But, for some, you can ALSO break from the Menu to its command line (console) and type

Code: Select all

grub> ls -l 

to see UUIDs of all connected storage seen at boot time. Hit the ESC key to return to the PUP's Menu. You can also type "ls" to see a less busy list of the PC storage.

Hope this is helpful understanding.

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Re: Grub2config replaces Grub4Dos

Post by JASpup »

Clarity wrote: Sat Sep 04, 2021 10:19 am

typegrub> ls -l to see UUIDs of all connected storage seen at boot time.

I escape out the GRUB menu regularly. Easy apprehension of UUIDs would help - a lot easier than running bootloader apps.

The G2C menu is kind of small. 14pt? Can it easily be increased?

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

User avatar
April
Posts: 493
Joined: Tue Dec 29, 2020 9:06 pm
Has thanked: 57 times
Been thanked: 28 times

Re: Grub2config replaces Grub4Dos

Post by April »

@shinobar
Perhaps I could suggest any changes and updates you make should always be done in the first post.
This thread could end up being 10 pages long and people will not read through the entire thread usually.

Others here do that and it helps immensely. Thanks.

I wonder why you include windows whether its found or not?
I never have windows on my machine and never want it so i would prefer an option to just drop it.Then again I don't think I have a need/use for Grub4Dos then do I .

The Australian State Governments have all enacted laws to steal your assets on your death. All legal paperwork is binned and all assets seized on one disgruntled child's complaint.Move them well before you die or go into a home.

User avatar
April
Posts: 493
Joined: Tue Dec 29, 2020 9:06 pm
Has thanked: 57 times
Been thanked: 28 times

Re: Grub2config replaces Grub4Dos

Post by April »

Clarity wrote: Sat Sep 04, 2021 10:19 am

Code: Select all

grub> ls -l 

this code does not work for me ? What am I missing please

The Australian State Governments have all enacted laws to steal your assets on your death. All legal paperwork is binned and all assets seized on one disgruntled child's complaint.Move them well before you die or go into a home.

User avatar
shinobar
Posts: 85
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Re: Grub2config replaces Grub4Dos

Post by shinobar »

April wrote: Mon Sep 06, 2021 9:19 am

I wonder why you include windows whether its found or not?
I never have windows on my machine and never want it so i would prefer an option to just drop it.Then again I don't think I have a need/use for Grub4Dos then do I .

Windows menu
At least one item of Windows menu are displayed here no matter they are installed or not. Erase the items if you do not need boot up Windows. But this entry is recommended to leave. Especially in case you install the boot loader on removable devices because they might be useful with other PC's.
http://shinobar.server-on.net/puppy/doc ... menutitles

User avatar
amethyst
Posts: 2418
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 506 times

Re: Grub2config replaces Grub4Dos

Post by amethyst »

Just a question out of curiosity, I still use old computers so don't know about these secure boot thingys. My question with regards to Grub4Dos: 1. This can still be used on a new machine even if it is a UEFI boot machine but you will have to change to legacy boot in the BIOS (and secure boot turned-off). I suppose changing the setting to legacy turns off secure boot automatically? 2. You can't boot an ext4 partition. So in short: Grub4Dos will still work if you (can) change to legacy boot and not use ext4 filesystem for your Puppy installation (but you can have another ext4 filesystem for storage for example as long as the bootloader does not boot files from it). Is this correct? Also - will there be instances where it will be impossible to switch to legacy boot mode?

User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: Grub2config replaces Grub4Dos

Post by Jafadmin »

April wrote: Mon Sep 06, 2021 9:59 am
Clarity wrote: Sat Sep 04, 2021 10:19 am

Code: Select all

grub> ls -l 

this code does not work for me ? What am I missing please

This is for Grub. Pressing 'c' from a grub boot menu will drop you to the 'grub>' command line prompt. Typing 'ls' (list) dash plus lowercase 'L' (ps -l) should display all the disks the BIOS can detect.

I do not believe the 'ls' command works with Grub4Dos.

User avatar
shinobar
Posts: 85
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Re: Grub2config replaces Grub4Dos

Post by shinobar »

amethyst wrote: Mon Sep 06, 2021 1:23 pm

... My question with regards to Grub4Dos: ...

@amethyst
You are right at this point of time. You can still use the Grub4Dos with legacy BIOS mode (CSM) if you carefully avoid its limitation.

After 2012, Windows 8(64) pre-installed PC 's are shipped with UEFI/GPT system. They can switched to legacy BIOS compatible mode called CSM, in condition the HDD to be re-formatted with ms-dos partition table because CSM cannot boot up GPT.

But from 2021 and near future, new PC and mother boards can be shipped without CSM support.

As for the Grub4Dos is not updated long time. The developers moved to Grub2. Grub4DosConfig too will not be updated now on because Grub2config can replace. You are encouraged to switch to the Grub2config.

Post Reply

Return to “Boot”