PDA

View Full Version : filesystem HD corrotto,come ripristinarlo?


^[H3ad-Tr1p]^
01-05-2006, 20:32
salve a tutti

ho fatto un paciugo ed ora il sistema durante il boot mi dice che non puo' montare /dev/hda5 che sarebbe la mia home nonche' la parte di disco su cui ho tutti i mieo dati salvati compresi bookmark,mail eccc

vi spiego che e' successo
stavo cercando di fare un backup con k3b e ho spostato furbamente un po' di cartelle di sistema /etc /opt /var e /boot nella home per masterizzarle su un disco

ad un certo punto il sistema e' imazzito ed ho dovuto riavviare
al riavvio mi dice che non mi puo' montare la partizione del disco

root@Storm:~# mount -a
mount: wrong fs type, bad option, bad superblock on /dev/hda5,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


root@Storm:~# dmesg | tail
USB Mass Storage support registered.
VFS: Can't find ext3 filesystem on dev hda5.
Vendor: Generic Model: Flash R/W Rev: 2002
Type: Direct-Access ANSI SCSI revision: 02
usb-storage: device scan complete


ho provato a fare:
root@Storm:~# e2fsck -b 8193 /dev/hda5
e2fsck 1.38 (30-Jun-2005)
e2fsck: Bad magic number in super-block while trying to open /dev/hda5

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

ma non funziona nemmeno con il -p

il filesystem era ext3

ho provato a vedere con cfdisk la vede ed ho riscitto la tabella pero' non camba nulla

c'e' un modo per rpristinarlo? altrimenti sono rovinato

se fosse solo un errore di sistema se provassi a reinstallare slackware mi vedrebb la partizione e potrei montarla in fase di installazione?

Scoperchiatore
01-05-2006, 20:44
Prova a partire con una Live, tipo Knoppix o Gentoo o Ubuntu, e vedere se la partizione viene rilevata correttamente.

Inoltre controlla su fstab se è tutto a posto, non si sa mai.

Altro ancora, prova a fare fdisk /dev/hda e vedi se ti dice qualcosa sul fatto che l'HD è danneggiato o simili.

^[H3ad-Tr1p]^
02-05-2006, 15:14
root@Storm:~# fdisk /dev/hda

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



e questo e' per /dev/hda5 che e' quello che non funziona

root@Storm:~# fdisk /dev/hda5
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


The number of cylinders for this disk is set to 131755.
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)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help):


adesso vedo se ho una live in casa e provo a farlo partire cosi'

^[H3ad-Tr1p]^
02-05-2006, 15:32
con knoppix dopo essere stato avviato,cliccando sull icona del /dev/hda5 mi dice:

Could not mount device the reperted error was:
mount: I could not determine the filesystem type,and none was specified

cosa puo' essere?
si puo' riparare quest errore?

^[H3ad-Tr1p]^
04-05-2006, 11:27
up :cry:

Scoperchiatore
04-05-2006, 17:20
Ma Windows te le vede queste partizioni?

^[H3ad-Tr1p]^
05-05-2006, 14:05
Ma Windows te le vede queste partizioni?


non lo so anche perche' win non cel ho

comunque linux le vede solo che non le monta

un altra info di dmesg | tail

FAT: bogus number or reservered sectors
VFS: can't' find a valid FAT filesystem on dev hda5
EXT3-fs: mounted filesystem with ordered data mode


credo che sia la partizioncina di dos davanti all ext3 ad essere corrotta per cui non sa come leggere il disco
davanti alle ext dovrebbe esserci una partizioncina di dos che dovrebbe servire al sistema per montare le partizioni esatte,senza quella con relativo file non puo' montarla perche' non sa cosa c e' dietro,vede solo la dimensione e basta in quanto rilevata dal bios

come posso fare per ripristinarla?

^[H3ad-Tr1p]^
06-05-2006, 19:21
io ho un altro pc con windows su questo ho solo linux
come posso fare per accedere all HD di questo pc tramite l altro?

tramite usb si puo'?
l S.O. su questo dev essere caricato?

oppure devo smontare l HD dal portatile e metterlo sull altro pc?pero' gli attacchi per collegarlo dell HD sono gli stessi per gli HD dei portatili e quelli dei pc desktop?

^[H3ad-Tr1p]^
08-05-2006, 19:03
up :muro: :cry:

sbomberino
09-05-2006, 00:29
con fsck va?