Keep restarting after expand the space

Hi. the OpenWRT I installed after expanding the whole space of the hdd it's just keep restarting every 3 second. Because it doesn't find the root partition, I don't know for sure.


I have screen shot to see it.
here is the specific of my computer:
hp elitedesk 800 g1 (year product 2013)
motherboard hp8299
ram: 8 gigabyte
hdd 500 gigabyte Seagate
cpu: intel core i5 4590 4 cores
------------------------------------------------------------------------
the version of OpenWRT is: 23.05.4

the error is in your screenshot.

fix your keyboard, to make it stop writing in bold.

how was this done ?

can u help?
i cant fix it when its keep restarting

can you answer the question ?

1 Like

Please remove boldened formatting.

Did you follow every step?

https://openwrt.org/docs/guide-user/advanced/expand_root

How do you expand storage space when most storage is a fixed physical item?
Please post ubus call system board from before resizing.
If you need to salvage any data boot the likes if ubuntu or fedora livecd and copy files out.

kind of tricky at the moment, unless OP owns a time machine :wink:

openwrt off a flash drive would work too.

I ran a few commands. ا
here:
opkg update

opkg install parted losetup resize2fs

wget -U "" -O expand-root.sh "https://openwrt.org/_export/code/docs/guide-user/advanced/expand_root?codeblock=0"

. ./expand-root.sh

sh /etc/uci-defaults/70-rootpt-resize

tried the 2nd option in the grub boot menu ?

was this a squashfs install ?

What is in the CD drive?

I went with the automated method, which is fast.
no i didnt tried the grub boot

nothing in the cd drive

1GB sized nothing is being indicated.

Which file you installed (efi/bios/sqash/geode/64/potato) ?

file i installd is 64

Bios efi squash combined ext5 carrot ?

The file name you downloaded and copied to a disk.

generic-ext4-combined.img.gz

2 Likes

write the same image to a flash drive, and boot it.

if your device have internet access, do opkg update; opkg install resize2fs then try doing resize2fs /dev/sda2.

might want to install fdisk too, and check the partition table.

1 Like

Okay, I'll try.
Thanks for the advice.

Looks like the uuid does not match what GRUB is configured for.

I usually add a data partition as sda3 in the extra space on the drive and leave the basic OpenWrt rootfs at default size.

2 Likes

OP could do root=/dev/sda2 in grub, but error message actually lists sda2.

I was able to give it more space.
One of you said to use the tool in Ubuntu, which is what I did.
I was able to increase the amount of space using the Diskpart tool in Ubuntu, and I removed it without copying the files. There was no problem, but there is still a risk without copying.