Содержание
- Can’t format or delete partitions in pendrive because of GPT table error
- 2 Answers 2
- Can’t delete partition in Linux Mint install: Can’t have overlapping partitions
- Fix tried:
- Not using dd
- Cannot delete redundant partitions
- 1 Answer 1
- Не удалось удалить разделы USB-накопителя (ошибка размера блока)
- 5 ответов
- dd является мощным, но опасным
- mkusb обертывает ремень безопасности вокруг dd
- How do I fix this hard drive?
Can’t format or delete partitions in pendrive because of GPT table error
This is what I got while trying to format a partition in my pendrive:
Error deleting partition /dev/sdb1 : Command-line parted —script «/dev/sdb» «rm 1″‘ exited with non-zero exit status 1: Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos partition table, as it should. Perhaps it was corrupted — possibly by a program that doesn’t understand GPT partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table?
Error: Both the primary and backup GPT tables are corrupt. Try making a fresh table, and using Parted’s rescue feature to recover partitions.
2 Answers 2
I ran into this problem with writing onto an old drive that had been written as a live linux disk.
Solution if you just want to erase the disk /dev/sdX :
(agree to delete partitions)
(agree to write partition table)
And then you have a perfectly blank drive. All that remains is to create a partition if you want to use it.
Note: Gdisk is a disk partitioning tool, and it can erase your disk if not careful. It is designed to create, modify, and erase partitions.
Chances are your disk originally contained a GUID Partition Table (GPT), but you created a new Master Boot Record (MBR) partition table over that with a tool that doesn’t understand GPT. Because GPT takes up more space than MBR, this means that there’s leftover GPT data, and parted is becoming confused because of that.
If this analysis is correct, then the easiest solution is to run FixParts on the disk. FixParts will offer to remove the leftover GPT data, and thereafter you should be able to use the disk normally. (You don’t need to do anything else in FixParts; just tell it to remove the GPT data when it asks you about this and then exit.)
There is a caveat, though: It’s also possible that you had a GPT disk but that something accidentally wrote an MBR partition table to the disk. In this case, you probably want to recover the GPT, not wipe it out! If this is the case, the solution is to run gdisk on the disk. It will detect the problem and ask if you want to use the GPT or MBR data. Tell it to use the GPT data, check that it’s correct by typing p and comparing the output to whatever you believe to be correct, and then type w to save the changes.
Both FixParts ( fixparts ) and gdisk are part of the gdisk package in Ubuntu. It’s usually not installed by default, so you may have to install it by typing sudo apt-get install gdisk .
Источник
Can’t delete partition in Linux Mint install: Can’t have overlapping partitions
Using the Linux Mint live disk (graphical).
Need to install Mint to an SSD. The drive has an ISO already burned to it (in first partition, 2.2GB), with another partition after it. The second partition is 10 MB ISO 9660 Joliet (CD image). I don’t know where the second partition came from.
I tried to erase both partitions with the Disks application. Both failed with this error:
I cannot do anything to these partitions. Reformatting fails. Everything fails.
Fix tried:
I tried using sfdisk but the utility is horrendous. Someone else had this issue, so I read their solution. It says to use sudo sfdisk —force /dev/sda2 . But I do not have a file that I want to copy. I just want to erase the disk. The fact that this is difficult in Linux is funny to say the least.
Here’s what sfdisk did after sudo sfdisk —force /dev/sda2 :
The >>> is a prompt asking for commands. The commands are irrelevant to me. Using the help command shows a bunch of useless commands. The write command did nothing. The help page keeps making references to ‘situations’ which literally means jack nothing to me. This tool is completely oblivious to the standard terminology in the field and is undiscoverable, and is therefore useless.
Not using dd
I do not want to use dd to overwrite the problem area on this disk with another disk’s contents, because it will copy the partition table and partitions, which may put the disk in an even more unusable state. I cannot dd a random file, either, since I need a large file size, and Live disks do not have large files.
Источник
Cannot delete redundant partitions
I finally decided to replace Windows Vista by Ubuntu. I needed several attempts as I am not experienced with disk partitions. I want to have only one partition with ubuntu installed there. I managed to install ubuntu. However, I have three partitions instead of only one, please look at the picture.
I want to delete two redundant partitions so that only one remains.
Details on the partitions:
Partition type: Linux (Bootable); Contents: Ext4 (version 1.0) — Mounted at Filesystem Root
Partition type: Extended; Contents: Extended Partition
Partition type: Linux swap; Contents: Swap (version 1) — Active
I guess that I can keep only the first partition and delete the others. However, when I try to delete one of those two partitions, I receive the following error message:
Error deleting partition: Error deleting partition /dev/sda2: Command-line `parted —script «/dev/sda» «rm 2″‘ exited with non-zero exit status 1: Warning: Partition /dev/sda2 is being used. Are you sure you want to continue? (udisks-error-quark, 0)
What can I do now?
1 Answer 1
The swap partition is the traditional way in Linux of handling what in Windows is called «virtual memory». That is, when you run out of RAM (among other situations; other examples of things that use swap include hibernating the system (suspend to disk)), the swap partition will be used as an «overflow» for things that won’t fit in RAM (which of course will be slower but means your system can keep running rather than having to crash or kill processes seemingly at random).
So, the simple answer is that you don’t need to delete this partition; it’s a normal part of Ubuntu.
The «extended partition» can be seen as a «container» for additional partitions. Because it’s a very old format dating from the IBM PC/MS-DOS days, the partition table used on modern computers only allows four partitions by default. In order to let you have more than this, systems will create an «extended partition» which is just another (more powerful) partition table stored in place of a partition, effectively giving you the ability to create any number of partitions rather than just four.
(If you really positively do want to delete it, which I don’t recommend at all, you can stop the system from using it by typing «sudo swapoff /dev/sda3» at a terminal before deleting it.)
Источник
Не удалось удалить разделы USB-накопителя (ошибка размера блока)
Мне не удалось отформатировать / удалить разделы на моем USB-накопителе Sandisk Cruzer Force 32 ГБ. Я получаю следующую ошибку при удалении любого из разделов на нем.
Есть ли способ полностью форматировать весь мой диск и превращать его в один большой раздел? Я еще не нашел решение этой конкретной ошибки, поэтому я думал, что на самом деле СПРОСИТЬ однажды
5 ответов
Вы всегда можете попробовать использовать fdisk
Откройте терминал (Ctl + ALt + t) и введите
, где /dev/sdy = Файл устройства для вашего флеш накопитель. Когда вы откроете fdisk, введите p, чтобы перечислить таблицу разделов. Когда вы знаете, где она находится, вы можете использовать d #, чтобы удалить ее. (# = раздел; Пример d 1, d 2) w записывает таблицу разделов на диск и q завершает работу, m для справки)
Если fdisk не работает, тогда я бы использовал [ f15] (будьте осторожны, используя это, чтобы он не получил своего прозвища без причины)
Конечно /dev/sdy следует заменить на фактическое устройство для вашего флеш-накопителя, сделает это для тебя. Вы можете увеличить число count =, чтобы записать нули на большее количество диска, или полностью опустить его, чтобы перезаписать весь диск. Излишне говорить, что если вы это сделаете, вы безвозвратно потеряете все файлы, которые могли быть сохранены на диске.
он удалит весь раздел на вашем диске
dd является мощным, но опасным
dd — очень мощный, но очень опасный инструмент. Он хорошо работает, чтобы стереть первую часть USB-накопителя, чтобы удалить любые данные, которые могут запутать инструмент, который вы хотите использовать. Но dd делает то, что вы говорите, чтобы обойтись без вопросов, поэтому, если вы сообщите ему, чтобы стереть ваши семейные фотографии . и достаточно выполнить небольшую ошибку ввода, чтобы перезаписать другой диск вместо USB-накопителя, который вы намеревались перезаписать.
Да, вы можете использовать dd, если знаете, что делаете, но, пожалуйста, проверьте и дважды проверьте, что правильная команда с dd.
mkusb обертывает ремень безопасности вокруг dd
mkusb предоставляет графический пользовательский интерфейс с контрольными точками, чтобы помочь вам определить целевой диск и дважды проверить, что вы вытираете правильный диск.
чтобы вытереть первый мегабайт (на самом деле mibibyte), которого обычно достаточно, или весь диск, который является медленным процессом, и полезен только в особых случаях, например, когда pendrive становится медленным (например, менее половины оригинальная скорость.)
Подробнее см. эти ссылки для установки и использования mkusb версии 12 alias mkusb-dus.
Источник
How do I fix this hard drive?
I recently bought a 2TB WD Black hard drive and installed it in an enclosure to use as media storage for my Micca Spect media player. The installation went well and I booted into Ubuntu (14.04 LTS with full drive and home folder encryption) to format the drive. I don’t recall creating any partitions, I just clicked on the main drive selection and formatted it in NTFS. It looked like everything went well, until the next time I plugged it in. Now, the GUI of the hard drive in the ‘Disks’ program shows several partitions that I know I didn’t intentionally create and I get different errors when I try to delete them or reformat them. The drive also appears twice in the sidebar. I’ll include images and as much detail as possible.
First, here is a screenshot of the free space and partitions:
Here is what it looks like when I click on the other entry for the same hard drive:
Note that for this entry, the «format» option and other options are grayed out and I can’t do anything. Also this entry remains in the sidebar when I disconnect the hard drive.
When I click on Partition 1 the device path is /dev/sdb1 and for partition 2 it is /dev/sdb2 while BOTH free space entries are /dev/sdb .
When I click on ‘Partition 1’, click the minus sign, and choose ‘remove’ I get the following error:
When I do the same for partition 2, I get this error:
When I try to reformat either partition I get this error:
I was getting another error before that I am now having trouble reproducing, but it said something along the lines of «it’s possible the drive was formatted without being partitioned» or something like that, which sounds like what I did.
I tried erasing and reformatting several different ways and always get an error. There is no data on the drive, and it’s brand new. All I want to do is wipe it clean and restore it to the way it was when I got it so I can try partitioning and formatting it again. I want a single 2TB partition formatted in NTFS to store movies on for playing off my Micca Spect media player. I would really appreciate some help here, I’m hoping I didn’t just destroy a brand new and expensive hard drive.
A note about my computer skills: I prefer GUI solutions, however I am able to use the command line provided you walk me through it. Again, there’s no data or anything, all I want is a blank 2TB NTFS formatted hard drive. As a last resort, I would be willing to pay someone to fix it, or would this be covered under warranty? Do you think I can call NewEgg and get a replacement? After all, I did follow the instructions that came with the enclosure (although, the problem seems to be with the drive.)
Thank you in advance for any help. This drive cost about $150 and I need it working within the next week, so I would be very happy if someone is able to help me fix it.
Thank you for the answers, what ended up working was running gparted, creating a new partition with the default ms-dos filesystem, and then formatting that partition with NTFS, all done with gparted. I guess the default «Disks» utility could not read the hard drive properly, it looks like I formatted with NTFS without first creating a partition. Anyway, all it working well now. I haven’t checked if it works with the Micca Spect yet, but the drive itself is working.
Источник
Мне не удалось отформатировать / удалить разделы на моем USB-накопителе Sandisk Cruzer Force 32 ГБ. Я получаю следующую ошибку при удалении любого из разделов на нем.
`Error deleting partition /dev/sdd2: Command-line `parted --script "/dev/sdd" "rm 2"' exited with non-zero exit status 1: Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
(udisks-error-quark, 0)
Есть ли способ полностью форматировать весь мой диск и превращать его в один большой раздел? Я еще не нашел решение этой конкретной ошибки, поэтому я думал, что на самом деле СПРОСИТЬ однажды
задан
3 June 2016 в 20:01
поделиться
5 ответов
Вы всегда можете попробовать использовать fdisk
Откройте терминал (Ctl + ALt + t) и введите
sudo fdisk /dev/sdy
, где /dev/sdy = Файл устройства для вашего флеш накопитель. Когда вы откроете fdisk, введите p, чтобы перечислить таблицу разделов. Когда вы знаете, где она находится, вы можете использовать d #, чтобы удалить ее. (# = раздел; Пример d 1, d 2) w записывает таблицу разделов на диск и q завершает работу, m для справки)
Если fdisk не работает, тогда я бы использовал [ f15] (будьте осторожны, используя это, чтобы он не получил своего прозвища без причины)
sudo dd if=/dev/zero of=/dev/sdy bs=512 count=1
Конечно /dev/sdy следует заменить на фактическое устройство для вашего флеш-накопителя, сделает это для тебя. Вы можете увеличить число count =, чтобы записать нули на большее количество диска, или полностью опустить его, чтобы перезаписать весь диск. Излишне говорить, что если вы это сделаете, вы безвозвратно потеряете все файлы, которые могли быть сохранены на диске.
ответ дан DnrDevil
23 May 2018 в 17:21
поделиться
wipefs -a /dev/your-device
он удалит весь раздел на вашем диске
ответ дан muru
23 May 2018 в 17:21
поделиться
dd является мощным, но опасным
dd — очень мощный, но очень опасный инструмент. Он хорошо работает, чтобы стереть первую часть USB-накопителя, чтобы удалить любые данные, которые могут запутать инструмент, который вы хотите использовать. Но dd делает то, что вы говорите, чтобы обойтись без вопросов, поэтому, если вы сообщите ему, чтобы стереть ваши семейные фотографии … и достаточно выполнить небольшую ошибку ввода, чтобы перезаписать другой диск вместо USB-накопителя, который вы намеревались перезаписать.
Да, вы можете использовать dd, если знаете, что делаете, но, пожалуйста, проверьте и дважды проверьте, что правильная команда с dd.
mkusb обертывает ремень безопасности вокруг dd
mkusb предоставляет графический пользовательский интерфейс с контрольными точками, чтобы помочь вам определить целевой диск и дважды проверить, что вы вытираете правильный диск.
чтобы вытереть первый мегабайт (на самом деле mibibyte), которого обычно достаточно, или весь диск, который является медленным процессом, и полезен только в особых случаях, например, когда pendrive становится медленным (например, менее половины оригинальная скорость.)
Подробнее см. эти ссылки для установки и использования mkusb версии 12 alias mkusb-dus.
[!d8 ]
mkUSB- быстрый запуск manual.pdf
ответ дан sudodus
23 May 2018 в 17:21
поделиться
Используйте команду fdisk для удаления раздела и создания снова.
Команда запуска:
sudo fdisk /dev/sdxY
(В моем случае раздел «sdb1» — заменить на правильное имя)
Команда (m для справки): d для удаления раздела, выберите 1 или 2.
Введите w для сохранения и выхода.
Теперь вытащите USB-диск и снова подключитесь, чтобы проверить изменения.
ответ дан Zanna
23 May 2018 в 17:21
поделиться
Эта проблема имеет какое-то отношение к загрузочным дискам на основе UEFI. Я часто создаю загрузочный USB-диск, тогда мне нужно его для хранения, но не могу удалить раздел.
Эта команда ниже заглаживает таблицу разделов, поэтому я могу делать все, что мне нужно, с USB-диска.
sudo sgdisk —zap-all /dev/sd?
Заменить? с соответствующей буквой, соответствующей USB-диску для очистки. Это можно узнать из
sudo parted -l
или
sudo fdisk -l
или
с помощью дисковой утилиты.
ответ дан Sri
23 May 2018 в 17:21
поделиться
Другие вопросы по тегам:
Похожие вопросы:
Шалил Device Mapper. Глючил parted.
Через gdisk удалил раздел с /dev/mapper/6_webp2
gdisk /dev/mapper/6_web
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/mapper/6_web: 2357198848 sectors, 1.1 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 75A8F088-8F7F-4127-B809-F458AAE91D57
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 2357198814
Partitions will be aligned on 2048-sector boundaries
Total free space is 2239340477 sectors (1.0 TiB)
Number Start (sector) End (sector) Size Code Name
2 235720704 353579007 56.2 GiB 0700 2
Command (? for help): d 2
Using 2
Command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/mapper/6_web.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
При этом:
parted /dev/mapper/6_webp2
GNU Parted 2.3
Using /dev/mapper/6_webp2
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/6_webp2: 60.3GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 60.3GB 60.3GB ext3
Device mapper её породил,
dmsetup info /dev/mapper/6_webp2
Name: 6_webp2
State: ACTIVE
Read Ahead: 256
Tables present: LIVE
Open count: 0
Event number: 0
Major, minor: 253, 2
Number of targets: 1
он же её и убьёт:dmsetup remove /dev/mapper/6_webp2
Проверяем:
dmsetup info /dev/mapper/6_webp2
Device does not exist.
Command failed
Проверяем open count у 6_web:
dmsetup info /dev/mapper/6_web
Name: 6_web
State: ACTIVE
Read Ahead: 256
Tables present: LIVE
Open count: 0
Event number: 1
Major, minor: 253, 1
Number of targets: 1
UUID: mpath-360080e500029f9a00000142d5c51434e
А вот сюрприз:
ls /dev/mapper/ | grep 6_web
6_web 6_webp2
Но dmsetup ls говорит, что всё хорошо:
dmsetup ls
6_web (253:1)
... и прочие, не связанные с ним
Skip to content
Problem
I would always get the error below when trying to delete a partition on a USB flash disk:
Error deleting partition /dev/sdb2: Command-line `parted --script "/dev/sdb" "rm 2"' exited with non-zero exit status 1: Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. (udisks-error-quark, 0)
Solution
According this answer on askubuntu, the above “was caused by a low-level device tool (like dd) writing blocks at the wrong size directly onto the device.”
There are a number of solutions offered, like using dd. The safest, maybe using fdisk as described:
user@whiscardz ~ $ sudo fdisk /dev/sdb Welcome to fdisk (util-linux 2.27.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/sdb: 14.9 GiB, 15955132416 bytes, 31162368 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x60dfafa1 Device Boot Start End Sectors Size Id Type /dev/sdb1 * 0 2156351 2156352 1G 7 HPFS/NTFS/exFAT /dev/sdb2 2135488 2140031 4544 2.2M ef EFI (FAT-12/16/32) Command (m for help): d Partition number (1,2, default 2): 1 Partition 1 has been deleted. Command (m for help): d Selected partition 2 Partition 2 has been deleted. Command (m for help): p Disk /dev/sdb: 14.9 GiB, 15955132416 bytes, 31162368 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x60dfafa1 Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks.
References
Unable to delete USB Drive partitions (Block size error)
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
mc3mcintyre
Unable to delete partitions
I have a USB flash drive that I’m trying to reformat. It has two partitions that I can’t delete. Below is a screenshot of the error message that I get when I try to delete the two existing partitions.
Error deleting partition
Error deleting partition /dev/sdb1: Command-line `parted —script «/dev/sdb» «rm 1″‘ exited with non-zero exit status 1: Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos partition table, as it should. Perhaps it was corrupted — possibly by a program that doesn’t understand GPT partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table?
Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)?
Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 14336000 blocks) or continue with the current setting?
Error: Unable to satisfy all constraints on the partition.
(udisks-error-quark, 0)
Can anyone help me on recovering the full space of this flash drive and using it all for other purposes? Thank you.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
Pierre
- Level 21
- Posts: 12788
- Joined: Fri Sep 05, 2008 5:33 am
- Location: Perth, AU.
Re: Unable to delete partitions
Post
by Pierre » Tue Feb 24, 2015 1:04 am
with the usb stick, plugged in.
use Gparted — device — create partition table.
— menu — administration — Gparted.
this should erase the stick — you will then have to create a new partition, on that stick
— partition — new.
if that doesn’t work, then you may have to resort to formatting it — via a windows PC.
Please edit your original post title to include [SOLVED] — when your problem is solved!
and DO LOOK at those Unanswered Topics — — you may be able to answer some!.
-
mc3mcintyre
Re: Unable to delete partitions
Post
by mc3mcintyre » Tue Feb 24, 2015 9:36 pm
Pierre, thank you for your advice. I installed GParted on my computer and was able to immediately solve the problem. It even showed me a problem with my linux-swap partition. Now my computer is working even faster. Thank you very much.
- Печать
Страницы: [1] 2 Все Вниз
Тема: Gparted не удаляет раздел (Прочитано 2400 раз)
0 Пользователей и 1 Гость просматривают эту тему.
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
Adonaichik
Была загрузочная флешка на MicroSD. Решил ее перезаписать. Начал форматировать в Gparted. Все разделы отмонтированы. Пытаюсь форматировать. Gparted пишет, что все прошло хорошо. Сканирую устройства, а раздел не изменился. Сканирование на ошибки показывает следующее:
увеличить размер файловой системы, заполнив весь раздел 00:00:01 ( ОШИБКА )
Что делать?
используя libparted
сообщения libparted ( ОШИБКА )
GNU Parted не может изменить размер раздела до этой величины. Мы работаем над этим!
« Последнее редактирование: 28 Августа 2019, 09:31:10 от zg_nico »
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
Peter_I
Надо ещё удалить таблицу DOS и создать таблицу GPT, я на память не скажу, но в его справке всё это есть —
как удалить и как создать.
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
Adonaichik
Надо ещё удалить таблицу DOS и создать таблицу GPT, я на память не скажу, но в его справке всё это есть —
как удалить и как создать.
Сделал. e2fsck пишет:
ext2fs_open2: Bad magic number in super-block
Похоже, не хочет удалять и создавать таблицу. Я флешку снова вставил, и все откатилось обратно
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block при попытке открыть /dev/sdd1
« Последнее редактирование: 28 Августа 2019, 09:30:14 от zg_nico »
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
ReNzRv
sudo dd if=/dev/zero of=флешка bs=1M count=5; sync
Где флешка — это устройство, например /dev/sdb, без цифры в конце, т.е. не раздел. Осторожно! Если по ошибке указать не то, то можно убить все данные жестком диске например.
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
Adonaichik
sudo dd if=/dev/zero of=флешка bs=1M count=5; sync
Не помогло. Вот вывод:
1M count=5; sync
5+0 записей получено
5+0 записей отправлено
5242880 байт (5,2 MB, 5,0 MiB) скопирован, 0,305572 s, 17,2 MB/s
« Последнее редактирование: 28 Августа 2019, 09:28:57 от zg_nico »
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
fdxcd
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
Adonaichik
fdxcd, на этот переключатель тоже падали подозрения. Но когда он находится в положении Lock, запись просто запрещена(это говорит сама система). В моем же случае флешка не поддается изменению
« Последнее редактирование: 28 Августа 2019, 09:28:12 от zg_nico »
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
ALiEN175
Не помогло. Вот вывод:
После этой операции надо зайти в gparted и еще раз попробовать создать таблицу разделов и сами разделы.
У операций слева есть стрелочка. Разверните все и выложите скриншот на форум.
ASUS P5K-C :: Intel Xeon E5450 @ 3.00GHz :: 8 GB DDR2 :: Radeon R7 260X :: XFCE
ACER 5750G :: Intel Core i5-2450M @ 2.50GHz :: 6 GB DDR3 :: GeForce GT 630M :: XFCE
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
rubear
В моем же случае флешка не поддается изменению
А попробуй запустить gparted в терминале, таким образом —
sudo dbus-launch gparted
и выполнить нужные действия с флешкой .
« Последнее редактирование: 27 Августа 2019, 23:43:43 от rubear »
Незаменимых нет !
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
zg_nico
Adonaichik, по-моему, флешке капут. Если запись происходит, а после записи всё так же, как было до неё, — флешка мертва. С картами памяти такое бывает. Единственный выход, ИМХО, — купить новую.
Thunderobot G150-D2: Intel SkyLake Core i7-6700HQ 2.60GHz, 8Gb DDR4 2133 MHz, Intel HD530, NVidia GeForce GTX 960M 2Gb. Ubuntu 16.04 64x [Unity], KUbuntu 18.04 64x.
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
Tear
Просто не нужно мучить SD-карточки всякими утилитами, для того не предназначенными. Для этих карт есть только одна официальная утилита с сайта SD Association. Если не поможет — карту в утиль.
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
БТР
Для этих карт есть только одна официальная утилита с сайта SD Association.
слишком громкое завление + нет версии под Linux. Какой в ней смысл пользователю Ubuntu?
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
Tear
слишком громкое завление + нет версии под Linux.
Ну тогда страдать.
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
Butjapka
Я флешку снова вставил, и все откатилось обратно
А можно скриншот с gparted глянуть на эту флешку. Загрузочная с помощью какой программы создавалась и в какой ОС? Была подобная проблема, форматнул на компе с виндой, заработала.
![Оффлайн](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
Adonaichik
В моем же случае флешка не поддается изменению
А попробуй запустить gparted в терминале, таким образом —
sudo dbus-launch gparted
и выполнить нужные действия с флешкой .
Упорно делает вид, что все прошло хорошо
- Печать
Страницы: [1] 2 Все Вверх