help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search for Windows installations from Grub shell


From: X Tec
Subject: Re: Search for Windows installations from Grub shell
Date: Tue, 8 Nov 2022 16:14:48 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.14

Randy Goldenberg wrote:
What is the motivation for creating a Linux live CD that boots Windows
from a hard drive?

On Sat, Nov 5, 2022 at 11:00 AM X Tec <xtec@trimaso.com.mx> wrote:
Hello

I'd like to make a custom Grub menu for a Linux liveCD such that it scanned for 
any Windows installations (ranging from XP to 11) in all detected disks and 
partitions of the PC, so to use a $var which value depends whether there are no 
Windows installations or at least one. Then using this $var as boot parameter 
for the Linux liveCD.

At first I imagine it'd be a matter of scanning for any existing "Windows 
bootloaders" in all the existing partitions, or something like that...
But, could this be possible and practical?

Thanks.

I use a live CD, of my own choice, mainly for "rescue" or restore purposes; booting in rigs with installed Windows, Linux, or both (dual boots). And I'm looking for an automatic logic like this: "scan partitions; at least one Windows partition found, set live system's hwclock to local; else set to UTC".

Are you against this?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]