LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


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

Rep: Reputation: 1
Primary boot sector is invalid


Hi,
I have upgraded from Debian Sarge to Etch.
Until now I cannot boot windows form my first partition with grub.
error:
Code:
Filesystem type unknown partition type 0x7
Furthermore I get this messages while I'm booting Debian:
Code:
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:
Code:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title           win
root            (hd0,0)
savedefault
makeactive
chainloader     +1
And finally my fdisk -l:
Code:
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
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

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

Original Poster
Rep: Reputation: 1
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.

edit:
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration