You are Here:
Install Updates Gimp Error - see Security & Bug Fixes Section Sticky



[ SOLVED ] After installing how do I set grub to chainload old windows10 drive?

Author (Read 739 times)

0 Members and 1 Guest are viewing this topic.

 

timbuck2

  • Patreon Supporter
  • Occasional Poster
  • *****
  • 51
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.2 64bit

  • CPU: AMD64

  • MEMORY: 16Gb

  • VIDEO CARD: NVIDIA GTX680
I have Linux Lite 4.2 and grub installed on ssd with the grub menu showing at boot.

My old windows 10 drive is still attached and mounted so I can browse files.

I can boot the old win10 drive through the bios boot menu, but would like to add the option into the grub menu.

Can anyone suggest a way to add an entry to chainload the windows10 drive through the grub menu?
Last Edit: January 02, 2019, 09:05:20 AM by timbuck2
 


Re: After installing how do I set grub to chainload old windows10 drive?
« Reply #1 on: January 01, 2019, 08:54:57 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3185
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
Can anyone suggest a way to add an entry to chainload the windows10 drive through the grub menu?


Hello timbuck2,

Code: [Select]
menuentry "Windows" {
   insmod chain
   insmod ntfs
   set root=(hd0,1)
   chainloader +1
}

https://www.gnu.org/software/grub/manual/grub/html_node/Chain_002dloading.html#Chain_002dloading

https://www.gnu.org/software/grub/manual/grub/html_node/DOS_002fWindows.html#DOS_002fWindows
Last Edit: January 01, 2019, 08:59:51 PM by bitsnpcs
 

Re: After installing how do I set grub to chainload old windows10 drive?
« Reply #2 on: January 01, 2019, 09:33:26 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3185
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
Hello timbuck2,

unsure if you know the above but want only to add it in to the menu of the grub screen ?
It is discussed here how I edited grub, https://www.linuxliteos.com/forums/off-topic/my-first-try/
 

Re: After installing how do I set grub to chainload old windows10 drive?
« Reply #3 on: January 01, 2019, 10:53:09 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1169
    Posts
  • Country: us
  • Reputation: 225
  • Linux Lite Member

  • Linux Lite: 4.6 64bit

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880
I have Linux Lite 4.2 and grub installed on ssd with the grub menu showing at boot.

My old windows 10 drive is still attached and mounted so I can browse files.

I can boot the old win10 drive through the bios boot menu, but would like to add the option into the grub menu.

Can anyone suggest a way to add an entry to chainload the windows10 drive through the grub menu?

Was the Old Windows Drive not attached when LL was installed?

LL Grub will check for other installed OS's and add to grub..
- If it was not - from within LL open terminal and run the following:

Code: [Select]
sudo update-grub
enter your password allow it to process then reboot you should see Windows..
I have an output example here:
https://www.linuxliteos.com/forums/installing-linux-lite/can-i-install-two-copies-of-ll4-0-on-the-same-drive-and-have-grub/msg41879/#msg41879
LL 4.6 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL 4.6 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL 4.4 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL 3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express
RETIRED LL 2.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA
Running Linux Lite since LL2.2
 

Re: After installing how do I set grub to chainload old windows10 drive?
« Reply #4 on: January 02, 2019, 09:01:32 AM »
 

timbuck2

  • Patreon Supporter
  • Occasional Poster
  • *****
  • 51
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.2 64bit

  • CPU: AMD64

  • MEMORY: 16Gb

  • VIDEO CARD: NVIDIA GTX680
I have Linux Lite 4.2 and grub installed on ssd with the grub menu showing at boot.

My old windows 10 drive is still attached and mounted so I can browse files.

I can boot the old win10 drive through the bios boot menu, but would like to add the option into the grub menu.

Can anyone suggest a way to add an entry to chainload the windows10 drive through the grub menu?

Was the Old Windows Drive not attached when LL was installed?

LL Grub will check for other installed OS's and add to grub..
- If it was not - from within LL open terminal and run the following:

Code: [Select]
sudo update-grub
enter your password allow it to process then reboot you should see Windows..
I have an output example here:
https://www.linuxliteos.com/forums/installing-linux-lite/can-i-install-two-copies-of-ll4-0-on-the-same-drive-and-have-grub/msg41879/#msg41879

Yeah I just noticed that.  My grub menu was graphical and the text was soooo small on my 1080p monitor I couldn't read it.

I edited
Code: [Select]
etc/default/grub to change the line
Code: [Select]
GRUB_TERMINAL=console so I could read the entries from text mode menu and when I ran
Code: [Select]
sudo update-grub I noticed it found my windows drive automatically.  So when the text menu came up at boot and I could read it I noticed windows 10 was there already. 

In
Code: [Select]
/etc/grub.d I moved
Code: [Select]
30_os-prober to
Code: [Select]
11_os-prober so my windows drive shows up after linux but before the memtest86+ entries.
 

Re: After installing how do I set grub to chainload old windows10 drive?
« Reply #5 on: January 02, 2019, 12:50:34 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1169
    Posts
  • Country: us
  • Reputation: 225
  • Linux Lite Member

  • Linux Lite: 4.6 64bit

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880
Cool Deal!!! Glad to hear your set up :)

LL 4.6 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL 4.6 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL 4.4 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL 3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express
RETIRED LL 2.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA
Running Linux Lite since LL2.2
 


Tags:
 


Install Updates Gimp Error - see Security & Bug Fixes Section Sticky