LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-13-2019, 07:10 PM   #1
Zaxxon
LQ Newbie
 
Registered: Aug 2017
Posts: 10

Rep: Reputation: Disabled
Duo Boot: Solid State Drive (Windows), Regular Drive (Linux)


Hi,

I recently got a new computer that has: "931GB Seagate ST1000DM010-2EP102 (SATA)" and "476GB PCIe SSD (RAID (SSD))"
Using Slackware 14.2 DVD, I could install onto the Seagate (/dev/sdb), but lilo couldn't see the "PCIe SSD".

Using fdisk -l, I think the PCIe SSD was /dev/mvme-something, but even putting it in manually into lilo.conf, got some error message (which I didn't save) and Windows 10 won't be seen by lilo.

Any idea how to duo boot in this case?
 
Old 03-13-2019, 07:53 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,344
Blog Entries: 15

Rep: Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146
Hi:

You might want to install the Grub bootloader.
That way Grub will allow you to boot into Linux and Windows.

http://gnu-linux-slackware.blogspot....gnu-grand.html
 
Old 03-13-2019, 08:09 PM   #3
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 2,125

Rep: Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105
It seems any bootloader can recognize and implement an NVME drive. It just takes some switches

See solutions here https://www.linuxquestions.org/quest...5586404-print/
 
Old 03-14-2019, 12:04 AM   #4
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Centos, Alpine, Arch
Posts: 132

Rep: Reputation: Disabled
Quote:
Originally Posted by Zaxxon View Post
Any idea how to duo boot in this case?
There are some Grub slackdocs here:https://docs.slackware.com/slackbook...ith_partitions

And I have some supplements here:https://andrewpayne.gitlab.io/someth...06-grub2-luks/

I'm pretty sure that the GRUB2 version included with 14.2 does not support booting windows though. It will just give an error during the os probe process. You'll need a more recent GRUB.
 
Old 03-15-2019, 04:10 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,226

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Quote:
Originally Posted by phalange View Post
I'm pretty sure that the GRUB2 version included with 14.2 does not support booting windows though. It will just give an error during the os probe process. You'll need a more recent GRUB.
Works for fine for me. (Windows 10 and BIOS)
 
Old 03-15-2019, 04:15 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,344
Blog Entries: 15

Rep: Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146Reputation: 1146
Quote:
Originally Posted by Richard Cranium View Post
Works for fine for me. (Windows 10 and BIOS)
Grub should be in the Slackware .iso, in other words on the DVD or live usb.

That's good that grub work for you.

Have you ever had any problems like after a new kernel?
 
Old 03-15-2019, 04:21 PM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,439

Rep: Reputation: 5692Reputation: 5692Reputation: 5692Reputation: 5692Reputation: 5692Reputation: 5692Reputation: 5692Reputation: 5692Reputation: 5692Reputation: 5692Reputation: 5692
Slackware 14.2 can not handle NVMe drives properly, but Slackware-current can.
 
Old 03-15-2019, 05:40 PM   #8
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Centos, Alpine, Arch
Posts: 132

Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
Works for fine for me. (Windows 10 and BIOS)
I'm guessing the difference must be UEFI vs bios. grub-mkconfig generates "Windows Boot Manager is not yet supported by grub-mkconfig" when I run it using Grub 2.00
 
Old 03-15-2019, 08:36 PM   #9
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,226

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Quote:
Originally Posted by phalange View Post
I'm guessing the difference must be UEFI vs bios. grub-mkconfig generates "Windows Boot Manager is not yet supported by grub-mkconfig" when I run it using Grub 2.00
I've also got entire disks for each OS (well, only 1 for Windows); however, I thought that might be the case so I made sure to mention that my experience was with BIOS only. Thanks for the feedback!
 
1 members found this post helpful.
Old 03-16-2019, 06:40 AM   #10
chrisVV
Member
 
Registered: Aug 2010
Posts: 341

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by phalange View Post
I'm guessing the difference must be UEFI vs bios. grub-mkconfig generates "Windows Boot Manager is not yet supported by grub-mkconfig" when I run it using Grub 2.00
That's right, although you can boot windows in a UEFI system with grub-2.00 if you are prepared to write your own grub.cfg stanzas by hand. My notes indicate that at one time this seemed to work for me on a laptop I no longer have, I think with grub-1.99:

Code:
menuentry "Microsoft Windows" {
      insmod part_gpt
      insmod fat
      insmod search_fs_uuid
      insmod chain
      set root='(hd0,gpt2)'
      chainloader (hd0,gpt1)/EFI/Microsoft/Boot/bootmgfw.efi
}
This assumes that the EFI system partition is the gpt1 partition of the first disk and windows is on the gpt2 partition of that disk. (Note that in grub2,
disk numbering begins at 0 but partition numbering begins at 1)! I think I included the stanza above in /etc/grub.d/40_custom, I am not entirely sure.

Much easier though is to use grub-2.02, which can do the probing for you with /etc/grub.d/30_os-prober. Even easier than that though is to use rEFInd, which I thoroughly recommend.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSD (Solid State Drive) support under Linux? jcllings Linux - Hardware 3 08-08-2011 07:51 PM
Best io-scheduler for Solid State Drive? brentleary Linux - Kernel 2 03-25-2009 01:33 AM
Unable to boot from cdrom when solid-state drive is attached asynchronous13 Linux - Embedded & Single-board computer 1 01-13-2009 04:14 PM
LXer: Linux Solid-State Drive Benchmarks LXer Syndicated Linux News 0 01-02-2009 03:10 AM
LXer: Linux Solid-State Drive Benchmarks LXer Syndicated Linux News 0 01-01-2009 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration