LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-16-2014, 08:27 PM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,122

Rep: Reputation: 73
UEFI and install linux


I want to install Ubuntu 14.04. I have a Toshiba laptop with Win 8. It will not boot from the usb stick. I want a dual boot. I do not want to wipe out Win, mainly because it is not my computer.

I can change the UEFI to CSM. That will let Ubuntu install from the usb, but Win 8 will not be included in the grub boot screen.

How to get Ubu 14.04 installed with dual boot? Apparently the problem is UEFI which seems not to want to share the boot. Microsoft trying for a monopoly again??
 
Old 06-16-2014, 08:44 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,410

Rep: Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598
how did you create the usb stick? This tells how to make a bootable usb stick using windows. http://www.ubuntu.com/download/deskt...ick-on-windows You will also most likely need to disable secure boot. Free up some hard drive space by shinking windows before installing. Then at the partition stage of installation I believe there is an option to use free space for installation, or install along side, but not sure. Above all else make sure you have a backup plan just in case windows gets nuked.
edit: There should be an option to boot usb from the efi menu, will have to hit either esc or one of the f keys.

Last edited by colorpurple21859; 06-16-2014 at 08:47 PM.
 
Old 06-16-2014, 08:53 PM   #3
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,122

Original Poster
Rep: Reputation: 73
The usb stick was made by Ubuntu's own usb stick creator.

Actually, I already tried. Windows is still there, but not present in the grub boot screen. I am not the only one with this problem. Just reading up on UEFI I saw this in Wikipedia:

Secure boot is supported by Windows 8, Windows Server 2012, and a number of Linux distributions including Fedora, OpenSuse, and Ubuntu.

This is not true. Unless I disable secure boot, th machine just boots from Win 8.
 
Old 06-16-2014, 09:13 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Did you see these pages yet?

https://wiki.ubuntu.com/USBStickUEFIHowto

https://help.ubuntu.com/community/UEFI

https://help.ubuntu.com/community/UEFIBooting

An alternate would be to install to the usb as if it were a real hard drive as opposed to a usb creator.
 
Old 06-17-2014, 05:36 AM   #5
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,122

Original Poster
Rep: Reputation: 73
Thanks for that. I messed with my friends Toshiba today. Ubuntu starts fine. The boot mode for Ubuntu is CSM. If I enter the bios and change the settings in tab 'Advanced' to boot mode = UEFI and in the tab 'Security' (I think, can't remember right now) set secure boot = enabled, Windows boots. So both systems are up and running and in good condition.

The trick now is, get them both in the grub boot.

I'm thinking of a new install using this: https://wiki.ubuntu.com/USBStickUEFIHowto from your link.

But the first stumbling block is, I can't find usb.img. Not on my computer, not on the usb stick. What are they talking about? Is the page out of date??
 
Old 06-17-2014, 05:44 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,410

Rep: Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598
you can try to
Quote:
chainload Windows by adding a suitable entry to /etc/grub.d/40_custom and then doing a sudo update-grub. An entry might look something like this:

menuentry "Windows 8" {
set root='(hd0,gpt1)'
chainloader /EFI/microsoft/BOOT/bootmgfw.efi
}
Found this suggestion by from various web sites.
 
Old 06-17-2014, 03:55 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
In the first part of that page a statement was used that had the phrase "usb.img" or "/path/to/usb.img". I'll have to assume they really mean the original file you downloaded. They could have made that better.

The file you have is a hybrid file. In a normal sense it is a cd image. It has also been modified to be usable in some usb direct installs by dd or other bit by bit copy.
 
Old 06-17-2014, 05:09 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,928
Blog Entries: 45

Rep: Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160
Moderator Response

Moved: This thread is more suitable in <Ubuntu> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 06-17-2014, 06:12 PM   #9
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,122

Original Poster
Rep: Reputation: 73
@Jefro: In Ubuntu, there is no file to download. Just call up Startup Disk Creator, put in a usb stick, and it creates the bootable drive. I don't know how it does that. I could download an iso image and follow the instructions in the link. Is that what they mean? But then to get that on the stick and bootable, well I'm not an expert at this!

@ colorpurple: Thanks for the tip, I will try that, see what happens!!
 
Old 06-17-2014, 09:41 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Then you need a live image. Either take the cd/dvd that you have and make an iso or get a new file.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu13.10 HP laptop install. UEFI/graphics problem ? 0men Linux - Newbie 1 01-05-2014 12:40 PM
slackware uefi gpt install porphyry5 Slackware - Installation 18 09-18-2013 04:06 PM
Help Creating UEFI A MENU For My Bootable (BIOS/UEFI) CDROM ssenuta Linux - Hardware 0 08-27-2012 09:11 PM
UEFI vs. BIOS install - Which one should I choose? tauro_kpo Linux - Hardware 4 08-16-2012 04:31 AM

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

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