Newsgroup: it.comp.os.linux.sys
Titolo: Aggiornamento Ubuntu da versione 15.10 a 16.10

Ciao,
sto eseguendo l'aggiornamento della versione Ubuntu 16.10 tramite il 
comando update-manager -c -d ma non l'attività viene interrotta perchè 
non c'è spazio suffficente nella dir /boot e non so come fare a 
ridimensinarla.
Eccovi delle conf che potrebbero servirvi per aiutarmi:
 
Grazie 1000
 
 
df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            2,0G     0  2,0G   0% /dev
tmpfs           393M  6,3M  387M   2% /run
/dev/dm-0       455G  5,3G  426G   2% /
tmpfs           2,0G  128K  2,0G   1% /dev/shm
tmpfs           5,0M  4,0K  5,0M   1% /run/lock
tmpfs           2,0G     0  2,0G   0% /sys/fs/cgroup
/dev/sda1       236M  139M   85M  63% /boot
tmpfs           393M   36K  393M   1% /run/user/1000
 
 
sudo fdisk -l
[sudo] password for davide:
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: 465,8 GiB, 500107862016 bytes, 976773168 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
Disklabel type: dos
Disk identifier: 0x5f7bd54d
 
Device     Boot  Start       End   Sectors   Size Id Type
/dev/sda1  *      2048    499711    497664   243M 83 Linux
/dev/sda2       501758 976771071 976269314 465,5G  5 Extended
/dev/sda5       501760 976771071 976269312 465,5G 8e Linux LVM
 
Partition 2 does not start on physical sector boundary.
 
 
 
 
Disk /dev/mapper/xubuntu--vg-root: 461,6 GiB, 495624126464 bytes, 
968015872 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/mapper/xubuntu--vg-swap_1: 3,9 GiB, 
4169138176
 bytes, 8142848 
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

 ridimensinarla.
 
Cancella qualche file... :-)
 
Magari la cosa piu` semplice e` vedere cosa ci
sia un /boot che occupa spazio e se serve.
 
Tipicamente Ubuntu tiene tutti i kernel installati
ab urbe condita e quindi occupa spazio in /boot
senza che sia realmente necessario.
Io, di solito, tengo solo gli ultimi 3.
Seconda cosa, conviene configurare (non ricordo
dove) il sistema in modo da fare initramfs minimo.
A meno che non si debba fare il boot su HW diversi.
 
bye,
 
pg

-- 
 
piergiorgio

>>>>  
http://www.bb2002.it
 :)  <<<<<
........... [ al lavoro ] ...........

 sia un /boot che occupa spazio e se serve.
 
Grazie per la risposta.
Ho eliminato quello che non mi era più necessario, ma vorrei 
ridimensionare la partizione almeno di 2 Gb ora è 236 M
 
Cheers

 ridimensionare la partizione almeno di 2 Gb ora č 236 M
 
Cerca "non destructive MBR partition resizing", non so se avendo LVM ci 
possono essere problemi, immagino si debba poi intervenire anche lě.
 
 
-- 
Andrea
 

 ridimensionare la partizione almeno di 2 Gb ora è 236 M
 
Ma non ti serve, 236M bastano ed avanzano.
Devi solo fare manutenzione.
 
Fermo restando che ognuno decide come vuole,
diciamo che, se proprio sei convinto, 512MB
sono una misura buona.
 
bye,
 
-- 
 
piergiorgio