DietPi-ramlog and ramdisk fail ( RPI3 :-( )

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Meins321
Posts: 7
Joined: Tue Feb 12, 2019 11:49 am

DietPi-ramlog and ramdisk fail ( RPI3 :-( )

Post by Meins321 »

Hello currently i can NOT boot my dietpi but all the tools are missing from diet-pi :-(

I do have a 3A 5V powersupply from meanwell with a cut MicroUSB cable on it.
No i didn't overclock it! I would like to use it with
MicroSD is a Kingston Industrial 16GB 1U which should be not considered cheap :?

Two Services fail to boot:
RamLog
Ramdisk

Is there any way to repair them in software?
Attachments
df command :-(
df command :-(
midnightwatcher
Posts: 54
Joined: Mon Dec 26, 2016 7:54 am

Re: DietPi-ramlog and ramdisk fail ( RPI3 :-( )

Post by midnightwatcher »

I've been having similar problem also recently (Native PC x86-64) on my Z83, latest 6.21.1 version installed. Something is changing/corrupting fstab, so a reboot results in a broken system if fstab is bad. I did a complete re-install yesterday and within an hour after setting everything back up noticed that fstab was changed again after the attached USB drive for my FTP server was unmounted. I saved a backup of fstab just prior, so I overwrote the bad one and then made fstab read-only. Hopefully this temporary fix works until the root cause is found.

viewtopic.php?f=11&t=5618
Meins321
Posts: 7
Joined: Tue Feb 12, 2019 11:49 am

Re: DietPi-ramlog and ramdisk fail ( RPI3 :-( )

Post by Meins321 »

Is there a repair method if you don't have a fstab backup?

can i take the files from someone else and just overwrite mine if the install is standard dietpi on my rbpi3 with xfce? :(


Is it maybe related to this topic:
Dietpi Services not starting
viewtopic.php?f=11&t=5591


cat /etc/debian_version
returns debian 9.6
midnightwatcher
Posts: 54
Joined: Mon Dec 26, 2016 7:54 am

Re: DietPi-ramlog and ramdisk fail ( RPI3 :-( )

Post by midnightwatcher »

Don't think so, UUIDs will be different on each device.
Meins321
Posts: 7
Joined: Tue Feb 12, 2019 11:49 am

Re: DietPi-ramlog and ramdisk fail ( RPI3 :-( )

Post by Meins321 »

So i can only reinstall including all my software? aww thats bad my gtk development enviroment with ggc is then broken :(
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: DietPi-ramlog and ramdisk fail ( RPI3 :-( )

Post by MichaIng »

@Meins321
Use dietpi-drive_manager 4 to re-create the fstab file based on current mounts. I will as well identify and add the correct UUIDs. But as RAMdisk failed to start, I guess the above fails.

But actually the df you posted looks fine.

Lets check:

Code: Select all

cat /etc/fstab
systemctl status dietpi-ramdisk
cat /var/tmp/dietpi/logs/dietpi-ramdisk.log
And try the following to manually move DietPi code from disk to RAM:
/boot/dietpi/func/dietpi-ramdisk 0
Post Reply