Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Permanently changing GRUB

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Acans
Posts: 4
Joined: 2018-03-02 05:05

Permanently changing GRUB

#1 Post by Acans »

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.

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: Permanently changing GRUB

#2 Post by llivv »

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
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Permanently changing GRUB

#3 Post by GarryRicketson »

There is more details , if you use this:
Permanently changing GRUB

Acans
Posts: 4
Joined: 2018-03-02 05:05

Re: Permanently changing GRUB

#4 Post by Acans »

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!

Post Reply