Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GParted e non/riconoscimento partizione di SWAP
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
brigante
n00b
n00b


Joined: 12 Jul 2008
Posts: 37

PostPosted: Mon Mar 22, 2010 6:30 am    Post subject: GParted e non/riconoscimento partizione di SWAP Reply with quote

ola a tutti =)

ragazzi per la prima volta tra tutte le volte che ho installato la mia gentoo mi ritrovo una situazione in cui la swap non viene riconosciuta come invece di solito succede/va.

mi spiego meglio con qualche immagine con GParted...

qui' l'immagine

la swap, /dev/sda4 non viene riconosciuta come tale, ma la da' unknow, mentre in tutte le precedenti installazioni di gentoo questo non succedeva, ora mi domando: è normale?

non credo, nel caso quindi, da cosa puo' dipendere visto che il mio fstab e' il seguente?

Code:
brigante@HaCkLaB ~ $ cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1      /boot      ext3      noauto,noatime   1 2
/dev/sda3      /      ext3      noatime      0 1
/dev/sda4      none      swap      sw      0 0
/dev/cdrom      /mnt/cdrom   auto      noauto,ro   0 0
#/dev/fd0      /mnt/floppy   auto      noauto      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0


aggiungo, che anche se non riconosciuta da GParted, dal sistema naturalmente lo e', infatti da FDisk.

Code:
HaCkLaB ~ # fdisk /dev/sda

The number of cylinders for this disk is set to 19929.
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): p

Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8f8004b1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         137     1100421   83  Linux
/dev/sda2            8650       17681    72549540    5  Extended
/dev/sda3             138        8649    68372640   83  Linux
/dev/sda4           17682       19929    18057060   82  Linux swap / Solaris
/dev/sda5            8651       12952    34555815   83  Linux
/dev/sda6           14939       17681    22033116   83  Linux
/dev/sda7           12953       14938    15952513+  83  Linux

Partition table entries are not in disk order



e' una curiosita' che veramente mi risulta strana, proprio perche e' la prima volta che mi succede.

Code:
HaCkLaB ~ # cat /etc/portage/package.use | grep parted
sys-block/gparted dmraid fat jfs ntfs reiser4 reiserfs xfs


come sempre, grazie a tutti =)
_________________
brigante
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Mon Mar 22, 2010 7:47 am    Post subject: Reply with quote

Hai provato a (ri)dare
Code:
mkswap /dev/sda4
swapon /dev/sda4

fdisk la vede anche se non è formattata.
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
brigante
n00b
n00b


Joined: 12 Jul 2008
Posts: 37

PostPosted: Mon Mar 22, 2010 10:28 am    Post subject: Reply with quote

ciao =)

si, gia' provato, la cosa che mi ha fatto pensare a stranezze e' anche che sotto *deb viene normalmente riconosciuta, come del resto anche nelle precedenti installazioni di gentoo, e' solo in quest'ultima che viene fuori la situazione descritta.

immagine sotto *deb
_________________
brigante
Back to top
View user's profile Send private message
ciro64
Guru
Guru


Joined: 20 Jun 2009
Posts: 424

PostPosted: Mon Mar 22, 2010 10:45 pm    Post subject: Reply with quote

Anch'io noto la stessa cosa con Gparted 0.4.5.
Invece con la ~0.5.2 no.
Penso non ci sia da preoccuparsi di ciò; aggiornamenti futuri metteranno a posto il tutto.
Code:
# fdisk -l
$ free -m
$ dmesg|grep swap

mi vedono tutto correttamente :)
_________________
Gentoo: il sistema più eclettico e geniale che abbia mai provato :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum