You are not logged in.

#1 2021-05-29 12:32:53

hammad1029
Member
Registered: 2021-05-11
Posts: 8

Grub doesn't save the prefix

Whenever I power on my computer, it boots to the grub command line. The issue seems to be in the prefix. It's set to (hd0,msdos1)/grub/gr i.e it has an extra gr in the end. when I run set prefix=(hd0,msdos1)/grub it boots just fine. The only issue is that it doesn't keep this prefix as it reverts to the one with the gr in the end after every shutdown which means I have to set the prefix everytime i boot. any help would be appreciated.

Last edited by hammad1029 (2021-05-29 12:33:28)

Offline

#2 2021-05-29 17:13:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,468

Re: Grub doesn't save the prefix

Well, fix your grub.cfg?
Edits in the grub commandline are transient by nature, you can't permenently change things this way.

Offline

#3 2021-05-30 07:48:32

hammad1029
Member
Registered: 2021-05-11
Posts: 8

Re: Grub doesn't save the prefix

fix what exactly in the grub cfg

Offline

#4 2021-05-30 07:58:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,468

Re: Grub doesn't save the prefix

Well, the bogus prefix variable.
If it's really not set there, you likely have created a custom grub image and passed the bad value there.

Offline

Board footer

Powered by FluxBB