LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > elementary OS
User Name
Password
elementary OS This forum is for the discussion of elementary Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 07-20-2020, 07:59 PM   #1
MickTheRus
LQ Newbie
 
Registered: Jul 2020
Distribution: Elementary OS
Posts: 14

Rep: Reputation: Disabled
Grub Just Redirects to Windows


This Might Be Confusing But Let Me Explain. I reinstalled Elementary OS because It had wireless adapter bug issue (fixed it). So After Installing EOS again I still see the GRUB as boot option from the previous Install, but when I select to boot to it, it just boots me to Windows. Is there any way I can add EOS to it as a secondary option

Edit 1: When I boot the the Grub it just opens Grub Config and if I boot back to Win10 and check msconfig boot option only windows shows up there.

Edit 2: So I fixed it. I used something Called Boot-Repair-Disk, Worked Like a Charm
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt update
sudo apt install boot-repair

Last edited by MickTheRus; 07-23-2020 at 12:06 AM.
 
Old 07-20-2020, 10:48 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,138

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
If comfortable using the terminal, go here, download the script (click the green dropdown button) and run it. Post the entire RESULTS.txt it generates.
Can be run from a liveUSB. This will give us some configuration data to work with
 
1 members found this post helpful.
Old 07-21-2020, 01:43 AM   #3
MickTheRus
LQ Newbie
 
Registered: Jul 2020
Distribution: Elementary OS
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
If comfortable using the terminal, go here, download the script (click the green dropdown button) and run it. Post the entire RESULTS.txt it generates.
Can be run from a liveUSB. This will give us some configuration data to work with
Linux User Not Comfortable with Using Terminal? Sounds Iteresting
 
Old 07-21-2020, 01:49 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,138

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
You'd be surprised - everybody converting over (from Win especially) wants everything gooey. Sometimes makes it damn hard to help them.
 
Old 07-21-2020, 07:00 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by MickTheRus View Post
This Might Be Confusing But Let Me Explain. I reinstalled Elementary OS because It had wireless adapter bug issue (fixed it). So After Installing EOS again I still see the GRUB as boot option from the previos Install, but when I select to boot to it, it just boots me to Windows. Is there any way I can add EOS to it as a secondary option
Wild guess: you just clicked through the installer, which recognized a previous eOS install and made some erroneous decisions.
 
Old 07-21-2020, 07:51 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,363

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Another option is boot-repair iso, https://sourceforge.net/p/boot-repair-cd/home/Home/ Post the the boot-info results, the boot-repair doesn't always fix correctly.
 
Old 07-21-2020, 12:08 PM   #7
MickTheRus
LQ Newbie
 
Registered: Jul 2020
Distribution: Elementary OS
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
Wild guess: you just clicked through the installer, which recognized a previous eOS install and made some erroneous decisions.
It never showed up to dual boot with windows just wipe the drive and partition
 
Old 07-21-2020, 04:03 PM   #8
MickTheRus
LQ Newbie
 
Registered: Jul 2020
Distribution: Elementary OS
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
If comfortable using the terminal, go here, download the script (click the green dropdown button) and run it. Post the entire RESULTS.txt it generates.
Can be run from a liveUSB. This will give us some configuration data to work with
=> Windows 7/8/2012 is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

File system:
Boot sector type: -
Boot sector info:

sda2: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 1 4,294,967,295 4,294,967,295 ee GPT

/dev/sda1 ends after the last sector of /dev/sda

GUID Partition Table detected.

Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 34 32,767 32,734 Microsoft Reserved Partition (Windows)
/dev/sda2 32,768 3,907,026,943 3,906,994,176 Data partition (Windows/Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/loop1 squashfs
/dev/loop2 squashfs
/dev/loop3 squashfs
/dev/loop4 squashfs
/dev/loop5 squashfs
/dev/loop6 squashfs
/dev/nvme0n1
/dev/nvme0n1p1 D4B62CE1B62CC638 ntfs Recovery
/dev/nvme0n1p2 B82D-B96F vfat
/dev/nvme0n1p3
/dev/nvme0n1p4 BCFC4AC0FC4A7524 ntfs FAST ASS
/dev/nvme0n1p5 db2021ee-ba3e-4e55-880a-19cb57488e38 ext4
/dev/sda1
/dev/sda2 D866223866221830 ntfs Big Dick Drive

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root 9 Jul 21 08:39 ata-ST2000DM008-2FR102_ZFL27T0Z -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 21 08:39 ata-ST2000DM008-2FR102_ZFL27T0Z-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 21 08:39 ata-ST2000DM008-2FR102_ZFL27T0Z-part2 -> ../../sda2
lrwxrwxrwx 1 root root 13 Jul 21 08:39 nvme-eui.a03299fd2e0d1804 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Jul 21 08:39 nvme-eui.a03299fd2e0d1804-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Jul 21 08:39 nvme-eui.a03299fd2e0d1804-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 Jul 21 08:39 nvme-eui.a03299fd2e0d1804-part3 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 15 Jul 21 08:39 nvme-eui.a03299fd2e0d1804-part4 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Jul 21 08:39 nvme-eui.a03299fd2e0d1804-part5 -> ../../nvme0n1p5
lrwxrwxrwx 1 root root 13 Jul 21 08:39 nvme-LENSE20256GMSP34MEAT2TA_1197069701804 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Jul 21 08:39 nvme-LENSE20256GMSP34MEAT2TA_1197069701804-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Jul 21 08:39 nvme-LENSE20256GMSP34MEAT2TA_1197069701804-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 15 Jul 21 08:39 nvme-LENSE20256GMSP34MEAT2TA_1197069701804-part3 -> ../../nvme0n1p3
lrwxrwxrwx 1 root root 15 Jul 21 08:39 nvme-LENSE20256GMSP34MEAT2TA_1197069701804-part4 -> ../../nvme0n1p4
lrwxrwxrwx 1 root root 15 Jul 21 08:39 nvme-LENSE20256GMSP34MEAT2TA_1197069701804-part5 -> ../../nvme0n1p5
lrwxrwxrwx 1 root root 9 Jul 21 08:39 wwn-0x5000c500c5d42fb1 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 21 08:39 wwn-0x5000c500c5d42fb1-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 21 08:39 wwn-0x5000c500c5d42fb1-part2 -> ../../sda2

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/fuse /run/user/1000/doc fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/nvme0n1p1 /media/Recovery fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/nvme0n1p4 /media/FAST_ASS fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/nvme0n1p5 / ext4 (rw,relatime,errors=remount-ro)
/dev/sda2 /media/mick/Big Dick Drive fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
 
Old 07-21-2020, 05:52 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,363

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Quote:
I still see the GRUB as boot option
What do you mean by this? Do you have a grub boot menu, or just a grub> grub prompt, or the grub option in the bios boot menu?
 
Old 07-21-2020, 08:20 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,138

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
That listing is about a third of what I expected - if that is all of it, you might need to use a decent liveCD - say systemrescue; or Mint/Fedora/Ubuntu ... almost anything current.
Having an fdisk that can't handle gpt is just unacceptable these days.
 
Old 07-22-2020, 07:30 PM   #11
MickTheRus
LQ Newbie
 
Registered: Jul 2020
Distribution: Elementary OS
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
What do you mean by this? Do you have a grub boot menu, or just a grub> grub prompt, or the grub option in the bios boot menu?
During Bios Boot Menu it has option to boot to Ubuntu (grub) but when i boot to it it just boots to Win10
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Suse syslog redirects to a Windows server sambauser Linux - Server 1 06-06-2008 09:05 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
ICS and 302 redirects don't mix dataangel Linux - Networking 1 08-22-2004 02:36 PM
Linux named domain redirects? Nic-MDKman General 2 02-04-2004 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > elementary OS

All times are GMT -5. The time now is 11:02 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
Open Source Consulting | Domain Registration