Shakz76 / Eazy-Hax-RetroPie-Toolkit

A toolkit for fixing common issues and enabling features on your RetroPie
GNU Affero General Public License v3.0
59 stars 5 forks source link

It seems you already have an external drive mapped error message #12

Open stefer09 opened 4 years ago

stefer09 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 ..

marine1988 commented 4 years ago

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?