Eazy-Hax-RetroPie-Toolkit icon indicating copy to clipboard operation
Eazy-Hax-RetroPie-Toolkit copied to clipboard

It seems you already have an external drive mapped error message

Open stefer09 opened this issue 5 years ago • 3 comments

I run the enable expand to external drive option, and I get the error message that tells me that I already have expanded to a drive, to run the remove expanded storage option from the retropie menu... but I haven't even done that... and can't find that entry in the menu either. Its a fresh install, on an internal ssd, havent expanded storage to usb yet or anything, just tried your script. Any idea what might be causing this? EDIT : this is the error that i'm mentionning :
It seems you already have an external drive mapped. Only one external drive is supported. Please run the "Remove Drive Expansion" script from the Retropie menu before adding a new drive.

stefer09 avatar Nov 24 '19 18:11 stefer09

Reading the code... I think it's because I have a swap partition on my SSD (running retropie on x86). I think the if with the grep piped grep command is : if there is any other mounted drive or partition other than ext4, it means there's an entry in fstab for a previously used USB mounted at boot?

stefer09 avatar Nov 25 '19 02:11 stefer09

sudo grep -w UUID= /etc/fstab |grep -v -e ext4 -e swap doesn't help either, I get this :

device; this may be used with UUID= as a more robust way to name devices

Looked into fstab and that line is there...

# /etc/fstab: static file system information.
# device; this may be used with UUID= as a more robust way to name devices
# Use 'blkid' to print the universally unique identifier for a

# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=881824da-77f5-4f0c-96cb-b9437801673c /               ext4    errors=remoun$
# swap was on /dev/sda2 during installation
UUID=18a60a89-ad78-4d84-9303-55826c0909e5 none            swap    sw           $

SO, I edited fstab to remove the extra comment lines :

# /etc/fstab: static file system information.
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=881824da-77f5-4f0c-96cb-b9437801673c /               ext4    errors=remoun$
# swap was on /dev/sda2 during installation
UUID=18a60a89-ad78-4d84-9303-55826c0909e5 none            swap    sw           $

and I've edited the script so that it checks for -v -e ext4 -e swap

It worked... kinda, there was another error but it flashed by fast and then the system rebooted. My rom directory in the SSD had a localrom folder with all the original folders in a subfolder. But all the games were "gone" in the system menus. Didn't bother putting roms on the usb drive, i ran the disable script, but it didn't move the roms back to their original locations, had to do that manually ..

stefer09 avatar Nov 25 '19 03:11 stefer09

I use supreme pro my drive worked fine for 1 week now is not showing no roms it doesnt matther if use external drive or not no roms. my external drive have all roms but internal sd card is empty on roms folder why? How can I fixe it?

marine1988 avatar Apr 26 '20 16:04 marine1988