On Fri, 19 Oct 2018, Pascal Hambourg wrote:
Le 18/10/2018 ? 22:26, [email protected] a ?crit :
On Thu, 18 Oct 2018, Pascal Hambourg wrote:
Le 18/10/2018 ? 21:24, [email protected] a ?crit :
On Thu, 18 Oct 2018, Pascal Hambourg wrote:
run update-grub after the system is started.
^^^^^^^^^^^
That said, I found no grub-update command in this version??
^^^^^^^^^^^
update-grub, not grub-update.
I tried grub-install --force /dev/sdb but with no effect.
Of course not. The wrong root= parameter is in /boot/grub/grub.cfg.
grub-install does not touches this file.
Tried install-grub - didn't include Debian 9 in the grub boot menu??
Can't your read properly ? For the last time, the proper command is
*update-grub*. Not grub-update, grub-install, install-grub or whatever
your imagination may invent...
Started over.
Booted from grub2 memory stick.
Debian 9 started OK.
Ran update-grub2.
update-grub2 is just a symlink to update-grub.
Ran grub-mkconfig.
Useless if you don't redirect the output tot /boot/grub/grub.cfg, and
redundant with update-grub if you do.
SD now boots :). Nice that it boots. Very strange and slow boot?
What do you mean ? What is strange and slow ?
IME SD card and USB flash drive access from the BIOS can be quite slow,
until the kernel and initramfs are loaded.
Also, there is no need to try to boot anything except this SD since
I plug in this SD I want to boot Debian 9.5. I guess I need to edit
something? /boot/grub/grub.cfg makes sense, but says not to edit it and
it is not obvious what to edit in the files referenced by grub.cfg.
What do you mean ? The boot menu shows other systems than the one
installed on the SD card ? This is because of os-prober. Either
uninstall os-prober or edit /etc/default/grub and add
GRUB_DISABLE_OS_PROBER=true
to disable it, and run update-grub again in both cases.
Hi Pascal,
I wanted to try to answer your question about I meant by Debian 9.5 boot
being flaky and slow.
Here is what happens now. I can't easily capture these screens.
Power up machine
Grub screen for a few seconds
Two lines looking for SD 4:0:0:0 [sdb]
Seems normal except looking for 4:0:0:0 as SDB and not finding anything so
it gives up eventually?
Gave up waiting for suspend/resume device
a few more lines
Boot process decides this is a very slow hard drive so decides to wait for
it to warm up?
A start job is running for dev-disk #####.device 1min. 30seconds
At this point a 'normal' boot seems to start and is reasonably fast.
[ OK ] -- many many lines :).
Thanks for all your help.
My guess at this point would be that when Debian was installed SDB was
at 4:0:0:0 and that grub or the early Debian boot process goes to look for
that physical device and does not find it?
I have not yet tried your NO_PROBER suggestion. If it will help you, I
will try this also.
John
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub