fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Tue May 26, 2015 12:07 pm

DougieLawson wrote:
edtjlun wrote:Thanks for your help, I changed the file and rebooted and now I got ipv6 working. I think that ipv6 should be enabled by default or at least pointed out during install with a "enable ipv6" question
Exactly. I have no idea why it's been disabled.
This is my failure in lack of documentation for listing all of DietPi's optimizations.

The only reason ipv6 is disabled is due to performance:
  • - Loading the extra ipv6 kernel module requires more resources (cpu time /memory usage).
    - Using IPv6 in most software requires an additional setting to be enabled in the config file. By doing this, that peice of software will then use additional resources. In effect, you can end up with a spiral of small (but additional) resources needed to do the same task.
    - IPv6 uses a much larger header size which increases latency on most networks (ipv6=40 bytes, ipv4=20 bytes).
I'll look at adding IPv6 as an optional installation choice in the future.
In terms of IPv6 vs IPv4 general performance, you may wish to read this research paper http://www.caida.org/workshops/isma/120 ... 2_acox.pdf
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

edtjlun
Posts: 10
Joined: Thu May 21, 2015 12:18 pm

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Tue May 26, 2015 12:55 pm

fourdee4d wrote:
DougieLawson wrote:
edtjlun wrote:Thanks for your help, I changed the file and rebooted and now I got ipv6 working. I think that ipv6 should be enabled by default or at least pointed out during install with a "enable ipv6" question
Exactly. I have no idea why it's been disabled.
This is my failure in lack of documentation for listing all of DietPi's optimizations.

The only reason ipv6 is disabled is due to performance:
  • - Loading the extra ipv6 kernel module requires more resources (cpu time /memory usage).
    - Using IPv6 in most software requires an additional setting to be enabled in the config file. By doing this, that peice of software will then use additional resources. In effect, you can end up with a spiral of small (but additional) resources needed to do the same task.
    - IPv6 uses a much larger header size which increases latency on most networks (ipv6=40 bytes, ipv4=20 bytes).
I'll look at adding IPv6 as an optional installation choice in the future.
In terms of IPv6 vs IPv4 general performance, you may wish to read this research paper http://www.caida.org/workshops/isma/120 ... 2_acox.pdf
I understand that you have a trillion different user scenarios and the goal of DietPi is to provide a slim installtion to build upon and you're doing a great job in that.

Ipv6 is slowly making it's way into europe and US and in a more recent report (https://ripe70.ripe.net/wp-content/uplo ... erence.pdf) ipv6 is faster but that is depening on your isp.

A choice under network would be great but it's no real problem to enable it even without. Especially when you have such good knowledge from this forum

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Tue May 26, 2015 5:52 pm

edtjlun wrote: A choice under network would be great but it's no real problem to enable it even without.
This would be the solution i'd look into. Once v60 is released, i'll start work on it.
edtjlun wrote: Especially when you have such good knowledge from this forum
Completely agree. The RPi is great, however, the RPi community is what makes the RPi awesome.
edtjlun wrote:Ipv6 is slowly making it's way into europe and US and in a more recent report ipv6 is faster but that is depening on your isp
Yep, its gonna land one day.
Once all the networks have updated their infrastructure, fixed all the "niggles", it may be a no brainier to switch to IPv6. But myself and IPv4 have had something going for a long time ;)
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Wed May 27, 2015 3:49 pm

DietPi Version 60 Released (27/05/15):
dietpi-logo1_icon.png
dietpi-logo1_icon.png (6.26 KiB) Viewed 5358 times
DietPi-Software Choice System (SSH/File Servers):
Allows you to easily change installed SSH Servers and File Servers. DietPi will automatically install and setup your choice, and, remove the rest.
SSH Server Choices = None / Dropbear / OpenSSH
File Server Choices = None / ProFTP / Samba
http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=15#p19

Support for uninstalling DietPi installed software:
Allows you to uninstall DietPi software using dietpi-uninstall.
http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=24#p60

Added DietPi-Software Optimized install option for:
Deluge - Alternative BitTorrent Server with web interface
http://fuzon.co.uk/phpbb/viewtopic.php? ... art=10#p61

Full Patch Notes:
https://github.com/Fourdee/DietPi/blob/ ... NGELOG.txt

More Info & Download :
http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=6&p=6#p6
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

edtjlun
Posts: 10
Joined: Thu May 21, 2015 12:18 pm

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Fri May 29, 2015 11:10 am

We have a small problem with release 60 if you're using something that logs in /var/log like rsyslog. The cron.dayil/dietpi will just delete all files in /var/log and all logging will stop.

This will fix that for the most common utilities

#!/bin/bash
{
#////////////////////////////////////
# DietPi Cron.Daily script
#
#////////////////////////////////////
#
#////////////////////////////////////
#
# Info:
# - Location /etc/cron.daily/dietpi
# - Deletes log files
#
# NB:
# - Ramlog will save logfiles to disk on system shutdown
#////////////////////////////////////

#Collect info regarding programs using /var/log
rsyslogd="$(/bin/pidof rsyslogd)"
acpid="$(/bin/pidof acpid)"
syslogd="$(/bin/pidof syslogd)"
cupsd="$(/bin/pidof cupsd)"
gdmsimpl="$(/bin/pidof gdm-simpl)"

if [ $rsyslogd ] ; then /etc/init.d/rsyslog stop; fi
if [ $acpid ] ; then /etc/init.d/acpid stop; fi
if [ $syslogd ] ; then /etc/init.d/sysklogd stop; fi
if [ $cupsd ] ; then /etc/init.d/cups stop; fi
if [ $gdmsimpl ] ; then /etc/init.d/gdm stop; fi

#Delete all Log files - recursive
#This is done before ramlog can save away logs to drive
/boot/dietpi/logclear

if [ $rsyslogd ] ; then /etc/init.d/rsyslog start; fi
if [ $acpid ] ; then /etc/init.d/acpid start; fi
if [ $syslogd ] ; then /etc/init.d/sysklogd start; fi
if [ $cupsd ] ; then /etc/init.d/cups start; fi
if [ $gdmsimpl ] ; then /etc/init.d/gdm start; fi

exit
}

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Fri May 29, 2015 12:56 pm

edtjlun wrote:This will fix that for the most common utilities
Hi Edtjlun,

Thanks for the report. I'am currently looking into other methods of clearing the logs without issues.

The only problem with your script, is that we would need to add every peice of software that uses /var/log to it. So although its a great solution for now, we need something more solid that covers more than a select few pieces of software.

I'll be looking into a few things over the next few days:
- A way of obtaining a list of programs that have files open in /var/log.
With this as an array, we might be able to automatically restart the programs.

- Another method that might work is to recreate the log files after deletion:
This would be a case of creating an array of all the files in /var/log, then, hopefully by touching them again, this may work.

I'll let you know if I come up with anything.

Thanks again for your input, appreciate it.
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

simthadim
Posts: 1
Joined: Sun May 31, 2015 2:12 pm

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Sun May 31, 2015 2:22 pm

Just installed it, so far so good. Really like the fact that you allow to configure a few popular set-ups using the dietpi-config script.
Couldn t get the dropbear ssh server to work yet and test everything from my desktop. Not much documentation available online, it there?

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Sun May 31, 2015 9:40 pm

simthadim wrote:Just installed it, so far so good. Really like the fact that you allow to configure a few popular set-ups using the dietpi-config script.
Couldn t get the dropbear ssh server to work yet and test everything from my desktop. Not much documentation available online, it there?
Hi Simthadim,

Dropbear is installed by default on the DietPi image and requires no setup. You may find this useful: http://fuzon.co.uk/phpbb/viewtopic.php? ... art=10#p62

Documentation for DietPi is available on our website. This is mentioned multiple times throughout the installation menus with links to the documentation.

Help with writing the image and logging into DietPi: http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=9#p9
List of ALL installable software options on DietPi, and, their details: http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=5#p5
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

sparkyPi
Posts: 33
Joined: Thu May 21, 2015 8:51 pm

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Tue Jun 02, 2015 11:21 pm

The feedback and updates on Diet-Pi appears great so I just decided to check it out on an Raspberry Pi A+

The initial boot and setup with dietpi-config seemed to go smoothly and I chose the "Desktop" configuration for minimal GUI, however when I tried to "startx" when logged in as root, I got an error:

Code: Select all

FATAL: Module g2d_23 not found.
xinit: connection to X server lost
I attached the complete Xorg.0.log (as .txt file in .zip file) from trying "startx".

Any ideas on how to resolve this?
Attachments
Xorg.zip
Xorg.log from failed "startx"
(3.92 KiB) Downloaded 197 times

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Wed Jun 03, 2015 5:44 pm

sparkyPi wrote:ttached the complete Xorg.0.log (as .txt file in .zip file) from trying "startx".

Any ideas on how to resolve this?
Hi SparkyPi,

Thanks for the report and Xorg.log.

The following is a known "issue" with the FBturbo driver. viewtopic.php?p=535471#p535471

Code: Select all

FATAL: Module g2d_23 not found.
I compared your xorg log to mine, no differences in errors or warnings.

It looks like your Xserver is started, but then closes straight afterwards without any warnings or errors:

Code: Select all

[   118.250] (II) evdev: Logitech USB Receiver: Close
[   118.250] (II) UnloadModule: "evdev"
[   118.310] (II) evdev: Logitech USB Receiver: Close
[   118.310] (II) UnloadModule: "evdev"
[   118.360] Server terminated successfully (0). Closing log file.
Could you try the following:
- Use another Keyboard+Mouse
- Try the DietPi autoboot system (dietpi-config > AutoBoot Options > select Desktop (LXDE), then reboot)

Failing that, please send us a bug report:
Update DietPi to v62

Code: Select all

dietpi-update
Reboot your Pi then run:

Code: Select all

dietpi-bugreport
Thanks.
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

sparkyPi
Posts: 33
Joined: Thu May 21, 2015 8:51 pm

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Thu Jun 04, 2015 12:09 am

fourdee4d wrote:
Could you try the following:
- Use another Keyboard+Mouse
- Try the DietPi autoboot system (dietpi-config > AutoBoot Options > select Desktop (LXDE), then reboot)

Failing that, please send us a bug report:
Update DietPi to v62

Code: Select all

dietpi-update
Reboot your Pi then run:

Code: Select all

dietpi-bugreport
Thanks.
Hi fourdee4d,

Thanks very much for the prompt follow-up to my problem, and pointing out this is a known issue with g2d_23 module. I did not see that before.

First, I tried different keyboard and mouse (Logitech unifying receiver), but that gave same result. Then, I tried the dietpi-update command, but that reported my current version is up-to-date, as follows:

Code: Select all

DIET-PI: Version 60
DietPi Update - No updates required
Your DietPi installation is up to date

- Current Version: 60
- Server Version :
Note that "Server Version" is blank -- I wonder if that means it could not retrieve version 62?

Also, please note I am using Raspberry Pi A+; I have not tried B+ or 2B models.

Thanks for your help and this lean distribution!

SparkyPi

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Thu Jun 04, 2015 12:55 am

sparkyPi wrote:

Code: Select all

DIET-PI: Version 60
DietPi Update - No updates required
Your DietPi installation is up to date

- Current Version: 60
- Server Version :
Note that "Server Version" is blank
Hi SparkyPi,

Yep, your spot on with the blank server version, no value, something went to pot.

Could you please try the following and paste the results:

Code: Select all

clear && wget -q https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version && cat server_version && cat /boot/dietpi.txt | grep 'gitbranch='
Thanks.
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

sparkyPi
Posts: 33
Joined: Thu May 21, 2015 8:51 pm

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Thu Jun 04, 2015 2:25 am

fourdee4d wrote: Failing that, please send us a bug report:
Update DietPi to v62

Code: Select all

dietpi-update
Reboot your Pi then run:

Code: Select all

dietpi-bugreport
Hi fourdee4d,

I went to run the command you indicated and noted that the last two numbers were "63" (and "3", I think). Since that worked I thought to try dietpi-update again and this time is was successful! The update program started and prompted me to update to version 63, so I selected OK.

After the update complete and reboot it attempted to load desktop (LXDE) but this failed the same as before. I tried to generate a bug report using 'dietpi-bugreport' but the command does not exist (in my path).

When I type "dietpi-" and hit TAB, the auto-complete gives me the options:

Code: Select all

dietpi-config, dietpi-services, dietpi-software, dietpi-uninstall and dietpi-update
Is dietpi-bugreport not in version 63, or not in the path?

Thanks for the support!

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Thu Jun 04, 2015 2:32 am

sparkyPi wrote:Is dietpi-bugreport not in version 63, or not in the path?

Thanks for the support!
Hi Sparky,

You'll need to reboot your DietPi system after an update. This will enable the updated alias in /etc/bash.bashrc. Logging out/in would do the same, but its best you reboot to ensure all the other updates are applied correctly.

If you've already rebooted, and, dietpi-bugreport still isnt listed/running, please post the following results:

Code: Select all

clear && cat /etc/bash.bashrc | grep 'alias dietpi-'
Thanks SparkyPi. We will get to the bottom of this :)
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

sparkyPi
Posts: 33
Joined: Thu May 21, 2015 8:51 pm

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Thu Jun 04, 2015 8:35 pm

fourdee4d wrote:
sparkyPi wrote:Is dietpi-bugreport not in version 63, or not in the path?
If you've already rebooted, and, dietpi-bugreport still isnt listed/running, please post the following results:

Code: Select all

clear && cat /etc/bash.bashrc | grep 'alias dietpi-'
Thanks SparkyPi. We will get to the bottom of this :)
Thanks fourdee4d, I've reboot multiple times now (for good measure!) and the when running the above code I get:

Code: Select all

alias dietpi-uninstall='/boot/dietpi/dietpi-uninstall'
alias dietpi-services='/boot/dietpi/dietpi-services'
alias dietpi-config='/boot/dietpi/dietpi-config'
alias dietpi-software='/boot/dietpi/dietpi-software'
alias dietpi-update='/boot/dietpi/dietpi-update'
I checked

Code: Select all

ls -l /boot/dietpi/dietpi-*
and there is no listing for dietpi-bugreport

Hope that helps!
sparkyPi

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Fri Jun 05, 2015 1:20 am

sparkyPi wrote: there is no listing for dietpi-bugreport
Hi SparkyPi,

Thanks for the report.

Please can you run the bugreporter using the code below:

Code: Select all

/boot/dietpi/dietpi-bugreport
If the above works, please follow the onscreen instructions to send a bug report.
Regardless of the bug report, in the mean time, i'd suggest downloading the latest DietPi image and doing a fresh image write to your SD card:
http://goo.gl/yX7Wl5
This may resolve the original issue your experiencing.

Also, i'd be greatful if you can answer the following:
- What PSU are you using for the Model A+ (eg: volt/amp) ?
- What SDcard are you using, and, have you tried another card with DietPi?
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

sparkyPi
Posts: 33
Joined: Thu May 21, 2015 8:51 pm

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Fri Jun 05, 2015 5:52 pm

fourdee4d wrote:
sparkyPi wrote: there is no listing for dietpi-bugreport
Please can you run the bugreporter using the code below:

Code: Select all

/boot/dietpi/dietpi-bugreport
I can't run it because dietpi-bugreport doesn't exist in directory /boot/dietpi/

I will download the latest image and try again.
fourdee4d wrote: Also, i'd be greatful if you can answer the following:
- What PSU are you using for the Model A+ (eg: volt/amp) ?
- What SDcard are you using, and, have you tried another card with DietPi?
I am using a 5.0V 2.0A AC adapter. I have successfully used this on A+, B+ and 2B boards running standard Raspbian distribution and booting to GUI desktop.

I am using Samsung 8GB SD card, which also I've used successfully with standard Raspbian and other Raspberry Pi (B+ and 2B).

Thanks for your support. I'll let you know how it goes!

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Mon Jun 08, 2015 10:01 am

DietPi Version 65 Released (08/06/15):
dietpi-logo1.png
dietpi-logo1.png (39.94 KiB) Viewed 5024 times
Changes:
  • Added DietPi Optimized LASP Webserver Stack: Apache2 / SQLite / Php.
  • Added DietPi Optimized LESP Webserver Stack: Nginx / SQLite / Php.
  • DietPi-Uninstall | New system to allow removal of all installed DietPi Software.
  • And lots more optimizations and improvements throughout DietPi.
Full Patch Notes:
https://github.com/Fourdee/DietPi/blob/ ... NGELOG.txt

DietPi's optional "ready to run" optimized software list:
http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=5#p5

More Info & Download :
http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=6&p=6#p6
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Sun Jun 14, 2015 3:20 pm

DietPi Version 68 Released (14/06/15):
dietpi-logo1_icon.png
dietpi-logo1_icon.png (6.26 KiB) Viewed 4961 times
Changes:
  • DietPi's logging system has been completely rewritten. 3 options are now available, including 2 Ramlog modes designed to improve system performance and save SDcard writes. Please see here for full list of options: http://fuzon.co.uk/phpbb/viewtopic.php? ... art=20#p68
  • DietPi now automates and manages Apt-get update. apt-get update is automatically called when its required and/or, hasnt been updated in 7 days. Also runs as a sperate thread to speed up initial installation, and, future dieti-software installations.
  • Changed image creation methods. Total image sizes have been reduced.
  • Transmission, Deluge and Owncloud installations no longer require a USB Harddrive to be installed. Although, a USB harddrive is highly recommended.
  • And lots more optimizations and improvements throughout DietPi.
Full Patch Notes:
https://github.com/Fourdee/DietPi/blob/ ... NGELOG.txt

DietPi's optional "ready to run" optimized software list:
http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=5#p5

More Info & Download :
http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=6&p=6#p6
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

AfouToPatisa
Posts: 26
Joined: Mon Nov 10, 2014 2:10 pm

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Mon Jun 15, 2015 9:04 am

Hi Fourdee, thanks for the distro, I've been using it for a month now. I tried getting the last update but interrupted the installation and I'm getting "permission denied" for .version file. I tried sudo chmod +rw .version, but I'm still getting the same error....Any idea why?

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Mon Jun 15, 2015 9:53 am

AfouToPatisa wrote:Hi Fourdee, thanks for the distro, I've been using it for a month now. I tried getting the last update but interrupted the installation and I'm getting "permission denied" for .version file. I tried sudo chmod +rw .version, but I'm still getting the same error....Any idea why?
Hi AfouToPatisa,

It could be a number of things, could you possibly tell me the following:
- What version of DietPi did you have before the update?
- What is the current version of DietPi (look for V00 after login)?
- Are you always logged in using the root account?

Please try the following, this will attempt to create and send a bug report:

Code: Select all

/boot/dietpi/dietpi-bugreport
In the mean time:
If possible, i'd highly recommend using the latest DietPi image file http://goo.gl/yX7Wl5, and doing a fresh write. Of course, backup the data you need before doing this.

Thanks.
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

AfouToPatisa
Posts: 26
Joined: Mon Nov 10, 2014 2:10 pm

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Mon Jun 15, 2015 10:14 am

Thank you for the reply, it was my fault and works now I got ver68. I was running dietpi-update as a user not as root. Maybe it should be disabled for user e.g. give warning "only run as root"? Thanks for the help.

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Mon Jun 15, 2015 5:08 pm

AfouToPatisa wrote:Maybe it should be disabled for user e.g. give warning "only run as root"? Thanks for the help.
Hi AfouToPatisa,

Your spot on, good feedback, i'll get it added to next release. :)
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

legolass
Posts: 5
Joined: Wed Apr 08, 2015 2:30 pm

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Wed Jun 17, 2015 9:06 pm

Do you have a .img of dietpi installed on FAT32 partition?
Or you can tell me how to install it without using the ready image?

I prefer to use the FAT32 format because journaling partitions will corrode the sd card faster.

fourdee4d
Posts: 362
Joined: Mon Sep 17, 2012 10:31 pm
Location: East Midlands, UK
Contact: Website

Re: [Diet-Pi] Minimal Raspbian. Optional "ready to run" soft

Fri Jun 19, 2015 12:16 pm

legolass wrote:Do you have a .img of dietpi installed on FAT32 partition?
Or you can tell me how to install it without using the ready image?

I prefer to use the FAT32 format because journaling partitions will corrode the sd card faster.
Hi Legolass,

I've not attempted this myself, but, sounds interesting. FAT32 should also increase filesystem performance.
The only issues i can see with FAT32 is no permissions and possibly no symlinks.

I'd imagine you would need to:
- copy the entire file contents of the 2nd partition
- delete the 2nd partition
- recreate the 2nd partition with FAT32, at the start point of the previous ext4 partition
- copy the files back to the 2nd partition.

Dont quote me though, i've not tried this myself. When i have some spare time, i'll give it a go and let you know.
DietPi.com - Lightweight justice for your Raspberry Pi. Optimized, simplified linux for everyone
DietPi's web hosting is powered by MyVirtualServer.com

Return to “General discussion”