LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-17-2015, 12:06 PM   #1
americast
Member
 
Registered: May 2012
Location: Kolkata, India
Distribution: Ubuntu, OpenSUSE
Posts: 91
Blog Entries: 1

Rep: Reputation: Disabled
Unable to install Kubuntu 14.04.1 LTS on UEFI system.


Hi all,
I am trying to install Kubuntu 14.04.1 LTS as the second operating system on an HP Probook (powered by intel core i3). I have disabled secureboot and fastboot from UEFI/BIOS settings. I had created a live image of 'kubuntu-14.04.1-desktop-i386.iso' on a pendrive. The installation went fine. But, the system does not boot into grub. It only boots Windows 8.1 (which came preinstalled).
I had applied the command
Code:
bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi
in command prompt but it bore no fruit. I had created the live usb using Universal USB installer. Any help would be appreciated.

Gramercy...
 
Old 02-17-2015, 01:12 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,226

Rep: Reputation: 994Reputation: 994Reputation: 994Reputation: 994Reputation: 994Reputation: 994Reputation: 994Reputation: 994
I
Quote:
had created a live image of 'kubuntu-14.04.1-desktop-i386.iso' on a pendrive
I think you have to use the 64 bit version for uefi
 
Old 02-17-2015, 03:34 PM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
I just installed Debian on a UEFI system by changing the boot order in BIOS to boot from Debian's UEFI partition then running update-grub as root -- that added Windows's boot loader to GRUB's menu and now I can dual boot.
 
Old 02-17-2015, 07:57 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,559

Rep: Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301Reputation: 3301
Not all uefi systems seem to be standard.

As you mention that the install went OK but then not booting. We need to get more info as to what you see. Why do you say it isn't booting to grub?

Looks like you are trying to chain load grub too. Did you do that originally?
 
Old 02-17-2015, 10:50 PM   #5
americast
Member
 
Registered: May 2012
Location: Kolkata, India
Distribution: Ubuntu, OpenSUSE
Posts: 91

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Thanx to you all...

Quote:
Originally Posted by colorpurple21859 View Post
I I think you have to use the 64 bit version for uefi
The 64 bit version is called "kubuntu-14.04.1-desktop-amd64.iso". I guessed it was for systems having AMD processor. Will it work on Intel 64bit?

Quote:
Originally Posted by jefro View Post
Why do you say it isn't booting to grub?
I mean, grub does not appear during boot. It directly goes into Windows.

Quote:
Originally Posted by 273 View Post
I just installed Debian on a UEFI system by changing the boot order in BIOS to boot from Debian's UEFI partition then running update-grub as root -- that added Windows's boot loader to GRUB's menu and now I can dual boot.
I don't see any such option in BIOS.



Again gramercy...
 
Old 02-18-2015, 02:12 AM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
Quote:
Originally Posted by americast View Post
Thanx to you all...



The 64 bit version is called "kubuntu-14.04.1-desktop-amd64.iso". I guessed it was for systems having AMD processor. Will it work on Intel 64bit?
Yes, AMD64 is the name of the architecture as it was invented by AMD and is cross licensed to Intel in exchange for use of the i386 (32 bit) architecture (put simply).
Quote:
Originally Posted by americast View Post
I don't see any such option in BIOS.
Then the install may not have been correct or, as mentioned, you may need the 64 bit version. Did you use automatic or manual partitioning and were you prompted to create a UEFI partition? You may not find it as easy as I did as I understand that some machines are easier to work with than others but I wouldn't start complicating things and messing with third party tolls until you know you have to.
This talks about some UEFI installation tips:
http://www.linux-magazine.com/Online...I-Boot-Process
I'll try to dig out the page I found which started me on my way also.
 
Old 02-19-2015, 01:51 AM   #7
americast
Member
 
Registered: May 2012
Location: Kolkata, India
Distribution: Ubuntu, OpenSUSE
Posts: 91

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
Yes, AMD64 is the name of the architecture as it was invented by AMD and is cross licensed to Intel in exchange for use of the i386 (32 bit) architecture (put simply).
Tried with amd64. The issue remains the same- installation goes successful but it does boots to Windows when installation process requests a restart. Instead of the installation continuing, Windows comes up.

Here's a screenshot of my disk setup configuration: https://www.dropbox.com/s/1t3sy0mid2...shot1.png?dl=0

I would like to stress on the fact that Ubuntu had requested me to create the biosgrub partition (without mentioning the size) when I had clicked on "Install Now".

Gramercy...
 
Old 02-19-2015, 02:02 AM   #8
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
I can't tell whether that's completely right but it looks like it is. Whne you go into BIOS do you still only see Windows as a choice of partitions to boot from? Is there an option in BIOS to ask it to search for bootable partitions?
 
Old 02-23-2015, 08:41 AM   #9
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20 MATE, MX-19.3, antiX, EndeavourOS
Posts: 3,266
Blog Entries: 17

Rep: Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219
Try using the Kubuntu 14.04 64 bit version with these instructions:

http://www.dedoimedo.com/computers/d...-8-ubuntu.html
 
Old 04-05-2015, 12:45 PM   #10
americast
Member
 
Registered: May 2012
Location: Kolkata, India
Distribution: Ubuntu, OpenSUSE
Posts: 91

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
I tried following the instructions on this website: https://sites.google.com/site/easylinuxtipsproject/6

The issue is I get an error when I try to mount the EFI partition, which I guess is sda2 (see image here: https://www.dropbox.com/s/1t3sy0mid2...shot1.png?dl=0). Here's what I get:

Code:
sudo mount /dev/sda2 /mnt/boot/efi
mount: mount point /mnt/boot/efi does not exist
Also, when I try to reinstall grub, I get an error:

Code:
sudo grub-install /dev/sda
Installing for i386-pc platform.
grub-install: error: failed to get canonical path of `/cow'.
Gramercy...
 
Old 04-05-2015, 02:47 PM   #11
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,226

Rep: Reputation: 994Reputation: 994Reputation: 994Reputation: 994Reputation: 994Reputation: 994Reputation: 994Reputation: 994
Code:
sudo mkdir /mnt/boot/efi
sudo mount /dev/sda2 /mnt/boot/efi
may have to edit your /etc/fstab to add /dev/sda2
Quote:
Installing for i386-pc platform
Are sure your booting in efi mode with kubuntu or into windows in efi mode?

Last edited by colorpurple21859; 04-05-2015 at 02:52 PM.
 
Old 04-05-2015, 05:25 PM   #12
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20 MATE, MX-19.3, antiX, EndeavourOS
Posts: 3,266
Blog Entries: 17

Rep: Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219
americast,

I am assuming that your personal data has already been backed up to an external drive or similar.

From your Dropbox snapshot, your Windows FAT32 (boot) partition is /dev/sda2 and your Kubuntu system installation (ext4) partition is /dev/sda8 (NOT sda2).

This link shows how to correct the situation using chroot, but do make sure that you select sda8:

http://askubuntu.com/questions/88384...alling-windows

Here's how:

1. Boot from the live Ubuntu DVD, select "Try Kubuntu" and access the Terminal.

2. Determine the partition number of your main partition (sda8)

3. Mount your partition:

Code:
sudo mount /dev/sda8 /mnt
Then carry out instructions 4. to 9.
 
1 members found this post helpful.
Old 04-06-2015, 10:54 AM   #13
americast
Member
 
Registered: May 2012
Location: Kolkata, India
Distribution: Ubuntu, OpenSUSE
Posts: 91

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
americast,

I am assuming that your personal data has already been backed up to an external drive or similar.

From your Dropbox snapshot, your Windows FAT32 (boot) partition is /dev/sda2 and your Kubuntu system installation (ext4) partition is /dev/sda8 (NOT sda2).

This link shows how to correct the situation using chroot, but do make sure that you select sda8:

http://askubuntu.com/questions/88384...alling-windows

Here's how:

1. Boot from the live Ubuntu DVD, select "Try Kubuntu" and access the Terminal.

2. Determine the partition number of your main partition (sda8)

3. Mount your partition:

Code:
sudo mount /dev/sda8 /mnt
Then carry out instructions 4. to 9.
Did exactly as you said. Still boots into Windows. Did not get any errors during installation.
 
Old 04-06-2015, 11:20 AM   #14
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20 MATE, MX-19.3, antiX, EndeavourOS
Posts: 3,266
Blog Entries: 17

Rep: Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219
americast,

Well at least there is some improvement with no errors being reported.

I think it is just a matter of correcting Grub.

This procedure is similar to what you have already done but with certain variations:

http://howtoubuntu.org/how-to-repair...ubuntu-live-cd

Last edited by beachboy2; 04-06-2015 at 11:22 AM.
 
Old 04-06-2015, 12:40 PM   #15
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Arch, Void
Posts: 3,621
Blog Entries: 6

Rep: Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261
Just a quick question learned by having the same issue. Do you have anything in the firmware something similar to "allow legacy compatibility"? I had something like that which required being turned off to prompt the installer to actually INSTALL grub-efi, otherwise it wouldn't install grub.
 
  


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
No operating system found after install UEFI? DebianUser Linux - Hardware 5 08-21-2019 06:50 AM
how to PXE install on a remote system (disk - LUN) in Fedora with UEFI Ankit Darsi Fedora 2 09-24-2014 09:27 PM
[SOLVED] unable to install linux 12.04 lts ,dual boot eyesilver Ubuntu 9 12-28-2012 01:55 PM
Trying to install Kubuntu 8.04 LTS on laptop Kernell Panic! issue Lancelot1 Linux - General 1 06-24-2009 10:38 AM
Wine install problem in Kubuntu 6.06 LTS andy-k Linux - Software 5 09-16-2006 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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