Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-13-2006, 04:16 AM   #1
LQ Newbie
Registered: Mar 2006
Distribution: Debian
Posts: 5

Rep: Reputation: 0
Primary boot sector is invalid

I have upgraded from Debian Sarge to Etch.
Until now I cannot boot windows form my first partition with grub.
Filesystem type unknown partition type 0x7
Furthermore I get this messages while I'm booting Debian:
NTFS driver 2.1.25 [Flags: R/W MODULE].
NTFS-fs warning (device hda1): is_boot_sector_ntfs(): Invalid boot sector checksum.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs warning (device hda1): read_ntfs_boot_sector(): Hot-fix: Recovery of primary boot sector failed: Read-only mount.
NTFS-fs warning (device hda1): read_ntfs_boot_sector(): Using backup boot sector.
NTFS volume version 3.1.
Here is my win-related part of my /boot/grub/menu.lst:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title           win
root            (hd0,0)
chainloader     +1
And finally my fdisk -l:
Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       12748   102398278+   7  HPFS/NTFS
/dev/hda2           12749       30401   141797722+   f  W95 Ext'd (LBA)
/dev/hda5           12749       16572    30716248+   b  W95 FAT32
/dev/hda6           16573       16576       32098+  83  Linux
/dev/hda7           16577       29585   104494761   83  Linux
/dev/hda8           29586       29707      979933+  83  Linux
/dev/hda9           29708       30315     4883728+  83  Linux
/dev/hda10          30316       30401      690763+  82  Linux swap / Solaris
What can I do?
Old 03-14-2006, 06:39 AM   #2
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
The grub-entry for windows should say:
rootnoverify (hd0,0)
instead of:
root (hd0,0)
Old 03-15-2006, 02:54 AM   #3
LQ Newbie
Registered: Mar 2006
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Yes, I tried. But there was the same problem and "root (hd0,0)" had always worked before.

I have done a fixboot with my win-setup-cd to delete grub form the mbr. Now I'd succesfully booted win with a previously created lilo-floppy.

now back to linux (with lilo) there aren't ntfs warnings/errors any more

Last edited by gunter06; 03-15-2006 at 03:21 AM.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mkdosfs generates invalid boot sector HadroLepton Linux - Newbie 6 10-28-2010 12:26 PM
Dual boot primary Linspire & XP primary slave? watmonki Linspire/Freespire 5 11-01-2005 08:16 PM
MBR & boot invalid sector... emamarro Linux - Newbie 4 01-11-2005 01:18 PM
Boot Sector on dual boot PC. Remove Mandrake and replace with FreeBSD Phin666 *BSD 1 10-30-2004 05:02 PM
boot loader, MBR, redhat9 on primary slave, winxp on primary master samik Linux - Hardware 4 10-15-2003 08:55 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:16 AM.

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