LinuxQuestions.org
Review your favorite Linux distribution.
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 11-11-2016, 12:59 PM   #1
Joost Schelvis
LQ Newbie
 
Registered: Nov 2016
Posts: 5

Rep: Reputation: Disabled
No bootable device


Hello All,

I have bought an Acer Aspire E15 with Linpus Linux pre installed. Now I cannot do much with this, so I created a disk with Linux Mint 18 Sarah (Cinnamon) and tried to install it on the new laptop. Everything seemd to be going fine until at the end when the program asked me to remove the disk and start up the laptop again.

The only thing that happened when I started it up again was a message appearing saying:
NO BOOTABLE DEVICE

And that was it. Cannot do anything anymore, apart from if I put the CD back in I can work on the Linux mint from the disk, but that is not really what I wanted.

Does anyone have any idea on how I can solve this problem?
Thank you very much in advance
 
Old 11-11-2016, 01:41 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 9,979

Rep: Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329
After booting the Mint DVD to install, did you change the boot priority in the BIOS back to boot from the hard drive?
 
Old 11-11-2016, 02:29 PM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 6,892
Blog Entries: 17

Rep: Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135
And did you check that you have grub properly installed? You say it's a new laptop. Does it use a BIOS or a UEFI chip? If it's a UEFI, there will be a EFI system partition which you can mount on /boot/efi when booted from the CD, and check whether there is a grub bootloader file in there.
 
1 members found this post helpful.
Old 11-11-2016, 02:29 PM   #4
Joost Schelvis
LQ Newbie
 
Registered: Nov 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
No I probably did not. What should I do now?
 
Old 11-11-2016, 02:31 PM   #5
Joost Schelvis
LQ Newbie
 
Registered: Nov 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hazel

Sorry but I am a newbie here and pretty much on linux so could you explain a bit more please?
 
Old 11-11-2016, 03:08 PM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 6,892
Blog Entries: 17

Rep: Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135
It can be done but it's tricky. Basically, you need to boot from your CD, mount the hard drive to make it accessible and "chroot" i.e. change your root file system from the CD to the hard drive. Then you can install grub just as if you'd booted from the hard drive to begin with.

Let's break that down. To mount the hard drive, you open a terminal and use the mount command.
Code:
mount -t ext4 /dev/sda2 /mnt
I'm assuming your new system is installed on the second partition of your hard drive with the EFI system partition on sda1. If that isn't so, change sda2 as appropriate. The "-t ext4" bit tells mount what kind of filesystem you've got on that partition and /mnt is just a convenient directory to mount it on.

You also need to set up some special dynamic directories. Here is some code to do it, adapted from the Linux From Scratch book.
Code:
mount -v --bind /dev /mnt/dev
mount -vt proc proc /mnt/proc
mount -vt sysfs sysfs /mnt/sys
mount -vt tmpfs tmpfs /mnt/run
It's a good idea to list /mnt/dev and /mnt/proc at this point to ensure that they are fully populated with files. Then:
Code:
mount -t vfat /dev/sda1 /mnt/boot/efi
This assumes that sda1 is your EFI system partition. Check at this point that it is mounted as required.
Finally chroot:
Code:
chroot /mnt
This will cause /mnt to become your new root partition /. Then:
Code:
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
If I were you, I'd do it in stages and check each stage for success before going on to the next. Remember nothing irreversible happens until you do the grub-install. Don't do that until you're sure you've got the other steps right. You're not in a hurry, are you?
 
1 members found this post helpful.
Old 11-11-2016, 07:33 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,696

Rep: Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582
Does it boot to dvd still?
 
Old 11-12-2016, 10:21 AM   #8
Joost Schelvis
LQ Newbie
 
Registered: Nov 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Sorry for the late reply

The main problem is that I cannot open a terminal on this laptop. I can either have the CD in and start up linux via that....or, I get the message No bootable device and can't do anything.
Thanks for all the help though.
And no, I am not in a hurry.
 
Old 11-12-2016, 11:05 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 6,892
Blog Entries: 17

Rep: Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135Reputation: 4135
Quote:
Originally Posted by Joost Schelvis View Post
Sorry for the late reply

The main problem is that I cannot open a terminal on this laptop. I can either have the CD in and start up linux via that....or, I get the message No bootable device and can't do anything.
Thanks for all the help though.
And no, I am not in a hurry.
I assume that booting from the CD takes you to a graphical desktop. From here, you can simply open a terminal using the desktop menu.

An alternative that sometimes works is to press ctrl+alt+F1. This will take you to a text console, but you will have to log in there. There may be instructions on what name and password to use. For example, the AntiX installation disk provides a console login prompt which tells you to log in as root with password "root". I suspect Mint will be less helpful as it's targeted at newbies, so you might prefer to just open a graphical terminal.
 
Old 11-12-2016, 02:03 PM   #10
Joost Schelvis
LQ Newbie
 
Registered: Nov 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
And how do I open the graphical terminal? Because it asked for login (I typed root) and then it asked for password, butI have no idea what that might be.
 
Old 11-12-2016, 04:46 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 9,979

Rep: Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329
Booting a Mint DVD should not show you a login page but just boot directly to the Desktop without any password. Try hitting the enter key leaving the password blank.
 
  


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 bootable device 7250-0209 model aab70 killapriest LinuxQuestions.org Member Intro 1 11-29-2015 09:06 PM
Solaris 11 -- Bootable USB device with existing Grml Sebi94 Solaris / OpenSolaris 1 08-02-2012 02:56 PM
copy the IMG to the USB device and make it bootable cccc Debian 2 02-01-2011 01:11 PM
What makes my usb device bootable? alaios Linux - Hardware 20 04-30-2009 07:40 AM
boot pc from a bootable-iso without a cd or usb-device psytroll Linux - General 1 02-23-2006 01:27 PM

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

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