-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persistence doesn't work with Ubuntu 23.04 #2231
Comments
This must be the reason Rufus erased my external SSD. I was building Ubuntu 23.04 on a 64 GB USB stick. I have done this a million times with Rufus partition 1 - ext4 enclosing two lvm2 partitions. HELP |
It's not. Because you are not elaborating, I'm pretty sure that you are under the impression that Rufus somehow looks all over the disks that are accessible on your system and may somehow mistake such a disk for something it can/should write to. That is not the case, The above describes detecting that happens with the ISO that is loaded in Rufus, and that ISO only. It does not apply to anything but the ISO selected, and especially it is NOT being performed on anything that is a physical or virtual disk. In other words:
Which means that, no, Rufus had no play in somehow selecting the wrong drive. I'm afraid that you did. And you happened to select your all-important bootable SSD drive instead of the actual USB drive you wanted to use. It should be noted that Rufus does attempt to avoid listing drives that don't look like regular USB Flash Drives by default, but there's only so much we can do there (because there's nothing that really differentiates a USB pendrive from a USB SSD in an enclosure), and, as people report that such or such drive is not being listed by default, and we obviously cannot test every USB media out there, we try to add the ones that people request (eg. #2247). So it may happen that an SSD drive in a USB enclosure will be listed by default. Or you may have used the option to list USB HDDs/SSDs per https://github.com/pbatard/rufus/wiki/FAQ#user-content-Help_my_USB_drive_is_not_detected. As a result, the only advice I can offer is once I provide in the FAQ at https://github.com/pbatard/rufus/wiki/FAQ#user-content-Help_I_formatted_the_wrong_drive_by_mistake_How_do_I_recover_it. In short, while I do appreciate that losing data sucks, I'm afraid that, no, it had nothing to do with any recent changes and especially not this one, since it does not, in any way, even remotely imply that Rufus will somehow look at connected disks to see if it looks like they have Linux content or Linux configuration files, and automatically select one such drive if it does (and feel free to have a look at the code and experiment with Rufus if you want to dispute that very factual statement), and that, if you want to attempt to recover the data you lost after you happened to select the wrong drive in Rufus, you will have to ask data recovery specialists, |
I selected my USB Flash Drive. I found the persisistence folders on my ssd drive. Was it magic? |
I'd rather do this in public, as I have nothing to hide and I stand by my assessment that you happened to select the wrong drive by mistake, If what you state is true, then it should be easy to replicate:
The problem is that there are 2 elements that go strongly against your assertion here:
As such, until you do replicate your issue and can provide a log that appears to back your claim (and I'll be more than happy to provide you with more verbose versions of Rufus that describe exactly how they select the target partition, what drive index they used for it, and so on, if your log appears to corroborate your claim because, of course, if that it the case, this is something I would be eager to fix), I have to continue to assert that the most logical explanation is that you happened to select the wrong drive by mistake. |
It put the Ubuntu 23.04 installer on the usb drive As far as replicating my issue, I have but one ssd to give for rufus. You seem to have the wrong attitude about this. I love Rufus and I use it all the time. |
And you don't seem to be willing to demonstrate that you didn't select the wrong drive by mistake and that, as you claim, it is in the application that is responsible for your data loss. I'm afraid I can only work with facts, not claims. And until I see evidence, from your side (since, again, nobody else has ever claimed that Rufus could format the wrong drive on its own, despite millions and millions of users), that seems to corroborate your claim, along with a log (since I have personally formatted persistent partitions multiple times, often with more than one USB drive plugged in, and never seen the issue either, so I need to see data that might allow me to replicate the issue, if issue there is), I have no choice but not to embark on a crusade to try to replicate an issue with little to no data to help me replicate it.
No. I am saying: "Here are, with verifiable evidence, the steps we take in Rufus to ensure that what you claim should never happen. Therefore, if, despite what we publicly show for scrutiny, you want to assert that it can, in fact, happen, we will require evidence, such as your reproducing the issue a second time and producing the Rufus log. Unless you want to do that, and since we have provided verifiable evidence that what you claim should not happen, we have to no choice but to conclude that your data loss was very likely due to user error"
I appreciate that. And I hope that, if you do, then you can appreciate that the developer of an application can only fix an alleged issue if the reporter can provide enough evidence and data to help the developer replicate the issue. The only information I have from you at this stage is that you "had a bootable SSD drive connected", with no details about its type of connection, size, file system, partition type, and whether it was even listed by Rufus in the first place (which is data I would get from your log). So, despite how it may appear to you ("Just spend days with random data drive plugged in and create persistent Ubuntu 23.04 USB flash drives until you happen to run into the issue — How hard can it be?") I just don't have enough data to start investigating your issue and the ball is entirely in your camp, if you believe you do have a case, to provide such data. |
@pbatard Kudos, you are doing a great job. Everything is working perfectly. 👍 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
file=/cdrom/preseed
.persistent
keyword.Hopefully, trying to detect
layerfs-path=minimal.standard.live.squashfs
as well asfile=/cdrom/preseed
will work, and Ubuntu won't be shuffling these options too much for subsequent releases...The text was updated successfully, but these errors were encountered: