Adding an SSD external drive

Hi all,

I am sure an had account before but don’t know what happened since I have had a install for a while using dietpi running kodi. I am now using this mainly for music with an IQAUDIO Dac.

I thought that I will add an external drive (SSD) and move my music from the USB flash drive. I am on the latest update. I have a 120Gb SSD which has 50GB NTFS parttion, a 2GB FAT partition since this was my windows boot until, I replaced with a larger drive. I have formatted the rest of the space as ext4

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 4196351 4194304 2G b W95 FAT32
/dev/sdb2 4198400 122920959 118722560 56.6G 7 HPFS/NTFS/exFAT
/dev/sdb3 122920960 250068991 127148032 60.6G 83 Linux

I can see the partition as "/dev/sdb3 122920960 250068991 127148032 60.6G 83 Linux*. However when I try to use the dietpi-drive_manager to setup, it can’t see it only the 2GB partion ( /dev/sdb1 * 2048 4196351 4194304 2G b W95 FAT32) which it mount


#FSTAB

#External Drives---------------------------------------------------
#NB: Please use dietpi-drive_manager to setup and control your external drives.
/dev/sda1 /mnt/usb_1 auto defaults,noatime,nofail,x-systemd.automount 0 0
/dev/sdb1 /mnt/usb_2 auto defaults,noatime,nofail,x-systemd.automount 0 0
/dev/sdc1 /mnt/usb_3 auto defaults,noatime,nofail,x-systemd.automount 0 0
/dev/sdd1 /mnt/usb_4 auto defaults,noatime,nofail,x-systemd.automount 0 0
/dev/sde1 /mnt/usb_5 auto defaults,noatime,nofail,x-systemd.automount 0 0

If I try to put the entry in fstab and mount this is not working either. I am sure it is something. Any help welcomed

Thanks in advance

Deff

I have done this manually instead of using the dietpi-drive_manager.

Thanks all

Deff

I am back again. I moved the userdata to the new location on the SSD and everything appear ok. I removed the old flash drive but during boot I am getting the following

Timed out waiting for the device dev-sdb3.device
Dependency failed for /mnt/ssdhdd.

I put back the old flash drive but getting the same.

Any ideas what has gone wrong?

Thanks

By removing the old flash drive, your new SSD is most likely moved to /dev/sda3

You can check this with:

blkid

Edit /etc/fstab and modify /dev/sdb3 to /dev/sda3.
Ideally you should be using UUID’s for the mount, again these are available in blkid.

Just bear in mind, manually editing the USB drive mounts in /etc/fstab may render dietpi-drive_manager unstable, as the entries it expects wont be available. Avoid using it in this case.

DietPi-Drive_Manager only supports the 1st partition of a drive. Ideally, if you plan to dedicate the drive to a system, format the drive in DietPi-Drive_Manager to create 1 partition.

Fourdee,

Thanks. You were right on both counts. I edited /etc/fstab frrom /dev/sdb3 to /dev/sda3. This fixed the issue but the DietPi-Drive_Manager had problems. I have decided to use the whole drive

Regards