LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-11-2020, 05:49 PM   #1
Pen guin
Member
 
Registered: Oct 2019
Posts: 125

Rep: Reputation: Disabled
Can't get into Windows via the Terminal (Linux Mint)


I typed this code into the terminal:

https://www.techinfected.net/2015/08...x-mint.html:// which talks about getting into Windows via the Terminal. Windows is on a separate drive. Samsung SSD, while my Linux installation is on a WD 240GB nVME drive.

Well, I tried it, and my Windows installation was not listed at all. So, I couldn't change the GRUB DEFAULT=n -where n stands for number. Because it wasn't listed, so there wasn't any numbers (0 to 4) to change.

Any help (accessing Windows) would be appreciated

Pen guin

Last edited by Pen guin; 06-11-2020 at 05:52 PM.
 
Old 06-11-2020, 07:17 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 16,332
Blog Entries: 27

Rep: Reputation: 4882Reputation: 4882Reputation: 4882Reputation: 4882Reputation: 4882Reputation: 4882Reputation: 4882Reputation: 4882Reputation: 4882Reputation: 4882Reputation: 4882
Please clarify: Are you trying to access your Windows partitions from Linux on a dual-boot computer or trying to access a running Windows interface?

If the former, you need to mount the Windows partitions to your Linux instance.
 
Old 06-11-2020, 07:27 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,912

Rep: Reputation: 3249Reputation: 3249Reputation: 3249Reputation: 3249Reputation: 3249Reputation: 3249Reputation: 3249Reputation: 3249Reputation: 3249Reputation: 3249Reputation: 3249
Bad link provided by the OP. Probably this. To change the default selection in the grub boot menu to window rather than Mint. Poor advice anyway IMHO.

Go here, do as it says and post the results here so we have the info we need.
 
Old 06-12-2020, 12:42 AM   #4
Pen guin
Member
 
Registered: Oct 2019
Posts: 125

Original Poster
Rep: Reputation: Disabled
I'm a "sim pilot" i.e. I fly in X-Plane, and I prefer to do that in a Windows environment for the variety of software (addons) availabe. Theoretically, that should be the only reason I would need to boot into Windows 10, for X-Plane. Everything else, the theory goes, I can do in Linux.

So with that said, the time will come when a) I'll want to fly in X-Plane, and b) will need to reboot into Windows to do so. I found this web page that talked about how to boot into Windows via the command line, but much to my chagrin, when I ran the code, there was no listing for the Windows bootloader. So, I couldn't change the GRUB DEFAULT = 0 to "n" where "n" would stand for the number in listing of the boot order. So, hypothetically speaking, I could change it from say 0 to 4. But since the Windows bootloader wasn't listed, there was nothing I could do.

If you have any questions, let me know...

Thanks...
 
Old 06-12-2020, 01:00 AM   #5
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,056

Rep: Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469
Does this mean (in smaller words) that installing Mint made your Windows unbootable?
 
Old 06-12-2020, 05:27 AM   #6
Pen guin
Member
 
Registered: Oct 2019
Posts: 125

Original Poster
Rep: Reputation: Disabled
But the thing is, the Linux file system, the equivalent of "File Explorer," "sees" my C: drive, or as it calls it 999 GB, and the WD 4 TB drive, where I store my data and Acronis backups, in two separate partitions.

With that in mind, I have to believe that my connections, (SATA 3, and power) are good and snug re: my 1TB Samsung EVO 850 SSD. (Where I have my Windows 10 OS installed,) and X-Plane...

That said, I'm confounded as to why there's not an entry that reads: Windows 10 (loader) on sda4 - for example.

So, yeah, I guess you could put it that way...
 
Old 06-12-2020, 07:28 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,059

Rep: Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937
If I'm understanding your posts, you have Mint and windows 10 installed and boot Mint with Grub but have no entry in the Grub menu for windows. Is that the case? Did you ever have an entry for windows on the Grub menu? Two possible problems would be that Mint and windows 10 are not installed in the same mode (both UEFI or both Legacy). If for example, Mint is installed Legacy it won't boot a UEFI install of Mint. The other possibility is that windows is hibernated and when you update grub, it won't find windows because it won't be mounted if hibernated.
 
Old 06-12-2020, 09:48 AM   #8
Pen guin
Member
 
Registered: Oct 2019
Posts: 125

Original Poster
Rep: Reputation: Disabled
That's the case...

I remember Windows identified my system as a UEFI system on the "System Information" page, or a keyword to that effect. Also, in the BIOS, any other mode of booting was disabled, to force it to boot in UEFI mode.

What you also say may very well be true in my case. I may have set it to hibernate. I know the system will eventually "go to sleep," but what those specifics are, I couldn't tell you without checking the power settings...
 
Old 06-12-2020, 12:48 PM   #9
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,056

Rep: Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469
Uefi is flexible and user-friendly. In other words, it is hard to impossible to fix its problems.
 
1 members found this post helpful.
Old 06-12-2020, 02:33 PM   #10
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,570

Rep: Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349
Firstly, can you change the boot order in BIOS to boot to Windows? That would, at least, confirm it's still working and give you access. It would also allow you to turn off "fast boot" or whatever it is called and shutdown properly and cleanly, which is a good start.
Secondly, if you then run the following in Ubuntu:
Code:
sudo update-grub
What OSs are listed?
 
Old 06-12-2020, 03:19 PM   #11
Pen guin
Member
 
Registered: Oct 2019
Posts: 125

Original Poster
Rep: Reputation: Disabled
Here's the text of the entire "screenshot" so to speak....


# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
 
Old 06-12-2020, 05:27 PM   #12
Pen guin
Member
 
Registered: Oct 2019
Posts: 125

Original Poster
Rep: Reputation: Disabled
Greetings, from Windows 10.

I made it through to the other side...It was a really simple solution, surprisingly so. Restart Linux and hence the computer, and press F12 repeatedly, then click on my choice of drive to boot up. Interestingly enough, it, the Samsung 850 EV0, the one that has the Win OS, was already set as #1 in the boot order. Hmmm.

Thanks for all your help, I appreciate it.
 
1 members found this post helpful.
Old 06-12-2020, 10:36 PM   #13
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,056

Rep: Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469
In Windows, you can install a boot-selector called EasyBCB -- then at startup Windows's boot-loader will ask you which OS to boot
 
Old 06-13-2020, 06:52 AM   #14
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,059

Rep: Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937
Quote:
In Windows, you can install a boot-selector called EasyBCB
That would be a problem in the case of the OP since he has a UEFI system. The link below to the neosmart site (creators of EasyBCD) expalins that.

https://neosmart.net/wiki/easybcd/uefi/
 
  


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
LXer: 179 Color Schemes For Your Gtk-Based Linux Terminal (Gnome Terminal, Tilix, Xfce Terminal, More) LXer Syndicated Linux News 0 07-28-2019 04:50 AM
Alienware 15 R3 with 2 SSDs (Windows 10 & Linux Mint). I can't get into Windows at all. It boots up as Linux every time... JMacSmith Linux - Laptop and Netbook 5 10-20-2018 07:05 PM
Mint 12 LXDE.iso boots into terminal. Usually get GUI installation? Gad Linux Mint 2 08-30-2013 10:10 PM
Can remote login via ssh terminal but can't open volume in Krusader (via FISH) CyyberspaceCowboy Linux - Networking 0 05-28-2011 04:04 PM
Logging into a debian primary domain controller via windows xp pro via windows VPN dr5419 Linux - Newbie 15 12-11-2008 04:48 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:57 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