LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-03-2003, 04:40 PM   #1
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Utterly fascinating boot sector problem: "Differences: (offset:original/backup)"


This is not a big problem - it's an irritation, because it slows boot time. More irritating is the fact that I'm not sure how it happened.

I was busy installing Windows 2000 on VFAT (I only use it to test ASP.NET stuff for go-mono.org) although it's better than every other offering of theirs. Aneeway, I get this message now on startup:
Code:
Dec 30 18:44:21 localhost fsck: dosfsck 2.8, 28 Feb 2001, FAT32, LFN
Dec 30 18:44:21 localhost fsck: There are differences between boot sector and its backup.
Dec 30 18:44:21 localhost fsck: Differences: (offset: original/backup)
Dec 30 18:44:21 localhost fsck:   90:33/fa, 91:c9/33, 92:8e/c9, 93:d1/8e, 94:bc/d1
Dec 30 18:44:21 localhost fsck:   , 97:8e/7b, 98:c1/8e, 99:8e/c1, 100:d9/bd
Dec 30 18:44:21 localhost fsck:   , 105:4e/00, 106:02/1e, 107:8a/56, 108:56/16
Dec 30 18:44:21 localhost fsck:   , 111:08/22, 112:cd/05, 113:13/89, 114:73/7e
Dec 30 18:44:21 localhost fsck:   , 117:ff/4e, 118:ff/02, 119:8a/b1, 120:f1/0b
And much, much more. When I first tried to correct this with fsck.vfat it asked me which to copy, backup to original or original to backup. Technically that's a confusing question, as your original is your backup and the new is the err, new, isn't it?

So I can't make this problem go away now because presumably, the original is the same as the backup. (I'm assuming fsck.vfat is talking about the offset of the mbr, but grub is installed there).

Any ideas, anyone?

Thanks
Bert

Last edited by Bert; 01-03-2003 at 04:42 PM.
 
Old 01-04-2003, 06:15 PM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Original Poster
Rep: Reputation: 46
Told you it was fascinating.

*yawn*

There must be someone who knows? Unfortunately there's no fdisk /mbr on Windows 2000, and reinstalling grub won't work.

Ah well.
 
Old 01-05-2003, 12:05 PM   #3
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Original Poster
Rep: Reputation: 46
Well, this is how it was fixed.

Windows is not so hot at managing it's boot sector, and Windows 2000 doesn't even have fdisk. To make sure it was repaired properly I used the Win2000 disk and went into repair mode.

Run fsck.vfat in Linux with the -ar switches to write the repair to the disk.

After that of course, you can re-write the mbr with grub or lilo or whatever.

The moral of the story is: Windows 2000 is really rubbish at managing itself at the partition level.

I know everyone was very anxious to get a solution for that one. Phew!

Bert

Last edited by Bert; 01-05-2003 at 12:29 PM.
 
Old 04-30-2007, 06:04 PM   #4
willz06jw
LQ Newbie
 
Registered: Apr 2007
Posts: 9

Rep: Reputation: 0
Wink Thanks Bert

Bert, I know you wrote this over 4 years ago but I had the same problem with 7.04 Ubuntu Feisty. I cleared it up by using

Code:
sudo umount /dev/hda1
and then
Code:
sudo fsck.vfat -ar /dev/hda1
It fixed me right up.


Thanks,
Will
 
Old 07-01-2013, 05:29 PM   #5
phantom630
LQ Newbie
 
Registered: Nov 2005
Distribution: Ubuntu Lucid Lynx
Posts: 5

Rep: Reputation: 0
the ritual :)

...and 6 years after the last post; this thread helped me repair my FAT bootsectors after a Windows repair operation in my multiboot computer.

i think this thread is something like a ritual, happening every several years

thanks to the OP!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dosfsck of FAT32 differences between boot sector and its backup TomF Linux - Hardware 1 09-29-2005 10:55 AM
"Boot sector" problem GruiX Linux - Software 3 11-09-2004 09:49 AM
boot record backup "dd if=/dev/hda1 bs=512 count=1 of=myfile" csDraco_ Slackware 4 04-20-2003 01:10 PM
"LI" from boot floppy? Can't load XP or Linux. Damaged MBR or boot sector or ...? SparceMatrix Linux - General 10 09-27-2002 01:20 PM
Differences between the "free" and "paid" versions eraser Linux - General 1 08-03-2000 04:35 PM


All times are GMT -5. The time now is 02:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration