r/linux4noobs • • 4d ago

my double boot all lost

Post image

so I wanted to boot my windows but it wont boot how many times I tried then I decided to install new windows which i downloaded from my Linux after follow instructions on ai it becameike this. now I have lost both Linux and most importantly my windows

6 Upvotes

21 comments sorted by

4

u/FunJackfruit1659 3d ago

It's not lost, do you have the live usb you used to install Linux still? (Assuming you used one)

It should be a fairly easy fix and not take long. (assuming you already know how)

I'm bad at helping explain stuff, but I can try if you want

1

u/Itsnade150206 3d ago

the live USB had been installed windows

2

u/h4rdw00d_ 3d ago

Go into the BIOS, switch the boot order to load windows (should be obvious in the options/order)

The question is whether you completely removed windows through the installation process of Linux and what you did when installing.

If you have the USB that has the Linux installer, re-run it. It should be fine.

If it doesn't work again, take the USB to a friend's, download a different version of the distro that would be compatible or use a different distro altogether. Or go to a library and do the same thing.

Or follow the users advice to check the grub config.

1

u/Itsnade150206 3d ago

it's in the part where I cant boot to windows at all. I had no solution left so I was so tired then I thought about installing a new windows thinking that it would solve the problem and here i am

6

u/A_Harmless_Fly Manjaro 3d ago edited 3d ago

Ouch, I remember how much it stings learning not to run commands I didn't 100% understand. I know how you feel. (pit in the stomach)

Windows after linux on the same drive will overwrite your boot sector. You can chroot in with a flashdrive to rescue your linux system if you didn't overwrite the root partition during the windows install.

Now you know why people suggest a second drive if you are going to dual boot, and timeshift backups.

I'd suggest you live boot, then check what's on your laptops drive, and backup whatever is still there that you want on a disk or a flash drive or something else like google drive etc. Then go on from there without the chance of losing something, maybe get an external drive if you want to dual boot.

P.S. When you ask an AI, add "Explain what every command does, be verbose" to the end of the question. They will gaslight you if the prompt is too vague or if the AI doesn't have high quality training material on the subject. It's a lot harder for them to do that if they have to show their work. If I had a dollar for every time I've read "You are absolutely right, doing ____ would give you bad results" when I point out a flawed response I'd be able to afford better hardware.

9

u/Flashy-Guava9952 3d ago

so I wanted to boot my windows

See that's your mistake right there!

4

u/musingofrandomness 3d ago

The grub prompt gives you some basic options. It calls devices by a different name (hd0) or similar if memory serves. Partitions are something like (hd0,0) for the first partition. Assuming you just have a corrupted grub config this can be easily fixed. You can use something along the lines of "ls (hd0,1) to see what files live where and then, if you still get a menu and not just a prompt, you can hit "e" to edit the boot menu item and correct the mistaken pointer.

1

u/3grg 3d ago

You may not have lost anything other than the boot loader. Try booting from SuperGrub2 Disk and see what is still there. If you can boot the Linux install, sudo update-grub and sudo grub-install /dev/disk with efi partition usually fixes grub. That's all I can say as you did not provide any details.

1

u/Itsnade150206 2d ago

there is nothing i can do. can't go to Linux and windows how am I supposed to do the command would u mind if I dm u

3

u/AmbassadorsWife 3d ago

all lost

after follow instructions on AI

Good!

-6

u/Nicolas30129 3d ago

This attitude here is precisely why Linux will never reach high adoption.

Why are you happy that OP failed after using AI ? Because he didn't suffer like you did learning linux ? He doesn't deserve to use linux ? Only "real ones" should be able to use linux ?

7

u/AmbassadorsWife 3d ago edited 3d ago

Why are you happy that OP failed after using AI

Because it will be a good lesson for them maybe not to randomly follow AI instructions.

It has nothing to do with Linux or being "better" than someone else or anything like that.

5

u/Sheepherder-Optimal 3d ago

The issue isn’t utilizing AI. It’s blindly following advice.

6

u/AmbassadorsWife 3d ago

Yes indeed.

2

u/h4rdw00d_ 3d ago

It would be easy for so many of us who know how to use Linux to open a shop of used laptops and PCs that provides installing the desired OS distro and configuring it for a person and charging a fee.

Windows/MacOS users just go to the store and buy a setup laptop/pc.

The reality is it isn't hard to install Linux, but a lot of people just want it to work immediately so they skip reading and understanding.

I think there are just too many people who need handholding or don't have the patience to learn. My first install didn't work, I worked through it - not that hard.

1

u/AmbassadorsWife 3d ago

Part of the problem is people going around saying that Linux is awesome and you should install Linux.

I love Linux and I use it but I don't recommend it to anyone except for specific cases. I know that most people will be unhappy with it and will end up going back to Windows.

2

u/ungabunga-engineer Endeavour Astronaut 3d ago

people downvoting you but you are absolutely right imo. if you have to follow AI instructions blindly Linux is not for you, if you aren't technically literate AT ALL Linux is not for you. if you want your PC to "just work" outsode web browsing like you expect it to, l-Linux is not for you. if you in any way shape or form expect Linux to be like Windows and then set yourself up for dissapointment when it is indeed not Windows..then Linux isn't for you.

I get we all wanna see wider spread adoption but it isn't there yet and the platform can come as far as it needs to it won't matter if people approach it with the wrong head

1

u/AmbassadorsWife 3d ago

Yes, trying to push Linux to people who don't care for it is a waste of time.

1

u/Confident_Hyena2506 3d ago

This will keep happening if you wipe the efi partition, which holds the bootloaders for both os.

Your real data is probably still there, assuming you didn't wipe other partitions as well.

Read about how efi boot works if you want to maintain dualboot system without surprises like this.

1

u/Efficient-Sea-92 5h ago

#1 rule when dualbooting: Always use separate drives for Linux / Windows.

Windows has tendancy to mess with the Linux install and its partitions if they co-exist with eachother. And always install Windows first, then Linux.

-2

u/jerrywas_olds 3d ago

Search r/neckbeard jkjk but should exist (arch fuckers). Any Linux community should take you down the rabbit hole