[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tabella delle partizioni andata?





NN_il_Confusionario ha scritto:
On Sat, Dec 30, 2006 at 10:46:40AM +0200, Genki Pegoraro wrote:
----------------------cut-------------------

genkideb@ubuntu3:~$ file -s /dev/sda*

questo (e gli altri comandi) dovevi darli da root (e servono a vedere se
i dati attualmente presenti sul disco ancora corrispondono alla tabella
delle partizioni che il kernel al boot si e` caricata in memoria)

Sara il caldo (31°C) ma questa proprio...... :-)
Beh! rimediamo subito

genkideb@ubuntu3:~$ sudo file -s /dev/sda*
/dev/sda:  x86 boot sector, code offset 0x49
/dev/sda1: x86 boot sector, code offset 0x52, OEM-ID "NTFS    ",
sectors/cluster  8, reserved sectors 0, Media descriptor 0xf8, heads
255, hidden sectors 63, dos  < 4.0 BootSector (0x80)
/dev/sda2: x86 boot sector, extended partition table
/dev/sda3: x86 boot sector, extended partition table
/dev/sda5: x86 boot sector
/dev/sda6: Linux/i386 swap file (new style) 1 (4K pages) size 377518 pages
/dev/sda7: Linux rev 1.0 ext3 filesystem data (needs journal recovery)
/dev/sda8: Linux/i386 swap file (new style) 1 (4K pages) size 152608 pages
/dev/sda9: Linux rev 1.0 ext3 filesystem data
genkideb@ubuntu3:~$

genkideb@ubuntu3:~$ sudo fdisk -l /dev/sda

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3183    25567416    7  HPFS/NTFS
/dev/sda2            3879        4729     6835657+  83  Linux
/dev/sda3            3184        9729    52580745    5  Esteso
/dev/sda5            3184        3560     3028221   83  Linux
/dev/sda6            4730        4917     1510078+  82  Linux swap / Solaris
/dev/sda7            4918        9729    38652358+  83  Linux
/dev/sda8            3561        3636      610438+  82  Linux swap / Solaris
/dev/sda9            3637        3878     1943833+  83  Linux

Partition table entries are not in disk order
genkideb@ubuntu3:~$

Interessante ed esauriente l'ultima riga :-(
C'e' un "leggero" disordine :-/
Allora: Per dovere di cronaca il disco e' un "sata" montato su un
portatile (unico computer a mia disposizione) toshiba Tecra A4.
In pratica, mandriva mi ha preso la 3° partizione estesa me l'ha
portata al cilindro 3184 passando "sopra" la 2°, invece di usare l'ultima primaria (la 4°) e trasformarla in estesa. Questo da mandriva non me lo sarei mai aspettato, eh! c'e' sempre una prima volta. E la cosa, ora, si fa complicata :-(

Altro possibile comando utile:
head /dev/sda|strings

genkideb@ubuntu3:~$ sudo head /dev/sda | strings
GRUBP
8,|     u
ZRrJ
D|f1
GRUB
Geom
Hard Disk
Read
 Error
pPf1
Loading stage1.5
Geom
Read
 Error
0.95
/boot/grub/stage2 /boot/grub/menu.lst
^_[]
t<<%t

Enigmatico :-)



head /dev/sda1|strings

genkideb@ubuntu3:~$ sudo head /dev/sda1 | strings
NTFS
fXfX
Errore lettura da disco
NTLDR mancante
NTLDR compresso
Premere CTRL+ALT+CANC per riavviare
W       f3
g:H
g:J@
f`gf
genkideb@ubuntu3:~$

Qui per me e' arabo ;-)

eccetera

come sopra.

Nota che sono parecchi anni che non scrivo piu` in lista (comunque
l'output dei comandi serve anche a chi in lista ti volesse aiutare).

Molte grazie per l'aiuto.

Adesso tutto sta nel rimetere ordine nella tabella del disco senza fare
ulteriori disastri e vedere di dar posto a etch :-)

grazie ancora

Ciao Genki ):o))


----
If you feel this message is spam, please address complaints to abuse@tvcabo.co.mz.
Full e-mail headers and the message will help us process the problem more swiftly.



Reply to: