Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Actually was using a dual boot "Windows 10 / Ubuntu 16.04 LTS" on my laptop. I wanted to delete Ubuntu (in order to reinstall it), so I deleted the Linux's partitions without repairing the MBR (so a beginner's mistake). I have the classical error message:
"error : no such partition
Entering rescue mode ...
grub rescue >"
Now, I can't even run a LiveCD or a LiveUSB with Ubuntu or Win10 on it to repair the MBR (tried the drivers on other laptops though, they can run). Any Any clue can be helpful for me in order to repair the MBR.
I can also format my SSD because I carefully saved my data before doing this.
Did you install both windows 10 and Ubuntu yourself? If windows 10, was pre-installed, it was almost certainly using EFI. The methods to repair your problem will vary depending upon whether you were using EFI or MBR to boot. That would be the first bit of information that would be useful.
In your situation, there would be no reason whatsoever to delete the partition to re-install Ubuntu. All you would have had to do is re-install to the same partition(s) on which it was previously installed and formatted. Most of the Grub bootloader files are on the Ubuntu partition, the one you deleted which is why you have this problem.
So post back which type (EFI/MBR) you are using. Also, you inability to access the BIOS is unrelated to deleting the Ubuntu files. You need to further explore boot options in the BIOS. If you aren't familiar with this, post information on your hardware, specifically the manufacaturer and someone should be able to help.
Thank you for your answer.
I installed Win10 and Ubuntu myself so I guess I use MBR (or at least I used to use it before installing ubuntu on dual boot and booting with Grub).
I tried to check some settings in the BIOS. The only one relevant is the starting mode : I disabled secure booting and tried to run with both UEFI and CSM modes.
-CSM: I got the "grub rescue" error (see above).
-UEFI: He check media, fail then print an error message "No bookable device -- Please restart again".
Do you have other settings in mind that I should check ?
Anyway, the Pc I'm using is a Toshiba Satellite C55-A-19D.
just boot your live USB and re / install Linux on the same partitions they used to be on, reinstall grub as usual and you be ok.
You can skip that delete Linux first step. all you have to do is boot into a LIVE to install Linux then in the install process check to format that partition getting rid of the previous install and installing a fresh OS.
just boot your live USB and re / install Linux on the same partitions they used to be on, reinstall grub as usual and you be ok.
You can skip that delete Linux first step. all you have to do is boot into a LIVE to install Linux then in the install process check to format that partition getting rid of the previous install and installing a fresh OS.
Thank you for your answer.
It's kind of too late right now.
I can't run OS (Ubuntu, Win10, SG2D)on any media (removable or hard disk).
The problem is obviously not the hard drive because I can't run liveCD and liveUSB. Anyone have any clue to help me localise the problem? (The error looks like a MBR problem).
Is it possible to repair the MBR on the hard disk with connecting it for example on another computer with a SATA adaptator ?
Thank you for your answer.
It's kind of too late right now.
I can't run OS (Ubuntu, Win10, SG2D)on any media (removable or hard disk).
The problem is obviously not the hard drive because I can't run liveCD and liveUSB. Anyone have any clue to help me localise the problem? (The error looks like a MBR problem).Attachment 23535
Is it possible to repair the MBR on the hard disk with connecting it for example on another computer with a SATA adaptator ?
you got a go hard core, and use your BIOS to boot your media now. Me doing this, I'd hopefull have a ISO already burned into a USB Stick. Plug it into my USB Port, turn on my laptop, hit the proper key(s) needed to have BIOS select that USB Port with my Live Linux version to install on it. then it will use that USB Stick with same on it to boot, then go though the entire process of installing Linux onto that "missing" partition that is still there, just not able to be seen by that install of grub.
that would be my first thing to do. I hope that helped.
for them that know GRUB (2) their is a way to tell grub what hard disk and partition it is on, something like this but I do not know the actual syntax
Code:
(hd0,1) root=where ever it is at, mount ro
hd0 is the first hard drive, 1 is the second partition. it is an array count, or Zero-based numbering that always starts with zero as the first number.
Thanks for your answer.
I'm very familiar with the BIOS and I already tried this, tried also several boot modes (UEFI, CMS). However, I still can't run any media.
in the rescue mode, when I try ls, I have this partitions:
(hd0) (hd0,1) (hd0,2) (hd0,3). What are these exactly ?
I will try to find the correct syntax to boot on (hd0,1).
Thanks for your answer.
I'm very familiar with the BIOS and I already tried this, tried also several boot modes (UEFI, CMS). However, I still can't run any media.
in the rescue mode, when I try ls, I have this partitions:
(hd0) (hd0,1) (hd0,2) (hd0,3). What are these exactly ?
I will try to find the correct syntax to boot on (hd0,1).
you have to remember exactly where you installed it or try process of elimination.
you only have 4 to try.
as far a BIOS that has me puzzled. how did you use BIOS with your USB Stick in the first place to get into this mess?
Actually I don't know what (hd0) (hd0,1) (hd0,2) (hd0,3) refers to. Can you help me with this? Maybe it will help to remember where I installed it.
Is it possible to try every single one of them, or it will be problematic if I fail the first try?
Thank you.
Oh thanks, I will try it and then give you a feed back, even if I'm a little bit perplex because actually I deleted the Linux parts, so I need to boot on Windows.
Actually I don't know what (hd0) (hd0,1) (hd0,2) (hd0,3) refers to. Can you help me with this? Maybe it will help to remember where I installed it.
Is it possible to try every single one of them, or it will be problematic if I fail the first try?
Thank you.
I explained what they meant in my prior post, they are the locations to hard drives and their respective partitions using the zero numbering system, where zero is the first number in that scheme.
read this and fully understand it. This will tell you everything you need to know to get into where you want to be.
Oh thanks, I will try it and then give you a feed back, even if I'm a little bit perplex because actually I deleted the Linux parts, so I need to boot on Windows.
are you sure you even have a good working bootale USB Stick with Linux to install from it still?
if you have to fix that MBR to get into Windows for whatever reason. You are going to need a WINDOWS boot/install or rescue disk to do that.
whatever system you are using right now to get to the internet, if it is not your phone, you can try to create another USB Stick too. and see if that might be your booting with BIOS problem. lets not rule that out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.