You are not logged in.

#1 2021-12-11 14:02:53

Flika1999
Member
Registered: 2021-12-11
Posts: 2

error: attempt to read or write outside of partition

I went to wake up my laptop from sleep, and the screen wouldn't come back on.  I rebooted it by holding the power button and selected Arch from the grub menu and got this:

Loading Linux Linux ... 
error: attempt to read or write outside of partition.
Loading initial ramdisk ...
error: you need to load the kernel first.

What do I need to do to fix this?
I installed with archinstall if that makes any difference.

Offline

#2 2021-12-11 14:53:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,162

Re: error: attempt to read or write outside of partition

Boot the installation iso, arch-chroot into the installed system, don't forget to mount the /boot partition, re-install the kernel, make sure the initramfs hooks are triggered.

I went to wake up my laptop from sleep, and the screen wouldn't come back on.  I rebooted it

So to be sure, the system has booted fine before?

As for a potential cause, if you have a parallel windows installation, see the 3rd link below.

Online

#3 2021-12-12 18:42:08

Flika1999
Member
Registered: 2021-12-11
Posts: 2

Re: error: attempt to read or write outside of partition

seth wrote:

Boot the installation iso, arch-chroot into the installed system, don't forget to mount the /boot partition, re-install the kernel, make sure the initramfs hooks are triggered.

I went to wake up my laptop from sleep, and the screen wouldn't come back on.  I rebooted it

So to be sure, the system has booted fine before?

As for a potential cause, if you have a parallel windows installation, see the 3rd link below.

What commands do I need to enter after booting into the installation media? I don't know how to do the stuff you mentioned.

Offline

#4 2021-12-12 20:16:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,162

Re: error: attempt to read or write outside of partition

I don't know how to do the stuff you mentioned.

I installed with archinstall if that makes any difference.

*sigh*

So do what you should have done anyway and see https://wiki.archlinux.org/title/Installation_guide because chrooting is good to know and you're not be running arch for long if you don't know how to install packages or mounting partitions.
There's also a good chance that the install script underscaled the boot partition (there were some threads w/ this happening) so maybe consider this as an opportunity to start over - this time installing the system in a way where you actually have a grasp on what you're facing.

Online

Board footer

Powered by FluxBB