You are not logged in.
Pages: 1
I have one HD, storing all / (and /home) in under 512 GB.
I have migrated to two SSDs, one for /home and one for everything else, 250 GB each.
Each has a unique LABEL value, but I could used UUID if needed.
How would I do the menuentry to do all cold boots from the HDD and all warm boots from the boot SSD?
Or am I overthinking it?
Thanks in advance.
Last edited by OrigBitmancer (2022-02-09 04:16:59)
Offline
Detecting other operating systems can be done by os-prober package.
Or you write your own boot menu entry for grub, https://wiki.archlinux.org/index.php/GRUB#Dual-booting, which I advise.
What I don't understand is your question about cold boots and warm boots - what do you mean here ?
Are you talking about suspend/resume ?
Offline
A cold boot is from power cycle to active session.
A warm boot is a rapid reboot, without power cycling.
Neither is an exact suspend or resume.
Let me add:
I will use disk labels: "oldHD" for the old HD, "SSDboot" for the new SSD boot drive.
Last edited by OrigBitmancer (2021-02-06 07:13:28)
Offline
I'm not aware, that grub can decide on it's own if it's a cold or warm start.
But maybe this one can solve your task:
grub-reboot - set the default boot entry for GRUB, for the next boot only
So: setup your grub.cfg with a menu entry for "oldHD" and "SSDboot", make one default, and choose with grub-reboot the other entry for the next boot only.
Offline
I'm not aware, that grub can decide on it's own if it's a cold or warm start.
But maybe this one can solve your task:
grub-reboot - set the default boot entry for GRUB, for the next boot only
So: setup your grub.cfg with a menu entry for "oldHD" and "SSDboot", make one default, and choose with grub-reboot the other entry for the next boot only.
1) Aha!
2) I bet that is it. Thanks!
Offline
Pages: 1