[SOLVED] win7 no longer booting after installed endea linux. need help in undo or recover win7 os
Linux - NewbieThis 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
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.
win7 no longer booting after installed endea linux. need help in undo or recover win7 os
Hii,
I was trying to install linux endea lxqt along side with win7 hdd.
My hardware is legacy bios boot capable only. no efi
1 hdd preinstalled with win7.
Partitioning scheme is MBR
1st partition is 100MB ntfs Boot reversed partition
2nd partition is nftf win7
3rd partition is fat32 Boot mountpoint /boot/efi
4th partition ext4 /root
5th partition swap
I thought it can be easily fix with supergrub, which i used before, it does amazing work. but this time supergrub said it is in efi can't do mbr... or sort of .. hence no way to load windows partition. I suppose MBR has being redirected to /boot/efi bootloader instead a previous win boot loader.
The images in your initial post clearly show you have selected and EFI install of your Linux while the windows is not EFI. The Grub bootloader won't boot a Legacy install of windows if Grub is EFI. I don't beleive that a default windows can boot any Linux EFI. There are different solutions to this but since you got your windows back, it doesn't matter.
If you decide to try this again, you might do a little research on compatibility of UEFI/Legacy installs with windows/Linux.
Are you able to boot edea after following the tutorial?
I will have to try again.
After the last post, i have did a lot of trial.. i tried many time.. and read a bit..
I said my laptop don't have EFI.. this laptop was purchased in germany 5 to 6 years ago at around 400 euro (not newest model, hence cheap price), fujitsu a series
There is no EFI mentioned in bios setting.
But there is CSM on/ off button.
And legacy mode on/off for usb plug stick.
Someone told this it was about this time the EFI came to market..
These mixed info made me reconsider what i said ... maybe my laptop do have EFI feature after all.. someone pointed out to me that if not EFI , why then have CSM ? hmm.. *something to ponder about*
I have redo the dual boot installation, 2 more times (a total of 3 times already so far), each time a bit different (to experiment it out), and resulting windows no longer bootable.. i have to do the same repair as shown in the youtube to fix it.
bit weird; you say it's legacy bios, no efi, yet you have efi partitions in there.
Yes, i did quite a lot of asking, reading, testing...
I have become clear what EFI and legacy stuff , understand more as before.
The /boot/efi partition was made in according to the instruction of kalamares during installation.. kalamares asked me to do so, else i will not able to boot up after installation.. hence i did according.. that time i was not that clear of the whole efi and legacy thing.. just follow half blindly..
Until now, i still don't know how to disable efi in my bios setting..
I redo my iso boot usb with the latest endea iso version from github, used lastest version of rufus.. specifically ask it to burn in mbr mode.. did another installtion .. still not working.
when installation, kalamares still tells me my system is in EFI mode and my hdd is in MBR (win7 preinstalled hdd)..
I created 1 primary partition ext4 for "/" , 1 logical ext4 for "/home" and 1 more swap.
During installtion, i flagged the "/" partition as legacy bios boot.. at the end of the linux installation, linux and windows both can't boot up..
hence i used "recovery boot iso" to repair the boot sector back to win7 and create a win7 boot menu.
Then at laptop boot up, there is a boot menu (win7 boot menu style), which i can boot into win7, but not linux (most likely due to no "/boot/efi" folder.
I am so fed up that i was looking for forensis app, trying to disect boot sector to modify the address to boot loader, in the same time do more reading on how these legacy and efi read the boot sector info to boot an os.. oh! so despair.. but not die yet. i will try more.. because there are more info coming in from you guys. Thx
The images in your initial post clearly show you have selected and EFI install of your Linux while the windows is not EFI. The Grub bootloader won't boot a Legacy install of windows if Grub is EFI. I don't beleive that a default windows can boot any Linux EFI. There are different solutions to this but since you got your windows back, it doesn't matter.
If you decide to try this again, you might do a little research on compatibility of UEFI/Legacy installs with windows/Linux.
Can you pls share the "solution" with me. because i want to gather all available info to understand, to make it work.
With the option to turn csm on and off your system is uefi. Windows 7 normally is not setup to boot in efi mode on a uefi system, but instead in csm mode. The grub bootloader boot code needs to be installed in the mode that windows is installed in order to boot windows with grub.
A linux system that is installed in uefi mode, henceforth the grub bootloader installed in uefi mode can easily install grub in csm mode. The other way around takes al little more work
The existence/nonexistence of /sys/firmware/efi what mode linux is booted in.
Last edited by colorpurple21859; 12-29-2020 at 08:49 AM.
My win7 was installed thru liveusb.. the iso i have downloaded from their windows website. i just plugged it in and installed win7.. i have no idea what it uses...
Code:
UEFI classes
UEFI machines can have one of the following "classes", which were used to help ease the transition to UEFI.
Class 0: Legacy BIOS
Class 1: UEFI in CSM-only mode (i.e. no UEFI booting)
Class 2: UEFI with CSM
I think my laptop is either class 1 or class 2. I don't know how to disable uefi.. That's the big problem.
According to the method of checking legacy bios / efi mode of win7 from itsfoss .. my windows7 is indeed running on legacy bios boot mode.
That does not answered why kalamares shows my system is in EFI instead of legacy bios.
Last night, some one told me could be
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.