Permanently changing GRUB

If none of the more specific forums is the right place to ask

Permanently changing GRUB

Postby Acans » 2019-01-14 11:55

Hi there,

My problem is every time I try boot to Debian, it can't find /dev/sbd1 and drops to the BusyBox Shell. It can't find it cause it doesn't exist.

After following a tutorial I found on the GRUB Boot Menu I had to press E then go change the part where it was looking for /dev/sbd1 and change it to /dev/sda1. Now Debian boots successfully. However, I must do this everytime I reboot Debian as the changes don't save in that GRUB boot loader.

So my question is where a way to permanently save this so that if there's a power surge or a remote reboot required, somebody won't need to be present to change that value through the E menu in GRUB boot loader.
Acans
 
Posts: 4
Joined: 2018-03-02 05:05

Re: Permanently changing GRUB

Postby llivv » 2019-01-14 13:40

since you can already login, after logging in run
'
Code: Select all
update-grub

edit: or
Code: Select all
update-grub2


either should change the root device target to the correct device. ie: sda1
Last edited by llivv on 2019-01-14 16:04, edited 1 time in total.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: Permanently changing GRUB

Postby GarryRicketson » 2019-01-14 15:22

There is more details , if you use this:
Permanently changing GRUB
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Permanently changing GRUB

Postby Acans » 2019-01-19 16:29

llivv wrote:since you can already login, after logging in run
'
Code: Select all
update-grub

edit: or
Code: Select all
update-grub2


either should change the root device target to the correct device. ie: sda1


Sorry for the late reply, however, this did fix my issue. Thank you!
Acans
 
Posts: 4
Joined: 2018-03-02 05:05


Return to General Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable