Il 08/01/2018 13:05, valerio ha scritto: > Il 08/01/2018 11:45, Portobello ha scritto: >> Il 07/01/2018 20:45, Davide Prina ha scritto: >>> On 07/01/2018 16:51, Portobello wrote: >>>> W: initramfs-tools configuration sets >>>> RESUME=UUID=6f1e6000-25d4-48ee-8b8e-5707d439adc6 >>> >>>> W: but no matching swap device is available. >>> >>> forse è questo il problema. Nel secondo messaggio sembra non riesca a >>> trovare il dispositivo che hai indicato da usarsi come swap, nel primo >>> dovresti vedere a cosa corriponde quell'UUID >>> >>> $ 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> >> # SWAP >> UUID=2fb71423-215e-441c-a6c0-408ed21d62bb none swap sw 0 0 >> # / >> UUID=d21b8aa2-5dfd-4863-be72-879f09658026 / ext4 >> noatime,errors=remount-ro 0 1 >> # /home >> UUID=8e8ca5a9-f084-4ba6-a506-8fabb04b8dbf /home ext4 noatime >> 0 2 >> # cdrom >> /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 >> >> >>> $ df -h >> Filesystem Size Used Avail Use% Mounted on >> udev 2,0G 0 2,0G 0% /dev >> tmpfs 402M 1000K 401M 1% /run >> /dev/sdb7 61G 9,0G 49G 16% / >> tmpfs 5,0M 4,0K 5,0M 1% /run/lock >> tmpfs 804M 3,9M 800M 1% /run/shm >> /dev/sdb8 67G 34G 30G 54% /home >> cgroup 12K 0 12K 0% /sys/fs/cgroup >> tmpfs 402M 28K 402M 1% /run/user/1002 >> tmpfs 402M 0 402M 0% /run/user/65534 >> tmpfs 402M 0 402M 0% /run/user/106 >> >> >>> >>> $ /sbin/findfs UUID=6f1e6000-25d4-48ee-8b8e-5707d439adc6 >> findfs: unable to resolve 'UUID=6f1e6000-25d4-48ee-8b8e-5707d439adc6' >> >> Ma se da terminale do il comando swapon /dev/sdb5 la partizione di swap >> viene montata. >> C'è anche una partizione di swap su /dev/sda5. > > > ciao, > mi sembra che tu abbia un po' di confusione fra il disco 'a' ed il disco > 'b': dovresti (da bios) vedere da dove parte il sistema, poi dare blkid > per capire le partizioni attive e non e sistemare lo swap in fstab. > probabilmente era per quello che il grub non veniva messo nel disco > giusto... > Da Bios Sul Primary IDE Slave c'è : Hard Disk Maxtor da 80 Gb (visto come sda) Il disco è un po vecchiotto ancora di tipo IDE con la piattina larga. Sul Secondary non c'è niente. Sul Third IDE Master c'è : Seagate 250 Gb (visto come sdb). Questo è di tipo Sata. Per me è il disco principale. Sul Fourth IDE Master c'è : CD/DVD Rom
L'altro giorno ho dato da terminale update-grub e grub-install /dev/sdb Quindi è partito dal disco Seagate su sdb ed ha caricato l'ultima immagine aggiornata al 4/1/2018. blkid /dev/sda1: LABEL="SB@" UUID="0a5c0d5d-c03c-4777-ba49-03fcfb494929" TYPE="ext4" PARTUUID="00019ddc-01" /dev/sda5: LABEL="SB@SWAP" UUID="6c7f18bc-c62d-472e-a40e-706420fcfbee" TYPE="swap" PARTUUID="00019ddc-05" /dev/sda6: LABEL="SB@home" UUID="437f4b97-bb1e-4e24-abe9-79b27c2b8042" TYPE="ext4" PARTUUID="00019ddc-06" /dev/sdb1: LABEL="SB@" UUID="864edfe4-ca1a-4c39-b492-1ab5ed55f824" TYPE="ext4" PARTUUID="0006b3c6-01" /dev/sdb5: LABEL="SB@SWAP" UUID="e15a6490-8044-4b45-b8ad-f3615faad446" TYPE="swap" PARTUUID="0006b3c6-05" /dev/sdb6: LABEL="SB@home" UUID="62709bc1-367e-4e1a-bb1f-8e51980bf345" TYPE="ext4" PARTUUID="0006b3c6-06" /dev/sdb7: LABEL="SB@" UUID="d21b8aa2-5dfd-4863-be72-879f09658026" TYPE="ext4" PARTUUID="0006b3c6-07" /dev/sdb8: LABEL="SB@home" UUID="8e8ca5a9-f084-4ba6-a506-8fabb04b8dbf" TYPE="ext4" PARTUUID="0006b3c6-08" Grazie. Ciao