On 07/01/2017 02:46 PM, Unman wrote:
On Sat, Jul 01, 2017 at 12:49:59PM -1000, yreb-qusw wrote:
On 07/01/2017 12:10 PM, Unman wrote:
Nothing will go wrong if you get the partition specification wrong -
Windows wont boot and you will see an error message.
From what you have said you have two options: msdos1 and msdos2.
In grub partitions are numbered starting from 1, so these can be
referenced as hd0,msdos1 and hd0,msdos2.
Just create two entries, one for each partition, and try to boot: if
the first fails, reboot and choose the second.



I'd be happy to  if I had a clue  what that means   like  what ?



menuentry "Windows" {
     insmod part_msdos
     insmod ntldr
     insmod ntfs
     ntldr (hd0,msdos1)/bootmgr
}


menuentry "Windows" {
     insmod part_msdos
     insmod ntldr
     insmod ntfs
     ntldr (hd1,1)/bootmgr
}



Again, lets say it might be hd0  it might be hd1  , it might be partition
msdos1 msdos2   or ? should it just be labeled  1  or  2

then I would put in 4 entries or reboot and just keep guessing on the format


No need to guess:
grub references disks numbering from 0
grub references partitions numbering from 1

So the first partition on the first disk would be hd0,msdos1. (also
hd0,1 - doesn't matter)
The third partition on a second disk would be hd1,msdos3

So now you can create two menu entries, one for each partition: Give them
different names - like this -  menuentry "Windows msdos1"




PS:  What is supposed to happen ?  Where and When am I to make the choice to
boot the win10  vs Qubes .....

When you start the machine you will see the grub menu - It should
contain a menu (obviously) with entries for Qubes, and the two entries
you have just created.
You can press up and down keys to move up and down the entries -
Pressing enter will try to boot with the highlighted entry.
(There are instructions under the menu)


And when one does :

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Should one be seeing something lie 'found windows .img" image or does it matter ?

I'm seeing nothing when I run grub2-mkconfig  and also nothing

with any of my entries at boot using both suggested versions of the 'entry/stanza's' in /etc/grub.d/40_custom


I'm sort of doubting its supposed to be /etc/grub.d/40_custom, with the comma at the end, and the docs have a typo ?

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/7f0e91e5-c082-0333-0c1b-2585faa7efe7%40riseup.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to