Salve, ho un SSD da 120 GB, dove è presente un dual boot windows 10 è ubuntu 16.04, visto che ho poco spazio e sopratutto voglio evitare danni all' SSD voglio spostare la partizione di swap di ubuntu su un hard disk esterno.
I passaggi da seguire mi spiegavano che sono questi :
1. disabiliterei l'attuale swap seguendo il wiki
2. commenterei la voce dell'attuale swap in fstab
3. live di Ubuntu per eliminare la swap su ssd ed estendere la partizione primaria per recuperare lo spazio
4. riduzione della partizione del disco esterno e creazione di una partizione di swap nell'area libera creata
5. setting della nuova partizione di swap, seguendo il wiki
6. aggiornamento dell'fstab
Queste sono le guide che mi hanno indicato :
https://wiki.archlinux.org/index.php/swap#Swap_space
http://wiki.ubuntu-it.org/Hardware/DispositiviPartizioni/SwapDomandeFrequenti
Adesso vorrei cominciare se è possibile con la parte più delicata, la partizione dell'hard disk esterno, ho dati importanti all'interno e non vorrei commettere errori
La situazione dei dischi è questa :
I passaggi da seguire mi spiegavano che sono questi :
1. disabiliterei l'attuale swap seguendo il wiki
2. commenterei la voce dell'attuale swap in fstab
3. live di Ubuntu per eliminare la swap su ssd ed estendere la partizione primaria per recuperare lo spazio
4. riduzione della partizione del disco esterno e creazione di una partizione di swap nell'area libera creata
5. setting della nuova partizione di swap, seguendo il wiki
6. aggiornamento dell'fstab
Queste sono le guide che mi hanno indicato :
https://wiki.archlinux.org/index.php/swap#Swap_space
http://wiki.ubuntu-it.org/Hardware/DispositiviPartizioni/SwapDomandeFrequenti
Adesso vorrei cominciare se è possibile con la parte più delicata, la partizione dell'hard disk esterno, ho dati importanti all'interno e non vorrei commettere errori
La situazione dei dischi è questa :
Codice:
itx@itx-MS-7851:~$ sudo fdisk -l
[sudo] password di itx:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/sda: 1,8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0xbd761ebd
Dispositivo Avvio Start Fine Settori Size Id Tipo
/dev/sda1 2048 3907026943 3907024896 1,8T 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 111,8 GiB, 120034123776 bytes, 234441648 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: 0xcbdeb2ef
Dispositivo Avvio Start Fine Settori Size Id Tipo
/dev/sdb1 * 2048 1026047 1024000 500M 7 HPFS/NTFS/exFAT
/dev/sdb2 1026048 164806655 163780608 78,1G 7 HPFS/NTFS/exFAT
/dev/sdb3 221419520 234434559 13015040 6,2G 82 Linux swap / Solaris
/dev/sdb4 164806656 221419519 56612864 27G 83 Linux
Partition table entries are not in disk order.
itx@itx-MS-7851:~$
Codice:
itx@itx-MS-7851:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=c6a68d2e-d479-4e2a-a4e8-c6cb6b8d3792 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=647afc29-178b-492c-80f7-a88880eeb4c0 none swap sw 0 0
itx@itx-MS-7851:~$
Ultima modifica: