fat12 problem or GRUB problem...
fat12 problem or GRUB problem...
Hi...
last month I implemented fat12 file system,and I was playing with
it last night any way when I make any new folder or a new text file
I can see it from windows and it works perfectly,
but here is the problem...after creating new folder or new text file
and restarting Boch's ,I can't boot again GRUB gives me this message:
Error 16: inconsistaint file system structure...
Did any body have this problem before?
Or do you know what is wrong?
Thanx
last month I implemented fat12 file system,and I was playing with
it last night any way when I make any new folder or a new text file
I can see it from windows and it works perfectly,
but here is the problem...after creating new folder or new text file
and restarting Boch's ,I can't boot again GRUB gives me this message:
Error 16: inconsistaint file system structure...
Did any body have this problem before?
Or do you know what is wrong?
Thanx
The man who follows the crowd will usually get no further than the crowd.
The man who walks alone is likely to find himself in places
no one has ever been before.
The man who walks alone is likely to find himself in places
no one has ever been before.
So...
what should I do?
how can I figure out the problem?
didn't you guys have this problem before?
Any suggsetions are welcome...
Thanx.
what should I do?
how can I figure out the problem?
didn't you guys have this problem before?
Any suggsetions are welcome...
Thanx.
The man who follows the crowd will usually get no further than the crowd.
The man who walks alone is likely to find himself in places
no one has ever been before.
The man who walks alone is likely to find himself in places
no one has ever been before.
Have you tried the LFN suggestion by jal? How about the FAT32 suggestion by JamesM? Can Windows continue to read the disk after the first write? Can another OS like Linux, or is the problem specific to GRUB?
What medium is your FS on? I read before that the type of FAT system is based purely on number of sectors, not on the information in the BPB, so it may be worth checking that.
Can you dump parts of the BPB, root and FAT yourself to verify that everything is as you expect?
Cheers,
Adam
What medium is your FS on? I read before that the type of FAT system is based purely on number of sectors, not on the information in the BPB, so it may be worth checking that.
Can you dump parts of the BPB, root and FAT yourself to verify that everything is as you expect?
Cheers,
Adam
Yes windows can read the Disk and I can see my new folder or my new text file and I can read it from windows...Can Windows continue to read the disk after the first write? Can another OS like Linux, or is the problem specific to GRUB?
the problem comes after creating new folder or text file and then
rebooting Bochs GRUB can't boot again and gives me this :
Error 16: inconsistaint file system structure
Yes, and every thing is as I expect...Can you dump parts of the BPB, root and FAT yourself to verify that everything is as you expect?
Thanx.
The man who follows the crowd will usually get no further than the crowd.
The man who walks alone is likely to find himself in places
no one has ever been before.
The man who walks alone is likely to find himself in places
no one has ever been before.
Try it on a linux liveCD - see what it gets mounted as (FAT12, FAT32) etc. Also if you go into your floppy drive mountpoint in a terminal on the liveCD (usually mounts at /media/floppy or something) then do an "ls -l", you should see EXACTLY what is on there - sizes, permissions etc.
You will also see any "hidden" or "special system files" windows may have created implicitly (I'm thinking of folders such as Thumbs_DB: That existed on XP and if you're using vista there's probably more of those such things to hold folder setup memories etc). You can also delete them from there
You may want to try "ls -la" instead. The 'a' tells ls to list ALL files (files prefixed with a dot (.) are not shown normally).
You will also see any "hidden" or "special system files" windows may have created implicitly (I'm thinking of folders such as Thumbs_DB: That existed on XP and if you're using vista there's probably more of those such things to hold folder setup memories etc). You can also delete them from there
You may want to try "ls -la" instead. The 'a' tells ls to list ALL files (files prefixed with a dot (.) are not shown normally).
Unfortunatally I don't use linux, I use winxp...
As you know every fat file system has two copies of fat table,
what I do after creating my folder or my file ,I only change the
first copy of fat table and leave the second one without change,
so do you think this might be the problem?
I tried to update the second copy of fat to become identical with the first
one,but nothing changed...
the problem here I'm not sure if I did it in the right way...
Thanx.
As you know every fat file system has two copies of fat table,
what I do after creating my folder or my file ,I only change the
first copy of fat table and leave the second one without change,
so do you think this might be the problem?
I tried to update the second copy of fat to become identical with the first
one,but nothing changed...
the problem here I'm not sure if I did it in the right way...
Thanx.
The man who follows the crowd will usually get no further than the crowd.
The man who walks alone is likely to find himself in places
no one has ever been before.
The man who walks alone is likely to find himself in places
no one has ever been before.
How about download GRUB source, look into it to see why it would possibly signal such an error, and then check that you aren't violating any of the assumptions GRUB makes..
The real problem with goto is not with the control transfer, but with environments. Properly tail-recursive closures get both right.