LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-15-2016, 01:15 PM   #1
wepopew
LQ Newbie
 
Registered: Dec 2015
Posts: 10

Rep: Reputation: Disabled
Unhappy Stuck on "Loading Operating System ..." Message when booting any linux distro


Background
  • The reason I'm asking this on Linux Questions is because this isn't a problem when I boot windows 7, only Linux distros.
  • I have tried many distros through live USB and many of them worked flawlessly.
  • Yet whenever I install linux on a Hard drive (Both internal and external) and boot it gets stuck on "Loading Operating System ..."
    (not "Error Loading Operating system")
  • I noticed that when I boot Windows it also says "Loading Operating System..." but only for half a second, afterwards or proceeds to show the startup animation. When booting linux it gets stuck indefinitely.
  • I want to switch to linux but I'm stuck on windows because of this annoying bug
  • I've tried installing Debian, Mint, Pinguy OS and Apricity OS all with the same results.

Relevant info:
  • Processor:Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
  • MOBO: GigaByte Z68P-DS3
  • BIOS: ACRSYS - 42302e31
  • Operating System: Microsoft Windows 7 Ultimate Edition 64-Bit
  • Graphic Card: NVIDIA GeForce GTX 560ti


Thanks for your help!
 
Old 01-15-2016, 01:41 PM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,707
Blog Entries: 2

Rep: Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157
What computer, maybe UEFI secure boot and did you install GRUB?
 
Old 01-15-2016, 01:42 PM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 18.3 MATE, Solus 3 MATE, antiX-17, MX-17.1
Posts: 2,407
Blog Entries: 10

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
wepopew,

Welcome to LQ.

Make yourself a Boot-Repair CD or a live USB drive and then boot from it:
https://help.ubuntu.com/community/Boot-Repair

Carry out the Recommended Repair.

More info:
https://help.ubuntu.com/community/Boot-Repair
 
1 members found this post helpful.
Old 01-15-2016, 02:27 PM   #4
wepopew
LQ Newbie
 
Registered: Dec 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
What computer, maybe UEFI secure boot and did you install GRUB?
I checked and according to this method http://kb.parallels.com/en/115815 I have BIOS

From what I understood, GRUB is installed automatically when I install a new Linux distro, right?

Quote:
wepopew,

Welcome to LQ.

Make yourself a Boot-Repair CD or a live USB drive and then boot from it:
https://help.ubuntu.com/community/Boot-Repair

Carry out the Recommended Repair.
Thanks I'll try it. I'll post results When I'm done



Some more info

I installed Linux on a brand new external Hard drive and booted from there. I initially thought the external hard drive was the problem so I borrowed an internal Hard drive from a friend and installed linux on it and booted it. I also tried partitioning my windows drive and installing linux on a second partition. My computer completely ignored the linux partition and booted straight into windows without asking me anything.
 
Old 01-15-2016, 02:45 PM   #5
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,707
Blog Entries: 2

Rep: Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157Reputation: 1157
Quote:
Originally Posted by wepopew View Post
...
From what I understood, GRUB is installed automatically when I install a new Linux distro, right?
...
With some of those distros definitely... but, you may run into issue depending on where it gets installed e.g: not default "master boot record" (MBR) on the internal drive?

http://ubuntuforums.org/showthread.php?t=1903015

beachboy2 links maybe right on.
 
1 members found this post helpful.
Old 01-15-2016, 04:01 PM   #6
wepopew
LQ Newbie
 
Registered: Dec 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Well, I'm quite stumped.

I'm uploading shots from my phone
 
Old 01-15-2016, 04:05 PM   #7
wepopew
LQ Newbie
 
Registered: Dec 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Image is too big so I'm putting it on a cloud
https://mega.nz/#!H4B2kboS!yT2t7c1uU...-i-2EFnrOnXx8k
 
Old 01-15-2016, 05:37 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 16,967

Rep: Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564
Quote:
Originally Posted by wepopew View Post
I installed Linux on a brand new external Hard drive and booted from there. I initially thought the external hard drive was the problem so I borrowed an internal Hard drive from a friend and installed linux on it and booted it. I also tried partitioning my windows drive and installing linux on a second partition. My computer completely ignored the linux partition and booted straight into windows without asking me anything.
You might want to check the BIOS options for "boot virus protection" or similar. That will stop grub installing to the MBR, and even though Linux may install ok, you'll only get to it from a chroot.
Boot up a Linux liveCD/install disk and go here and download and run the script. It'll create a file RESULTS.txt which will show us the boot layout of your system as-is with the internal Linux install (not your data, just the system layout). You'll need to be able to use a terminal in Linux.
 
Old 01-15-2016, 05:42 PM   #9
wepopew
LQ Newbie
 
Registered: Dec 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
I think I solved the problem

I tried installing Ubuntu (even though I don't want Ubuntu) and it really failed installing GRUB. But only with Ubuntu did boot repair actually work. It fixed GRUB.

Now that I knew GRUB was the problem I did some research on GRUB. Turns out that /boot/efi needs its own partition and it has to be in FAT32. Why on earth installers don't do this automatically is beyond me. This fixed Ubuntu but the same technique doesn't work with Debian for some reason.


It's very late and I have to sleep so I'll work on it tomorrow.

Thank you beachboy and jamison for your help!
 
Old 01-15-2016, 05:45 PM   #10
wepopew
LQ Newbie
 
Registered: Dec 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
You might want to check the BIOS options for "boot virus protection" or similar. That will stop grub installing to the MBR, and even though Linux may install ok, you'll only get to it from a chroot.
Boot up a Linux liveCD/install disk and go here and download and run the script. It'll create a file RESULTS.txt which will show us the boot layout of your system as-is with the internal Linux install (not your data, just the system layout). You'll need to be able to use a terminal in Linux.
That may very well be the case!

I'll look into it tomorrow. IDK how to run a script.
 
Old 01-15-2016, 06:18 PM   #11
wepopew
LQ Newbie
 
Registered: Dec 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
You might want to check the BIOS options for "boot virus protection" or similar. That will stop grub installing to the MBR, and even though Linux may install ok, you'll only get to it from a chroot.
Boot up a Linux liveCD/install disk and go here and download and run the script. It'll create a file RESULTS.txt which will show us the boot layout of your system as-is with the internal Linux install (not your data, just the system layout). You'll need to be able to use a terminal in Linux.
I figured it out and ran the script on a live version of Debian

Here's the result http://pastebin.com/8DB8SKg9
 
Old 01-15-2016, 07:20 PM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,019

Rep: Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571Reputation: 1571
The boot repair output shows that you have no bootloader in the MBR of sda which looks like a 1tb drive. Not sure how that boots. There is no EFI partition on that drive but it looks like there might be one on sdc where you tried to install Ubuntu, the 698GB drive. It shows sdc1 as a FAT32 partition and the only reason that would be the case is UEFI. If you install one system UEFI, they all need to be UEFI although I'm not sure that is necessary with multiple drives. If windows had been installed UEFI, you would have an EFI partition on sda which you don't.

I'd delete the partitions on sdc and format them before or during the install with whichever distribution you want and make sure you do not boot in EFI mode so that you can install to the MBR of sdc. Your output also doesn't look complete and the boot files generally shown for any Linux partition do not show.
 
2 members found this post helpful.
Old 01-16-2016, 01:54 AM   #13
wepopew
LQ Newbie
 
Registered: Dec 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
The boot repair output shows that you have no bootloader in the MBR of sda which looks like a 1tb drive. Not sure how that boots. There is no EFI partition on that drive but it looks like there might be one on sdc where you tried to install Ubuntu, the 698GB drive. It shows sdc1 as a FAT32 partition and the only reason that would be the case is UEFI. If you install one system UEFI, they all need to be UEFI although I'm not sure that is necessary with multiple drives. If windows had been installed UEFI, you would have an EFI partition on sda which you don't.

I'd delete the partitions on sdc and format them before or during the install with whichever distribution you want and make sure you do not boot in EFI mode so that you can install to the MBR of sdc. Your output also doesn't look complete and the boot files generally shown for any Linux partition do not show.
I've checked setupact, msinfo32 and both methods say that I don't have UEFI http://kb.parallels.com/en/115815

Does this mean I have a rootkit?

The terrabyte drive is empty, It's the internal HDD I used for testing (at first I thought the problem happened because I installed linux on an external HDD. Installing it on an internal one didn't make any difference.

As for the 698GB drive, it was my attempt to install Debian. I manually made a partition of /boot/efi in the FAT32 format on the beginning of the disk (Because doing so made Ubuntu and Apricity OS install properly). However on Debian this didn't work at all, after I partitioned and clicked continue on the installer I got an error message (It was late last night, I don't recall what it was) and I had to abort the installation.

So it wasn't the installer which created those files.
 
Old 01-16-2016, 02:15 AM   #14
wepopew
LQ Newbie
 
Registered: Dec 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Now I tried to install debian again, this time letting the Debian installer partition automatically.
I got the error
"Failed to create file system
The ext4 file system creation in partition #1 of SCSI5 (0,0,0) (sdc) failed."

I'm really worried I have a rootkit or something, is there another explanation?
 
Old 01-16-2016, 03:40 AM   #15
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 18.3 MATE, Solus 3 MATE, antiX-17, MX-17.1
Posts: 2,407
Blog Entries: 10

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
wepopew,

Your problem is not related to a rootkit.

I suggest that you follow yancek's advice on post #12.

Also have a close look at this article on dual-booting W7 and Linux:

http://www.dedoimedo.com/computers/d...7-xubuntu.html

I have lost count of the number of posts on LQ about dual-booting.

It is one of the most common requests for help.

Maybe there should be a gigantic "sticky" on dual-booting somewhere?

Maybe there is one already?

Off to search for it.
 
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
IMAP Mail: thunderbird stuck on "Loading Message" screen, in windows, outlooks works. xmrkite Linux - Software 7 02-27-2013 05:51 AM
"Error loading operating system" upon first reboot after install Unforgiver Linux - Newbie 4 01-03-2012 03:42 AM
[SOLVED] booting stuck at "Loading linux24......" pintooo15 DamnSmallLinux 2 08-08-2008 01:19 PM
'boot from first harddisk' > "error loading operating system" username132 Linux - Distributions 1 05-02-2007 04:19 PM
"Error loading operating system" in WinXP dual boot saskee Ubuntu 1 02-03-2006 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:23 AM.

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