What is "regernerate-all" file in /home/user ?
Hi, openSUSE TW 20241213 Question: what is this file for and should it remain? -rw-------. 1 root root 68M Oct 6 15:29 regenerate-all in /home/paul - I see it has possibly something to do with initrd (bootloader)? -Thanks
On 2024-12-16 00:52, -pj wrote:
Hi, openSUSE TW 20241213 Question: what is this file for and should it remain? -rw-------. 1 root root 68M Oct 6 15:29 regenerate-all in /home/paul - I see it has possibly something to do with initrd (bootloader)?
In home? I don't think so. Maybe some extraneous file from some script that writes to the current directory. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On 2024-12-16 00:52, -pj wrote:
Hi, openSUSE TW 20241213 Question: what is this file for and should it remain? -rw-------. 1 root root 68M Oct 6 15:29 regenerate-all in /home/paul - I see it has possibly something to do with initrd (bootloader)?
You haven't been able to run dracut and something went wrong at Oct 6 15:29? dracut has an option --regenerate-all If you run "dracut regenerate-all" you will get a file with the name regenerate-all in $CWD that is about the same size as your file. -- /bengan
On 12-17-2024 02:04AM, Bengt Gördén wrote:
On 2024-12-16 00:52, -pj wrote:
Hi, openSUSE TW 20241213 Question: what is this file for and should it remain? -rw-------. 1 root root 68M Oct 6 15:29 regenerate-all in /home/paul - I see it has possibly something to do with initrd (bootloader)?
You haven't been able to run dracut and something went wrong at Oct 6 15:29?
dracut has an option --regenerate-all
If you run "dracut regenerate-all" you will get a file with the name regenerate-all in $CWD that is about the same size as your file.
Thank you for your responses, I have run '# dracut -regenerate-all --force' a few times today/yesterday because of kernel parameter usage with the RX550 video card setup. hmm, it's able to be deleted then I believe? Thank you and seasons best🫥
On 2024-12-17 10:25, -pj wrote:
Thank you for your responses, I have run '# dracut -regenerate-all --force' a few times today/yesterday because of kernel parameter usage with the RX550 video card setup. hmm, it's able to be deleted then I believe?
I would think so. You can always do a "sudo file regenerate-all" to see what it is. I assume it's a cpio archive so you should be able to list it. with KDE and since it's owned by root and has -rw------- a sudo/kdesu first. kdesu ark regenerate-all or from cli sudo cpio -civt < regenerate-all
Thank you and seasons best🫥
Same to you. regards, -- /bengan
On 12-17-2024 05:33AM, Bengt Gördén wrote:
On 2024-12-17 10:25, -pj wrote:
Thank you for your responses, I have run '# dracut -regenerate-all --force' a few times today/yesterday because of kernel parameter usage with the RX550 video card setup. hmm, it's able to be deleted then I believe?
I would think so.
You can always do a "sudo file regenerate-all" to see what it is.
Passing > /home/paul # file regenerate-all regenerate-all: ASCII cpio archive (SVR4 with no CRC)
I assume it's a cpio archive so you should be able to list it.
with KDE and since it's owned by root and has -rw------- a sudo/kdesu first.
kdesu ark regenerate-all
/home/paul # kdesu ark regenerate-all kf.kio.widgets: Failed to check which JobView API is supported "The name is not activatable" A GUI window tagged > regenerate-all -- ARK < then displays. Contents of screenshot located here > https://paste.opensuse.org/pastes/ea61c3050e59
or from cli sudo cpio -civt < regenerate-all
The CLI way shows: /home/paul # cpio -civt < regenerate-all drwxr-xr-x 2 root root 0 Sep 13 08:27 . -rw-r--r-- 1 root root 2 Sep 13 08:27 early_cpio drwxr-xr-x 2 root root 0 Sep 13 08:27 kernel drwxr-xr-x 2 root root 0 Sep 13 08:27 kernel/x86 drwxr-xr-x 2 root root 0 Sep 13 08:27 kernel/x86/microcode -rw-r--r-- 1 root root 24576 Sep 13 08:27 kernel/x86/microcode/GenuineIntel.bin 50 blocks I see the wikipedia page here > https://en.wikipedia.org/wiki/Cpio Note: originally intended as a tape archiving program. So cpio is an important archive tool. If a disaster occurs this file can be used to build initrd again?
Thank you and seasons best🫥
Same to you.
regards,
Thank you
On 12-17-2024 02:04AM, Bengt Gördén wrote:
On 2024-12-16 00:52, -pj wrote:
Hi, openSUSE TW 20241213 Question: what is this file for and should it remain? -rw-------. 1 root root 68M Oct 6 15:29 regenerate-all in /home/paul - I see it has possibly something to do with initrd (bootloader)?
You haven't been able to run dracut and something went wrong at Oct 6 15:29?
I have run/passed: dracut --regenerate-all --force A few times on 12-16-24
dracut has an option --regenerate-all
I am aware.
If you run "dracut regenerate-all" you will get a file with the name regenerate-all in $CWD that is about the same size as your file.
Can you tell me how to access and find what is in "$CWD"?
-Thanks for this help.
participants (3)
-
-pj
-
Bengt Gördén
-
Carlos E. R.