Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
With the grep dd, it literally returns nothing, simply returns to the prompt as if nothing was entered, and when I simply run sudo ps, this is the result:
(1)(deck@steamdeck ~)$ sudo ps | grep dd
(1)(deck@steamdeck ~)$ sudo ps
PID TTY TIME CMD
23581 pts/2 00:00:00 sudo
23587 pts/2 00:00:00 ps
You have a keyboard hooked up to it? If so on the terminal that is running the dd try to press ALT+F1-F6 to switch between the different TTYs. Usually TTY 4 isn't used so try ALT+F4
Then try to run the sudo ps and see if it still only shows you that output.
Otherwise I guess just try to let the dd finish.
If it fails again you can try to nuke the partition table and create a new empty GPT one with parted
sudo parted /dev/mmcblk0 mklabel gpt
Then check parted -l again and if should show an empty GPT partition table
Then create a new partition
sudo parted -a optimal /dev/mmcblk0 mkpart primary 0% 100%
and then finally try to manually create a filesystem on the new partition
mkfs.ext4 /dev/mmcblk0p1
Then try to re-run f3probe
Yes, I have a wireless Corsair K63 connected (works fabulously for anyone interested, Razer Turret not so much). I tried the ALT+F1-F6 did a bunch of other things, like bring up the search bar, open the Start Menu, etc.. but none of them switch between terminals. I will just let it run for a few hours, and see where that gets us. Then I will follow your other suggestions, and report back. Thank you again!
So, dd ran for several hours, but everything still remained accessible on the card, all the original folders and files are still present. So, I stopped the process, and decided to try the sudo parted /dev/mmcblk0 mklabel gpt, it has been running for about 45 minutes now, and since it is the nuclear option, I would expect the card to at least be inaccessible currently, but that is not the case, all of the directories and files still remain untouched. I can gladly leave it running for a few more hours as well, but after everything that has been thrown at this card, I would expect to at least not be able to open it in Dolphin.
This is the exact same behavior that has happened with all the cards that have been wrecked, including the first one I got RMA'd from Sandisk. Once they get to this point, the cards appear locked at some level making them entirely unusable, can't write to them, can't repartition or format them, with any tools I have tried so far.
Ok, it finally finished, but with some caveats. I will post the message below, but want to stress absolutely nothing should have been accessing that card, it only contains games and I have not had a game running on the Deck since I began this process yesterday. I only opened Dolphin one time, at around the 40minute mark, but closed it as soon as I saw the files still existed. I rebooted as it asked, and the directories and files still exist.
Results of the parted gpt:
Warning: Partition(s) on /dev/mmcblk0 are being used.
Ignore/Cancel? I
Warning: The existing disk label on /dev/mmcblk0 will be destroyed and all data on this disk will be lost. Do you want to continue?
Yes/No? Yes
Error: Partition(s) 1 on /dev/mmcblk0 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.
As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
Ignore/Cancel? I
Information: You may need to update /etc/fstab.
...and the results from sudo parted -l:
Model: SD SN01T (sd/mmc)
Disk /dev/mmcblk0: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 67.1MB 1024GB 1024GB primary ext4
...and the f3probe results:
(deck@steamdeck ~)$ sudo f3probe /dev/mmcblk0
F3 probe 8.0
Copyright (C) 2010 Digirati Internet LTDA.
This is free software; see the source for copying conditions.
WARNING: Probing normally takes from a few seconds to 15 minutes, but
it can take longer. Please be patient.
Probe finished, recovering blocks... Done
Bad news: The device `/dev/mmcblk0' is damaged
Device geometry:
*Usable* size: 0.00 Byte (0 blocks)
Announced size: 953.55 GB (1999749120 blocks)
Module: 1.00 TB (2^40 Bytes)
Approximate cache size: 0.00 Byte (0 blocks), need-reset=no
Physical block size: 512.00 Byte (2^9 Bytes)
Probe time: 54.7ms
I do hope you are right, that Valve's fixing the issue. Sorry you had troubles with yours, maybe, I'm hoping, we can get it figured out so more people don't suffer the same issues.
Perhaps this thread might change your opinion on how widespread this issue actually is. Exact same problems I have been suffering, being suffered by 10 pages worth of other members posts.
I just found this thread, looking at new threads, and it is identical to my issues. However, oddly enough, some of these folks have had some luck getting their bad cards to format on the Switch, and then one person found a different Windows app that was able to partition/format his bad card. So, we are not done trying to find a solution yet.
Here's the thread:
https://steamcommunity.com/app/1675200/discussions/0/3269059787443854260/
No joy, neither card could be formatted on the Switch either. Given our efforts to this point, I can't say I felt positive about it, but it was certainly worth a shot, we're still clinging to a fading hope.
I forgot it is automatically mounting it upon insert. Try to give those another go but before doing so try to unmount the filesystem first.
Should be like
then retry the partition table creation
Also, the dd is really the nuke option, nuking the partition table with parted is just like tearing down the walls of a cubicle. The desk and stuff (data) is still there but the partitions are gone. The dd on the other hand should be like driving a bulldozer and a steamroller through the office leaving nothing behind it. I'm not sure what witchcraft Valve has done that running a dd directly on the block device isn't nuking it, even if the filesystem is mounted it should get nuked and will become read-only and the data should be gone if you try to remove and then re-insert the microSD card.
I just double checked my 1TB microSD card I'm using in my Steam Deck and it is partitioned with a GUID Partition Table (GPT) with a single partition containing an ext4 filesystem. I'm not sure why yours got partitioned with an msdos (MBR) partition table but that could be part of the software issue they've identified and seem to have resolved in the most recent test builds
Yeah, I not only rebooted, but I pulled and reseated the card, and I held the power button in until the light went bright, which should, from my understanding, clear any residuals remaining in memory. It still shows up as having all directories and files on the disk. I am not sure why the Deck does this to sd cards, but clearly there is something happening. I hope you are right, and that Valve has fixed the issue in recent updates.
I will try unmounting the file system, followed by another round of parted, and allow that to run over night, or should I say for as long as I am able to force the Deck to remain awake before going to sleep. That is another thing I do hope Valve fixes soon, giving us the ability to configure the Deck to not shut off or go to sleep. It goes to sleep, right in the middle of downloads, and when it does it kills the NIC, and you have to manually reconnect to your wifi when it wakes up. I currently have mine set at "Never shut down the computer or let it go to sleep", and as we found last night it did not follow that rule.
Thank you again my friend, very much, for all of your help!!!
https://ubuntu.com/tutorials/try-ubuntu-before-you-install#1-getting-started
Its pretty easy to setup an Ubuntu Live UFD and from there you should be able to connect your microSD card and try to repartition it. Just make sure to be extra careful not to accidentally mess with your desktops disk with Windows on it :) As a precaution if its a SATA disk I'd recommend just unplugging it while you work in the live environment (if your comfortable with messing with your hardware that is).
You are correct, I just ran it, and instead of the hours it previously took, it was near instantaneous. It implied it was successful, and didn't even mention the reboot this time, it only said an edit of fstab might be needed. However, I went ahead and reboot anyhow, just to be safe, and all files are still present, nothing changed. I will try to build that bootable flashdrive tomorrow, and we will go from there. Cheers my friend!
The output of this last run:
(deck@steamdeck ~)$ sudo parted /dev/mmcblk0 mklabel gpt
Warning: The existing disk label on /dev/mmcblk0 will be destroyed and all data on this disk will be lost. Do you want to continue?
Yes/No? Yes
Information: You may need to update /etc/fstab.
If you want before you head to bed try to reformat it after unmounting the filesystem.
(that might error? if the filesystem isn't mounted but it might still be mounting by uuid
then redo wiping the partition table
Then check to see if it actually updated the partition table
It should show like before but it shouldn't list a partition and it should be the type GPT instead of msdos
then create a new partition
Then check to see if it is showing the new partition again with
Then try to create a new filesystem (just default ext4 for now without case folding)
Then try to manually mount that filesystem to its expected location
Then see if there is anything on the filesystem now
The vertical pipe is "piping" the standard output (stdout) from the command on the left of the pipe into the standard input (stdin) for the command on the right of the pipe.
so
That will take the output that you'd get from running just the `sudo ps faux` which should be the full process list, and it will send that into the input for the `grep` command which is a pattern searching command, and the above is searching for the term "dd"
I forgot to write down my sudoers password I created for my deck user so I haven't been able to double check things on my deck. But I just figured out what I set the password to and I've verified how my microSD card is partitioned and formatted, and I also tested partitioning and formatting a spare UFD I have like the Steam Deck should be partitioning the microSD card and it worked.
I'll have my fingers crossed that if you do the steps in my previous post it finishes formatting successfully