LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Primary boot sector is invalid (https://www.linuxquestions.org/questions/linux-general-1/primary-boot-sector-is-invalid-424342/)

gunter06 03-13-2006 04:16 AM

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?

jomen 03-14-2006 06:39 AM

The grub-entry for windows should say:
rootnoverify (hd0,0)
instead of:
root (hd0,0)

gunter06 03-15-2006 02:54 AM

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


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