Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For a while, windows 8.1 have been living side by side with Fedora 23 on my Lenovo Yoga 2 pro laptop. Grub (EFI mode) was in charge of the boot, allowing me to select between Fedora and Windows.
One day, Window has decided to upgrade itself to version 10 (WITHOUT my confirmation, how rude!).
Even since installation was done, I'm unable to boot into fedora. Powering up the laptop, I get an error "Minimal BASH-like line editing is supported...." with the "grub>" prompt. Typing "exit", I get the built-in laptop boot menu selection, where I can select "Windows Boot manager" - which brings up Windows 10, or "Fedora" which brings back the grub menu.
I can boot the laptop with a live CD, but I am not sure how to run grub-mkconfig in this configuration.
Appreciate any help you can provide.
Thanks.
Last edited by yaniv_s; 04-05-2016 at 02:45 AM.
Reason: Issue is solved, changed the title
One day, Window has decided to upgrade itself to version 10 (WITHOUT my confirmation, how rude!).
Even since installation was done, I'm unable to boot into fedora. Powering up the laptop, I get an error "Minimal BASH-like line editing is supported...." with the "grub>" prompt. Typing "exit", I get the built-in laptop boot menu selection, where I can select "Windows Boot manager" - which brings up Windows 10, or "Fedora" which brings back the grub menu.
M$ Window 10 is designed to deny dual booting with Linux OS's. You can disable the Secure Boot only via Window 10 running(!) first. However the UEFI can easily manage dual booting (with Linux) if only Windows 7 (easy) or Windows 8 (some workaround) is present.
Quote:
I can boot the laptop with a live CD, but I am not sure how to run grub-mkconfig in this configuration.
I have tried switch off secure boot at windows 10 but ridiculously the machine will not boot to the HDD anymore, except to DVD drive and only that. I have recently bought two units (netbook & laptop) each with windows 10 pre-installed, I gave up, it was time wasting for me to hack only for microsoft foolishness --I returned the units to the seller, I did not waste time installing either 8 or 7.
If you can downgrade to windows 7 you can still dual boot with ease. Or if you can do away with it stop dual booting with microsoft windows. Young linux users have that consternation to abandon an old practice, but it pays to jump into the water once and learn to swim sooner. You have good helpers in LQ
Please don't be discouraged. There surely is a workaround. I recently bought an HP Pavilion. It had Windows 8.1 and I installed Slackware 14.1 side-by-side. I upgraded to Windows 10 two weeks ago and luckily everything continued to work fine. This is because Windows upgraded its boot loader found on the EFI partition (/EFI/Microsoft/Boot/bootmgfw.efi) but, LUCKILY, didn't touch the /EFI/grub/bootx64.efi found there.
For Fedora, I learnt that it is a little more complicated as Fedora places several other files in addition to the efi binary.
Since the grub command line shows up, it probably means that grub is still found there and is working. So, you can try to repair your grub.cfg by chrooting into your fedora installation from the live CD and run grub-mkconfig:
Boot your live CD and create a mount point for your Fedora partition and mount it:
Code:
mkdir /mnt/fedora
mount -t TYPE /dev/sdaX /mnt/fedora
You should replace TYPE by the type of filesystem you have on your Fedora partition (e.g. ext3, ext4 ...). And you should replace the X (in /dev/sdaX) by the correct partition number. Then, mount the EFI partition at /mnt/fedora/boot
Code:
mount -t vfat /dev/sdaY /mnt/fedora/boot
Again, you will have to replace the Y in /dev/sdaY with the correct number corresponding to your EFI partition's number.
Then, chroot into the /mnt/fedora, which will become your new /, where you can run grub-mkconfig and other commands to repair the grub, just as if you had booted into your Fedora.
aragorn2101, thank you so much for you reply. I managed to solved this issue, slightly different than what you described.
After loading from liveCD and mounting the two partitions like you described, I failed to run the chroot command. It reported error on "+h", treating it as a file which doesn't exist.
I looked into /mnt/fedora/boot/efi/EFI/fedora/ to find that grub.cfg is corrupted, and luckily I found a grub.cfg.backup which I previously created when playing with windows 8.1 dual boot.
Renamed the backup instead of grub.cfg and that solved it. Now I can boot into both Windows 10 and Fedora 23.
M$ Window 10 is designed to deny dual booting with Linux OS's. You can disable the Secure Boot only via Window 10 running(!) first. However the UEFI can easily manage dual booting (with Linux) if only Windows 7 (easy) or Windows 8 (some workaround) is present.
I have tried switch off secure boot at windows 10 but ridiculously the machine will not boot to the HDD anymore, except to DVD drive and only that. I have recently bought two units (netbook & laptop) each with windows 10 pre-installed, I gave up, it was time wasting for me to hack only for microsoft foolishness --I returned the units to the seller, I did not waste time installing either 8 or 7.
If you can downgrade to windows 7 you can still dual boot with ease. Or if you can do away with it stop dual booting with microsoft windows. Young linux users have that consternation to abandon an old practice, but it pays to jump into the water once and learn to swim sooner. You have good helpers in LQ
Hope that helps.
m.m
My computer is now running Fedora 23 side by side with Windows 10, so indeed this can be done.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.