LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-17-2022, 02:27 AM   #1
AsadtheMonster
LQ Newbie
 
Registered: Jan 2022
Posts: 2

Rep: Reputation: 0
Welcome to grub rescue!. Error: attempt to read or write outside of partition


I was installing windows 10 on laptop ( kali linux was installed) and then laptop shut down ( due to battery down) i plug charging cable and turn on the laptop, all i see this grub window.
Saying : error " attempt to read or write outside of partition"

Pls help me 🥺😭
 
Old 01-17-2022, 02:45 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,878
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
No kind of installation should be attempted when there's any known likelihood of a power outage prior to completion. Thus a laptop should be connected to its charger soon if not before beginning an installation.

Boot your Kali live media and attempt a "repair" of your Kali installation. Very likely Windows installation has at least started some repartitioning that has damaged your Kali installation. "Repair" might require reinstalling Kali afresh. It's hard to say anything more because you didn't explain what, if anything, you did to prepare for installing Windows, including showing here the partitioning in place when you started Windows installation.
 
Old 01-17-2022, 09:29 AM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,396

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
After finishing installing windows, use live media to restore grub bootloader if your kept kali installed.
 
Old 01-17-2022, 11:29 PM   #4
AsadtheMonster
LQ Newbie
 
Registered: Jan 2022
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mrmazda View Post
No kind of installation should be attempted when there's any known likelihood of a power outage prior to completion. Thus a laptop should be connected to its charger soon if not before beginning an installation.

Boot your Kali live media and attempt a "repair" of your Kali installation. Very likely Windows installation has at least started some repartitioning that has damaged your Kali installation. "Repair" might require reinstalling Kali afresh. It's hard to say anything more because you didn't explain what, if anything, you did to prepare for installing Windows, including showing here the partitioning in place when you started Windows installation.
"Sorry my English is not good!"

Bios setup is not opening instead i am facing grub terminal. During installation of windows i also deleted all other partition.
Anyway thanks for for your help. If you'll find anything helpful or you know kindly help me.
 
Old 01-17-2022, 11:51 PM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,878
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
If only Windows is installed, and it is the last installed operating system, then you need to boot Windows installation media to perform repair of your Windows installation. Something must have gone wrong with your Windows installation to cause Grub instead of Windows to appear when you boot.

Help for this, if needed, should come from elsewhere, as you seem to have a Windows problem, not a Linux problem.

If your PC uses UEFI, then the fix might be as simple as entering BIOS setup to delete the Linux boot entry, and/or move the Windows entry to the top of the list.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: attempt to read or write outside of partition Libelula Linux - Software 2 11-29-2019 03:57 PM
[SOLVED] error: attempt to read or write outside partition viv_linux Linux - Newbie 1 11-21-2014 09:43 AM
[SOLVED] error: attempt to read or write outside of disk 'hd0' -- entering rescue mode vienswuer Linux - Distributions 4 09-16-2014 11:00 PM
Error: attempt to read or write outside of disk 'hd0' Entering rescue mode . . . grub lynyl Ubuntu 3 08-05-2014 11:11 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration