51

Odp: Zepsułem połączenie internetowe w wdr3600

Można, po prostu znów na tej partycji swap  i go sobie aktywuj (mkswap /dev/sda1 i dodaj do fstaba).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

52

Odp: Zepsułem połączenie internetowe w wdr3600

Cezary napisał/a:

Można, po prostu znów na tej partycji swap  i go sobie aktywuj (mkswap /dev/sda1 i dodaj do fstaba).

Aktywację rozumiem , ale muszę użyć fdisk czy jest jakieś polecenie typu - formatuj /dev/sda1 na swap smile

53

Odp: Zepsułem połączenie internetowe w wdr3600

Możesz użyć fdiska i zmienić typ partycji na linux swap, jeżeli jest inna.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

54 (edytowany przez Szoszon 2024-05-23 06:54:12)

Odp: Zepsułem połączenie internetowe w wdr3600

Zmieniłem mu niestety format partycji :

/dev/sda1: UUID="ab79178b-7598-4285-b79e-c24e01982a71" VERSION="1.16" TYPE="f2fs"

Wystarczy jak zrobię tylko tak w fdisk ? bo przecież nie mogę mu już dać nowej partycji.

root@OpenWrt:# fdisk /dev/sda 
The number of cylinders for this disk is set to 7301.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
            (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): d
Selected partition 1

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 82
Changed system type of partition 1 to 82 (Linux swap / Solaris)

Command (m for help): w
The partition table has been altered!

55

Odp: Zepsułem połączenie internetowe w wdr3600

Tak, tylko zmieniasz typ partycji, mkswap na niej i dodaj sobie do fstaba.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

56

Odp: Zepsułem połączenie internetowe w wdr3600

Wszystko już śmiga , dziękuję za pomoc @Cezary smile