Small problems

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
rab-bits
Posts: 3
Joined: Sun Mar 08, 2020 1:51 pm

Small problems

Post by rab-bits »

For the first time using Dietpi, I installed it on a Rapi 4. I wanted root on a SSD-card partition (/dev/sda), and all data on another SSD-card partition. As was suggested, when moving /root to /dev/sda1, I started without any installation of any optimized software. No problem (except that btrfs apparently did not work??).

Then, I tried to move userdata to the other SSD-card partition using the drive_manager, but it was impossible because /mnt/dietpi_userdata did not exist yet. Therefore, I installed some optimized software so that /mnt/dietpi_userdata came to exist. Then, I could move userdata to /dev/sda2 after letting drive_manager mount /dev/sda2 as /mnt/<ugly UUID>. I prefer to mount it on a folder I call /mnt/data. I looked in fstab, but was told to use the drive_manager. I tried my best, but it was apparently impossible to change the mountpoint-name through the Dietpi interface. So, I changed the mount point name and adjusted fstab, and after a couple of reboot all seem to work.

Altogether, this is of course no catastrophy, though it is a bit clumsy, and for some one who is not an experienced linux-user, I think it could easily have been confusing. Well, I wasted a couple of hours on this fumbling around. If I had installed debian, I would probably not have wasted THAT time.

Never mind, I enjoyed installing nextcloud with my head under my arm. It just worked out of the box. Thank you very much, for your nice work with optimized software!!! I hope you can use my account of these small problems.
User avatar
Joulinar
Posts: 2617
Joined: Sat Nov 16, 2019 12:49 am

Re: Small problems

Post by Joulinar »

yep you could move rootFS as well as bootFS to USB/SSD devices

Maybe you can have a look to the following forum post. There are already a couple of descriptions how to transfer from SD to USB devices

viewtopic.php?p=22798#p22798
viewtopic.php?p=22717#p22717
viewtopic.php?p=21604#p21604

as well it should be possible to flash DietPi directly on an USB device right from the beginning. But honestly I never tested this 8)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
rab-bits
Posts: 3
Joined: Sun Mar 08, 2020 1:51 pm

Re: Small problems

Post by rab-bits »

Has it now become feasible to boot a pi4 from an usb drive without having /boot at the SD-card?
https://www.raspberrypi.org/forums/view ... p?t=261926
User avatar
Joulinar
Posts: 2617
Joined: Sat Nov 16, 2019 12:49 am

Re: Small problems

Post by Joulinar »

See RPi Page

https://www.raspberrypi.org/documentati ... des/msd.md

Raspberry Pi 4
The Raspberry Pi 4's bootcode is stored in EEPROM and can be updated. Support for mass storage boot will be added in a future update.

Known issues
  • The default timeout for checking bootable USB devices is 2 seconds. Some flash drives and rotational harddrives power up too slowly. It’s possible to extend this timeout to five seconds (add a new file timeout to the SD card), but there are devices that fail to respond within this period as well.
  • Some flash drives have a very specific protocol requirement that is not handled by the bootcode and may thus be incompatible.
  • Lack of power can be an issue, so it is recommended to use a powered USB hub, particularly if you are attaching more than one storage device to the Raspberry Pi. If your device has its own power supply, then use that.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply