Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

When i try to boot into linux it gives me a grub menu

So i dual booted linux and windows on my main ssd i made 2 partitions one for linux the other for windows they look like this:

Casssssspture.PNG.f186f2460b19f27573c82c48f73f1d8f.PNG

 

OS SSD is windows and the 100 gig partition is linux

and when i boot into linux i get this:
20210201_121919.thumb.jpg.b9bfd74a168c40d4b1e4ead0cc3a99fa.jpg

 

Is there anything i can do about this

Link to post
Share on other sites

You can try fixing your grub configuration with a chroot but it would be simpler to reinstall Linux. What probably happened is that a windows update overwrote your boot partition, which tends to happen when you dual boot on the same drive.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

What is scaling and how does it work? Asus PB287Q unboxing! Console alternatives :D Watch Netflix with Kodi on Arch Linux Sharing folders over the internet using SSH Beginner's Guide To LTT (by iamdarkyoshi)

Sauron'stm Product Scores:

Spoiler

Just a list of my personal scores for some products, in no particular order, with brief comments. I just got the idea to do them so they aren't many for now :)

Don't take these as complete reviews or final truths - they are just my personal impressions on products I may or may not have used, summed up in a couple of sentences and a rough score. All scores take into account the unit's price and time of release, heavily so, therefore don't expect absolute performance to be reflected here.

 

-Lenovo Thinkpad X220 - [8/10]

Spoiler

A durable and reliable machine that is relatively lightweight, has all the hardware it needs to never feel sluggish and has a great IPS matte screen. Downsides are mostly due to its age, most notably the screen resolution of 1366x768 and usb 2.0 ports.

 

-Apple Macbook (2015) - [Garbage -/10]

Spoiler

From my perspective, this product has no redeeming factors given its price and the competition. It is underpowered, overpriced, impractical due to its single port and is made redundant even by Apple's own iPad pro line.

 

-OnePlus X - [7/10]

Spoiler

A good phone for the price. It does everything I (and most people) need without being sluggish and has no particularly bad flaws. The lack of recent software updates and relatively barebones feature kit (most notably the lack of 5GHz wifi, biometric sensors and backlight for the capacitive buttons) prevent it from being exceptional.

 

-Microsoft Surface Book 2 - [Garbage - -/10]

Spoiler

Overpriced and rushed, offers nothing notable compared to the competition, doesn't come with an adequate charger despite the premium price. Worse than the Macbook for not even offering the small plus sides of having macOS. Buy a Razer Blade if you want high performance in a (relatively) light package.

 

-Intel Core i7 2600/k - [9/10]

Spoiler

Quite possibly Intel's best product launch ever. It had all the bleeding edge features of the time, it came with a very significant performance improvement over its predecessor and it had a soldered heatspreader, allowing for efficient cooling and great overclocking. Even the "locked" version could be overclocked through the multiplier within (quite reasonable) limits.

 

-Apple iPad Pro - [5/10]

Spoiler

A pretty good product, sunk by its price (plus the extra cost of the physical keyboard and the pencil). Buy it if you don't mind the Apple tax and are looking for a very light office machine with an excellent digitizer. Particularly good for rich students. Bad for cheap tinkerers like myself.

 

 

Link to post
Share on other sites
4 minutes ago, Sauron said:

You can try fixing your grub configuration with a chroot but it would be simpler to reinstall Linux. What probably happened is that a windows update overwrote your boot partition, which tends to happen when you dual boot on the same drive.

i didnt touch windows for a while now and im thinking about reinstalling linux but how can i access the partitions files i want to copy the home folder

Link to post
Share on other sites
2 minutes ago, ShemBane said:

i didnt touch windows for a while now and im thinking about reinstalling linux but how can i access the partitions files i want to copy the home folder

You can mount the partition in a live usb and copy the files elsewhere

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

What is scaling and how does it work? Asus PB287Q unboxing! Console alternatives :D Watch Netflix with Kodi on Arch Linux Sharing folders over the internet using SSH Beginner's Guide To LTT (by iamdarkyoshi)

Sauron'stm Product Scores:

Spoiler

Just a list of my personal scores for some products, in no particular order, with brief comments. I just got the idea to do them so they aren't many for now :)

Don't take these as complete reviews or final truths - they are just my personal impressions on products I may or may not have used, summed up in a couple of sentences and a rough score. All scores take into account the unit's price and time of release, heavily so, therefore don't expect absolute performance to be reflected here.

 

-Lenovo Thinkpad X220 - [8/10]

Spoiler

A durable and reliable machine that is relatively lightweight, has all the hardware it needs to never feel sluggish and has a great IPS matte screen. Downsides are mostly due to its age, most notably the screen resolution of 1366x768 and usb 2.0 ports.

 

-Apple Macbook (2015) - [Garbage -/10]

Spoiler

From my perspective, this product has no redeeming factors given its price and the competition. It is underpowered, overpriced, impractical due to its single port and is made redundant even by Apple's own iPad pro line.

 

-OnePlus X - [7/10]

Spoiler

A good phone for the price. It does everything I (and most people) need without being sluggish and has no particularly bad flaws. The lack of recent software updates and relatively barebones feature kit (most notably the lack of 5GHz wifi, biometric sensors and backlight for the capacitive buttons) prevent it from being exceptional.

 

-Microsoft Surface Book 2 - [Garbage - -/10]

Spoiler

Overpriced and rushed, offers nothing notable compared to the competition, doesn't come with an adequate charger despite the premium price. Worse than the Macbook for not even offering the small plus sides of having macOS. Buy a Razer Blade if you want high performance in a (relatively) light package.

 

-Intel Core i7 2600/k - [9/10]

Spoiler

Quite possibly Intel's best product launch ever. It had all the bleeding edge features of the time, it came with a very significant performance improvement over its predecessor and it had a soldered heatspreader, allowing for efficient cooling and great overclocking. Even the "locked" version could be overclocked through the multiplier within (quite reasonable) limits.

 

-Apple iPad Pro - [5/10]

Spoiler

A pretty good product, sunk by its price (plus the extra cost of the physical keyboard and the pencil). Buy it if you don't mind the Apple tax and are looking for a very light office machine with an excellent digitizer. Particularly good for rich students. Bad for cheap tinkerers like myself.

 

 

Link to post
Share on other sites
Just now, Sauron said:

You can mount the partition in a live usb and copy the files elsewhere

ok but if i copy the home folder to another install of linux do you think that would work or would i have to reinstall everything again?

Link to post
Share on other sites
2 minutes ago, ShemBane said:

ok but if i copy the home folder to another install of linux do you think that would work or would i have to reinstall everything again?

It should work, just make sure to include the hidden folders (with names starting in .)

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

What is scaling and how does it work? Asus PB287Q unboxing! Console alternatives :D Watch Netflix with Kodi on Arch Linux Sharing folders over the internet using SSH Beginner's Guide To LTT (by iamdarkyoshi)

Sauron'stm Product Scores:

Spoiler

Just a list of my personal scores for some products, in no particular order, with brief comments. I just got the idea to do them so they aren't many for now :)

Don't take these as complete reviews or final truths - they are just my personal impressions on products I may or may not have used, summed up in a couple of sentences and a rough score. All scores take into account the unit's price and time of release, heavily so, therefore don't expect absolute performance to be reflected here.

 

-Lenovo Thinkpad X220 - [8/10]

Spoiler

A durable and reliable machine that is relatively lightweight, has all the hardware it needs to never feel sluggish and has a great IPS matte screen. Downsides are mostly due to its age, most notably the screen resolution of 1366x768 and usb 2.0 ports.

 

-Apple Macbook (2015) - [Garbage -/10]

Spoiler

From my perspective, this product has no redeeming factors given its price and the competition. It is underpowered, overpriced, impractical due to its single port and is made redundant even by Apple's own iPad pro line.

 

-OnePlus X - [7/10]

Spoiler

A good phone for the price. It does everything I (and most people) need without being sluggish and has no particularly bad flaws. The lack of recent software updates and relatively barebones feature kit (most notably the lack of 5GHz wifi, biometric sensors and backlight for the capacitive buttons) prevent it from being exceptional.

 

-Microsoft Surface Book 2 - [Garbage - -/10]

Spoiler

Overpriced and rushed, offers nothing notable compared to the competition, doesn't come with an adequate charger despite the premium price. Worse than the Macbook for not even offering the small plus sides of having macOS. Buy a Razer Blade if you want high performance in a (relatively) light package.

 

-Intel Core i7 2600/k - [9/10]

Spoiler

Quite possibly Intel's best product launch ever. It had all the bleeding edge features of the time, it came with a very significant performance improvement over its predecessor and it had a soldered heatspreader, allowing for efficient cooling and great overclocking. Even the "locked" version could be overclocked through the multiplier within (quite reasonable) limits.

 

-Apple iPad Pro - [5/10]

Spoiler

A pretty good product, sunk by its price (plus the extra cost of the physical keyboard and the pencil). Buy it if you don't mind the Apple tax and are looking for a very light office machine with an excellent digitizer. Particularly good for rich students. Bad for cheap tinkerers like myself.

 

 

Link to post
Share on other sites
15 minutes ago, ShemBane said:

i didnt touch windows for a while now and im thinking about reinstalling linux but how can i access the partitions files i want to copy the home folder

Try reinstalling with another drive, much simpler to manage.

Windows will not try to "fix" anything with the boot loader.

Ryzen 2600x @ 4.2ghz all cores | Asrock B450M Steel Legend | Radeon RX580 | 4x Samsung 8gb d-die 2133 @ 3200mhz | 500gb Samsung PM981a | 5 TB HDD | Hyper 212 classic w/ 2 delta 4000rpm push pull | Antec Neo Eco Zen 500w

Link to post
Share on other sites
26 minutes ago, Sauron said:

It should work, just make sure to include the hidden folders (with names starting in .)

Ok im just going to reinstall then

Link to post
Share on other sites
On 2/1/2021 at 6:17 AM, ShemBane said:

ok but if i copy the home folder to another install of linux do you think that would work or would i have to reinstall everything again?

This is why a) you never dual-boot with Windows and Linux on the same physical drive, and more importantly b) you ALWAYS keep /home on a separate partition. Make sure you do that next time. 

Link to post
Share on other sites

(sigh) this is still an issue with current Windowses? I though people haven't needed to deal with this kind of S**** since the UEFI booting came along. I only thought windowses overwrote MBRs (and in the very early days of UEFI though they were the only OS in the EFI, but that could have also been buggy/half-***ed UEFI implementations).

 

Anyways, in this kind of situation grub has booted properly but it can not find it's configuration file. There are (at least) two places where it can reside in:

  1. in grub's dedicated folder "grub" in the root of EFI (I believe this is a bit non-standard but tolerated by UEFIs), or
  2. in the Linux installations dedicated boot partition or (more often these days) the root partition (and no dedicated boot part)

So Windowses are (just deleting) the grub folder from the EFI partition?!?? Unacceptable! People should file antitrust lawsuits against Microsoft, and also lawsuits for damaging their H/W (installations) / deleting data without users consent. No OS has anything to do within the EFI partition save their own entries (unless the user specifically uses an application to make changes).

 

TBH there are other reasons grub may not find the config file (for example: many grub installations in EFI, one of them from a previous installation, and their priorities got shuffled for some reason, and the old one is now looking in the wrong place for the configuration).

In case it still has found it's file system modules, you may be able to load the configuration file manually. The command line has a kind of tab-completion, so you may be able to figure it out. Try 'ls' and 'configfile (hdX,X)/grub/grub.cfg' (obviously fill in in the X's and the path appropriately for your system with the help of tab-completion and this page). That way you may once boot into your Linux OS, and if successful, it is then only a matter of manually re-installing grub. EDIT: You can even manually load in a Kernel and boot it, but that is a bit more involved but not hugely difficult process, either.
 

EDIT: You could also check from your BIOS menus if there are many Linux/grub entries in there, and boot a non-default one. This can happen if you have had installed previously some other Linux, or updated a distributions major version but the installation/upgrade failed halfway. If the configuration file for grub exists (and it is a matter of wrong grub instance being set as default), re-adjusting the EFI entries priorities from Linux is quite simple with efibootmgr - or you can also do it from BIOS (actually, this is probably easier).

 

YMMV, re-installation may be easier for you.

Edited by Wild Penquin
minor clarifications, TYPOs... and then some more
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Newegg

×