LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
After installing how do I set grub to chainload old windows10 drive?
#1
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?
Reply
#2
(01-02-2019, 01:25 AM)timbuck2 link Wrote: Can anyone suggest a way to add an entry to chainload the windows10 drive through the grub menu?


Hello timbuck2,

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

https://www.gnu.org/software/grub/manual...02dloading

https://www.gnu.org/software/grub/manual...02fWindows
Reply
#3
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.freecinema2022.gq/forums/off-t...first-try/
Reply
#4
(01-02-2019, 01:25 AM)timbuck2 link Wrote: 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:
sudo update-grub

enter your password allow it to process then reboot you should see Windows..
I have an output example here:
https://www.freecinema2022.gq/forums/insta.../#msg41879
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply
#5
(01-02-2019, 03:53 AM)firenice03 link Wrote: [quote author=timbuck2 link=topic=6128.msg45185#msg45185 date=1546392339]
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:
sudo update-grub

enter your password allow it to process then reboot you should see Windows..
I have an output example here:
https://www.freecinema2022.gq/forums/insta.../#msg41879
[/quote]

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:
etc/default/grub
to change the line
Code:
GRUB_TERMINAL=console
so I could read the entries from text mode menu and when I ran
Code:
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:
/etc/grub.d
I moved
Code:
30_os-prober
to
Code:
11_os-prober
so my windows drive shows up after linux but before the memtest86+ entries.
Reply
#6
Cool Deal!!! Glad to hear your set up Smile

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


Forum Jump:


Users browsing this thread: 5 Guest(s)