View previous topic :: View next topic |
Author |
Message |
Zyntax n00b
Joined: 07 Aug 2020 Posts: 11
|
Posted: Thu Dec 28, 2023 8:36 pm Post subject: [SOLVED] Ran out of disk space, now Gentoo won't boot |
|
|
So I accidentally ran out of disk space in root (I wasn't paying attention) and when I rebooted, Gentoo will no longer boot and I just go straight to a BIOS screen. BIOS does see the gentoo partition still to boot but the boot is so fast I can't catch any error that might be thrown before it hits the BIOS screen. I tried hitting keys to hold the GRUB menu open but I don't think it's even getting to that part because I can usually hold that open under normal circumstances if needed.
I booted off a livecd and got into my root partition and freed up about 200GB, but that didn't fix it. I then went back in and mounted root and my boot partition and did a "grub2-mkconfig" to reinstall my boot partition (in case that was the issue) which showed an expected output with no errors and that still didn't fix it.
At this point I'm not sure what else to try. I don't think Gentoo has any kind of fancy "repair" feature so I'm looking for assistance as I've never run into this issue before.
Pertinent /etc/fstab looks as follows - nothing fancy here.
/dev/nvme0n1p1 /boot/EFI
/dev/nvme0n1p2 /
Thanks in advance.
Last edited by Zyntax on Thu Dec 28, 2023 10:20 pm; edited 1 time in total |
|
Back to top |
|
|
sublogic Apprentice
Joined: 21 Mar 2022 Posts: 222 Location: Pennsylvania, USA
|
Posted: Thu Dec 28, 2023 10:06 pm Post subject: Re: Ran out of disk space, now Gentoo won't boot |
|
|
Zyntax wrote: | So I accidentally ran out of disk space in root (I wasn't paying attention) and when I rebooted, Gentoo will no longer boot and I just go straight to a BIOS screen. BIOS does see the gentoo partition still to boot but the boot is so fast I can't catch any error that might be thrown before it hits the BIOS screen. I tried hitting keys to hold the GRUB menu open but I don't think it's even getting to that part because I can usually hold that open under normal circumstances if needed. |
Are you saying that grub is crashing before even showing the grub menu ?
Quote: | I booted off a livecd and got into my root partition and freed up about 200GB, but that didn't fix it. I then went back in and mounted root and my boot partition and did a "grub2-mkconfig" to reinstall my boot partition (in case that was the issue) which showed an expected output with no errors and that still didn't fix it. |
If it's the bootloader (grub) that's broken, you should probably re-run grub-install .
(I don't see how a full disk would crash grub. Could it be a coincidence ? ) |
|
Back to top |
|
|
Zyntax n00b
Joined: 07 Aug 2020 Posts: 11
|
Posted: Thu Dec 28, 2023 10:21 pm Post subject: Re: Ran out of disk space, now Gentoo won't boot |
|
|
sublogic wrote: | Zyntax wrote: | So I accidentally ran out of disk space in root (I wasn't paying attention) and when I rebooted, Gentoo will no longer boot and I just go straight to a BIOS screen. BIOS does see the gentoo partition still to boot but the boot is so fast I can't catch any error that might be thrown before it hits the BIOS screen. I tried hitting keys to hold the GRUB menu open but I don't think it's even getting to that part because I can usually hold that open under normal circumstances if needed. |
Are you saying that grub is crashing before even showing the grub menu ?
Quote: | I booted off a livecd and got into my root partition and freed up about 200GB, but that didn't fix it. I then went back in and mounted root and my boot partition and did a "grub2-mkconfig" to reinstall my boot partition (in case that was the issue) which showed an expected output with no errors and that still didn't fix it. |
If it's the bootloader (grub) that's broken, you should probably re-run grub-install .
(I don't see how a full disk would crash grub. Could it be a coincidence ? ) |
grub-install fixed it. Thanks!
Yeah apparently running out of space borked grub! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|