Installation / Removal > Apple - Installation/Removal

read only ?

<< < (2/4) > >>

gevaerts:
This ipod that lives on the forums
Gave its owner a lot of problems
No writing afoot
Not even by root
Fsck will teach it some lessons

pondlife:
There once was a read-only DAP,
Whose user got into a flap,
And though philanthropic,
The rhymes, so off-topic,
Did nothing to help the poor chap.

pondlife (gets his coat)

AlexP:
My effort:

The topic that we are discussin'
To do with the subject has nothin'
So let's not be fools,
And follow the rules,
Lest we cause mods to start fussin'

*I'm not chastising anyone here, I just had a 'good' rhyme to use :)

pathe:
It's still read-only.
--- Code: ---# cat /proc/partitions
major minor  #blocks  name

...
   8     0   58605119 sda
   8     1      40131 sda1
   8     2   58564957 sda2
...

# fsck.vfat -a /dev/sda
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Root directory has zero size.
--- End code ---
Then :
--- Code: ---# fsck.vfat -n /dev/sda1
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Currently, only 1 or 2 FATs are supported, not 123.

# fsck.vfat -a /dev/sda2
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
/Histoiredesfemmes/Femmes24sur25.mp3
  Contains a free cluster (74137). Assuming EOF.
/Histoiredesfemmes/Femmes24sur25.mp3
  File size is 24010628 bytes, cluster chain length is 16384 bytes.
  Truncating file to 16384 bytes.
/Willie Alexander/The Holy Babble/waiting_for_bc_kagan.mp3
  Contains a free cluster (763315). Assuming EOF.
Reclaimed 8 unused clusters (131072 bytes) in 4 chains.
Free cluster summary wrong (1721525 vs. really 1721520)
  Auto-correcting.
Performing changes.
/dev/sda2: 3565 files, 1937002/3658522 clusters
#

--- End code ---
More of this :
--- Code: ---# tail -f /var/log/syslog
...
Oct 19 13:17:11 localhost kernel: attempt to access beyond end of device
Oct 19 13:17:11 localhost kernel: sda: rw=0, want=117210240, limit=117210239
Oct 19 13:17:11 localhost kernel: Buffer I/O error on device sda2, logical block 117129914
Oct 19 13:17:11 localhost kernel: attempt to access beyond end of device
Oct 19 13:17:11 localhost kernel: sda: rw=0, want=117210240, limit=117210239
Oct 19 13:17:11 localhost kernel: Buffer I/O error on device sda2, logical block 117129914

--- End code ---
Any idea ? :(

GodEater:
Firstly, don't run fsck.vfat on /dev/sda - that's not a partition, it's the entire disk.

Secondly, don't run it on /dev/sda1 either, that's the firmware partition, and does not contain a filesystem.

Finally, the error messages you get from the check and repair attempt on /dev/sda2 do indeed suggest there's something wrong with with filesystem there. Could you post the results of running fsck.vfat on it a subsequent time ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version