Skip to content

i did a dumb thing can someone help me out

i tried to shrink my / partition and grow another one a bit bigger. gparted told me i could lose data but i was like "whatever" and did it anyway. surprise, now my computer isnt making it to GRUB when i try to boot.

Here is what i have tried so far:

on my arch live usb thingy, i still see all my data like images and videos etc so my data is still intact. Good. so i figure i must just have to reinstall/reconfigure grub and maybe generate a new fstab and it should work. Well, i did that, and it still wont make it to grub. Is there anything i can do to make my laptop boot again that doesnt involve reinstalling?

i know, i know, i shouldnt have tried to piss around with whatever i was trying to accomplish. lesson learned the hard way.

1 points14 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 55% up
Kind
Text
ID
pxsp74

Author

10
posts
56
comments
4
media
View profile

14 comments

Backup your data and start over ;)

5 points

is there really no other way? i get that im dumb here but i really dont wanna have to go through that. Surely if my data is still there then all i need to do is just re configure something that broke when i shrunk and then regrew the partition

0 points

To reiterate what everyone else has said: please backup your data before you try any more methods. Have you tried running fsck on the root partition?

4 points

How are you booting GRUB? If on a UEFI system and you really honestly only adjusted the root partition then neither GRUB nor the ESP would be affected.

What's your output of efibootmgr -uv ? What does "not make it to GRUB" mean exactly? do you get a blackscreen, can you select it from the firmware menu or is it gone from there as well?

3 points

by 'not make it to grub' i mean i see the lenovo splash screen for my laptop, then i get a blank text screen with the text cursor blinking in the top left corner and then nothing happens.

https://imgur.com/a/dVlwBAa here is the output of this command

2 points

Something immediately problematic here. That picture mentions that your GRUB is installed on an MBR disk. Normally actual UEFI support mandates the GPT format.

What's your actual situation here? Post

   fdisk -l
   mount
   cat /boot/grub/grub.cfg

from the chroot with your partitions mounted like you think they should be. Use https://wiki.archlinux.org/title/List_of_applications#Pastebin_services for actual output. Did you accidentally convert your parititon table to MBR from GPT? Which commands did you use to reinstall GRUB?

5 points

if i manually intervene while booting and get to the boot menu, GRUB is listed but selecting it does nothing and just returns me to the boot menu

2 points

Did you tried to re-install linux package from pacman? Grub needs some image files (dont know what they are called) to boot. Linux package installs some files in there, maybe they are corrupted

2 points

i didnt think of this, i will try it and tell you what happened in the next paragraph.

I went back into my arch live usb stick, remounted my partitions and installed linux, base, and linux-firmware with the pacstrap command. then i used arch-chroot to go in and regenerate the grub config with grub-mkconfig -o /boot/grub/grub.cfg.

i then tried to reboot, and i still arrive on a blank text screen with the cursor blinking..

I then tried to go into my arch-chroot again and this time reinstall grub, use grub-install again, made the config file again, exited chroot, regenerated my fstab, and still when i try to boot i am at the blinking screen.

Unfortunately this didnt work but thank you for the suggestion!

2 points

subsequently after that i went in again and reinstalled every package on my system. Still no success :(

1 points

Does the computer use EFI or is it still using a legacy boot? You might of somehow change the active boot partition or messed up your EFI partition.

Also now might be a good time to switch to btrfs. Then you don't have to worry about partition sizes because you have one btrfs partition and several sub-volumes.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.