0
(24-01-2025, 01:56)Xan666 napisał(a): Cześć,Dzięki, jak widać z pierwszego mojego wpisu fdisk nie widzi tego pendrive'a więc
Może pomoże [instrukcja z neta, kiedyś naprawiałem peny w Wingrozie ale nie pamiętam nazwy programiku]:
Możesz zrobić tak:
Kod:sudo fsck -v -a /dev/disk/by-id/partycja_dysku_którą_chcesz_naprawić
... albo opcja druga od zera:
A. First we need to delete the old partitions that remain on the USB key.
- Open a terminal Ctrl+Alt+T and then type sudo su.
- Type fdisk -l and note which letter belongs to your flash drive.
- Then type fdisk /dev/sdx (replacing x with your drive letter).
- Next type d to proceed to delete a partition.
- Type 1 to select the 1st partition and press enter.
- Then type d to proceed to delete another partition, if necessary. (fdisk should automatically select the second partition).
B. Next we need to create a new partition.
C. The last step is to create the fat32 or exFAT filesystem.
- Type n to make a new partition.
- Then type p and press enter to make this partition primary.
- Type 1 and then press enter to make this the first partition.
- Next press enter to accept the default first sector.
- Press enter again to accept the default last sector.
- Type w to write the new partition information to the USB key.
- Type umount /dev/sdx1 (replace x with your drive letter).
- For Fat32, type mkfs.vfat -F 32 /dev/sdx1 (replacing x with your drive letter)
- For exFAT, (if using Ubuntu or Debian), type apt install exfat-utils and then type mkfs.exfat /dev/sdx1 (again replace x with your drive letter)
"Type fdisk -l and note which letter belongs to your flash drive."
kończy taką procedurę
Dodano po pewnym czasie:
@omkar
Dzięki za wskazówki.
"Dyski" pokazują tego pendrive
ale chyba ze względu na "read only"
dezaktywuje większość funkcji
testowanie szybkości pokazuje ok. 4Mb/s
Obawiam się, że GParted zachowa się podobnie.
Myślę, że potrzebne jest jakieś narzędzie niskiego
poziomu obsługujące pamięć elektroniczną (nie magnetyczną na dysku).
![[Obrazek: ahFa9qwl.png]](https://i.imgur.com/ahFa9qwl.png)
Dodano po pewnym czasie:
Jeszcze wynik użycia parted:
(parted) select /dev/sdc
Ostrzeżenie: Nie można otworzyć /dev/sdc jednocześnie w trybie do odczytu i zapisu (System plików
wyłącznie do odczytu). /dev/sdc został otwarty tylko w trybie do odczytu.
Użycie /dev/sdc
(parted) print
Model: General USB Flash Disk (scsi)
Dysk /dev/sdc: 65,0GB
Rozmiar sektora (logiczny/fizyczny): 512B/512B
Tablica partycji: msdos
Flagi dysku:
Numer Początek Koniec Rozmiar Typ System plików Flaga
1 1049kB 65,0GB 65,0GB primary ext4
Jak zmienić tryb z "tylko do odczytu" odczyt/zapis?
Wtedy chyba będzie można coś z tym pendrive'm dalej robić