请选择 进入手机版 | 继续访问电脑版
查看: 1238|回复: 4

BT4 and Debian 10

[复制链接]

1

Threads

3

Posts

29

Credits

Newbie

Rank: 1

Credits
29
发表于 2023-05-11 07:29:41 | 显示全部楼层 |阅读模式
Every time a cold boot(power off) is performed on a BT4 with Debian 10 the partition with OS is not recognized and the system goes into UEFI shell and I have to use USB stick in order to get into recovery mode and reinstall GRUB. Is there a way to prevent the installed OS destruction? Warm boots(w/o power disconnect) are fine.


Is there a secret setting in the BIOS - stop messing with the hard drive?
回复

使用道具 举报

6

Threads

2418

Posts

7523

Credits

Super Moderator

Rank: 8Rank: 8

Credits
7523
发表于 2023-05-12 20:40:14 | 显示全部楼层
Hello there,

What is your BIOS version ?
And did you try to disable secure boot in the BIOS ?
回复 支持 反对

使用道具 举报

1

Threads

3

Posts

29

Credits

Newbie

Rank: 1

Credits
29
 楼主| 发表于 2023-05-12 22:12:22 | 显示全部楼层
Edited by beeleenk at 2023-05-12 22:15

Core Version: 5.011
Build  Date and Time: 06/16/2020 10:30:55

Secure Boot Not Active/Disabled
回复 支持 反对

使用道具 举报

1

Threads

3

Posts

29

Credits

Newbie

Rank: 1

Credits
29
 楼主| 发表于 2023-05-12 22:18:24 | 显示全部楼层
I also never installed Windows. Is Windows supposed to write something to the disk so it is left alone?
回复 支持 反对

使用道具 举报

6

Threads

2418

Posts

7523

Credits

Super Moderator

Rank: 8Rank: 8

Credits
7523
发表于 2023-05-15 19:52:46 | 显示全部楼层
Hello there,

It sounds like there may be an issue with the GRUB bootloader not being properly installed or configured on the system. You can try reinstalling GRUB and making sure it is properly configured to boot the Debian 10 partition. To reinstall GRUB, you can boot from a live USB or CD and open a terminal. Then, mount the Debian 10 partition and chroot into it:

```
sudo mount /dev/sdaX /mnt  # replace sdaX with the Debian 10 partition
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
```

Once you're in the chroot environment, you can reinstall GRUB:

```
sudo grub-install /dev/sda  # replace sda with the disk containing the Debian 10 partition
sudo update-grub
```

After that, exit the chroot environment and reboot the system:

exit
sudo reboot

Hopefully, this will fix the issue and prevent the destruction of the installed OS on cold boots.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | Sign up

本版积分规则

快速回复 返回顶部 返回列表