Pagina 1 di 1
Montare in automatico le partizioni all'avvio di ubuntu.
Inviato: mercoledì 16 novembre 2011, 7:24
da danny92
Salve ragazzi ieri ho installato ubuntu 11.10 32 bit nel mio pc..
l'unica cosa che ancora non sono riuscito a sistemare,per quanto riguarda le mie esigenze,è il montaggio automatico, all'avvio del pc,delle partizioni D-E.. cosa dovrei fare ?!
Re: Montare in automatico le partizioni all'avvio di ubuntu.
Inviato: mercoledì 16 novembre 2011, 7:35
da steff
Re: Montare in automatico le partizioni all'avvio di ubuntu.
Inviato: mercoledì 16 novembre 2011, 12:45
da magozurlinux
Da terminale postami questi comandi:
Re: Montare in automatico le partizioni all'avvio di ubuntu.
Inviato: lunedì 21 novembre 2011, 22:51
da Kernel90
Se posso approfittare, io ho lo stesso "problema"!
Nel mio caso il risultato è:
Codice: Seleziona tutto
pier@pier-P5K-SE:~$ sudo fdisk -l
[sudo] password for pier:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 testine, 63 settori/tracce, 38913 cilindri, totale 625142448 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x00065f23
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 335589375 167691264 7 HPFS/NTFS/exFAT
/dev/sda3 335591422 538890239 101649409 5 Esteso
/dev/sda4 538890240 543084543 2097152 c W95 FAT32 (LBA)
/dev/sda5 335591424 343578623 3993600 82 Linux swap / Solaris
/dev/sda6 343580672 402171903 29295616 83 Linux
/dev/sda7 402173952 538890239 68358144 83 Linux
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 testine, 63 settori/tracce, 243201 cilindri, totale 3907029168 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0xd8cf8e23
Dispositivo Boot Start End Blocks Id System
/dev/sdb1 2048 3902829309 1951413631 7 HPFS/NTFS/exFAT
Nota: la dimensione del settore è 4096 (non 512)
Disk /dev/sdg: 3000.6 GB, 3000558944256 bytes
1 testine, 1 settori/tracce, 732558336 cilindri, totale 732558336 settori
Unità = settori di 1 * 4096 = 4096 byte
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Identificativo disco: 0x000246c6
Dispositivo Boot Start End Blocks Id System
/dev/sdg1 256 732558335 2930232320 7 HPFS/NTFS/exFAT
Disk /dev/sdh: 1500.3 GB, 1500301910016 bytes
255 testine, 63 settori/tracce, 182401 cilindri, totale 2930277168 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x0017ca2e
Dispositivo Boot Start End Blocks Id System
/dev/sdh1 2048 2930271427 1465134690 7 HPFS/NTFS/exFAT
Codice: Seleziona tutto
pier@pier-P5K-SE:~$ sudo blkid
/dev/sda1: LABEL="Riservato per il sistema" UUID="687EE9E87EE9AECE" TYPE="ntfs"
/dev/sda2: UUID="D0EAECB4EAEC97CC" TYPE="ntfs"
/dev/sda4: LABEL="DISCO SMALL" UUID="AE7F-A373" TYPE="vfat"
/dev/sda5: UUID="966f4b12-4c6f-4c99-987b-f8983edbca78" TYPE="swap"
/dev/sda6: UUID="53e93fb9-dc33-4cd8-bf28-5bc0a2fcfef3" TYPE="ext4"
/dev/sda7: UUID="f3ca1140-1a33-41a8-875e-c3e1bcaee0b7" TYPE="ext4"
/dev/sdb1: LABEL="Volume" UUID="A40499DE0499B430" TYPE="ntfs"
/dev/sdg1: LABEL="My Book" UUID="C6B89CABB89C9B8D" TYPE="ntfs"
/dev/sdh1: LABEL="Elements" UUID="5ADC7B9ADC7B6EDF" TYPE="ntfs"
Codice: Seleziona tutto
pier@pier-P5K-SE:~$ 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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=53e93fb9-dc33-4cd8-bf28-5bc0a2fcfef3 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda7 during installation
UUID=f3ca1140-1a33-41a8-875e-c3e1bcaee0b7 /home ext4 defaults,user_xattr 0 2
# swap was on /dev/sda5 during installation
UUID=966f4b12-4c6f-4c99-987b-f8983edbca78 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sdb1 /media/Volume ntfs defaults 0 0
Nel mio caso vorrei poter montare automaticamente le partizioni indicate come Volume e DISCO SMALL (peraltro: c'è mica un modo "indolore" per cambiarle nome? Il fatto che sia in due parole separate inizia ad essere alquanto scomodo...). Grazie in anticipo e scusate l'intrusione!
Re: Montare in automatico le partizioni all'avvio di ubuntu.
Inviato: martedì 22 novembre 2011, 8:08
da steff
IL nome (l'etichetta) la puoi cambiare con gparted o da gestore dischi.
La riga da inserire per fat/ntfs
LABEL=NOME_DISCO /media/cartella_che_vuoi1 vfat iocharset=utf8,umask=000 0 0
LABEL=NOME_DISCO /media/cartella_che_vuoi 2 ntfs-3g silent,umask=0,locale=it_IT.utf8 0 0
Devi anche creare le due directory in /media che starai usando: