[openSUSE 11.4][GRUB 0.97] Can not boot on dualboot entry

Greetings !!

I have had a disk failure, once again, and I have now troubles with grub that can not boot on restored partition.
I have four disk drives used by GRUB with those settings

/boot/grub/device.map:

(hd3)   /dev/disk/by-id/ata-ST31500341AS_9VS1WYY5
(hd2)   /dev/disk/by-id/ata-SAMSUNG_HD503HI_S23CJ1LZ300077
(hd0)   /dev/disk/by-id/ata-Maxtor_6L080P0_L24FS1XG
(hd1)   /dev/disk/by-id/ata-SAMSUNG_HD321KJ_S0MQJ9DQ217875

/boot/grub/menu.list:

###Don't change this comment - YaST2 identifier: Original name: windows 1###
title Windows XP SP2 
    #map (hd0) (hd0)
    #map (hd0) (hd0)
    rootnoverify (hd0,0)
    makeactive
    chainloader +1

For the little story the disk I removed was a Maxtor 160Go and now, to keep on working, I use a Maxtor 80Go.
I changed the id of the disk to the correct values.
But when booting, there is the GRUB menu splash and then once selected Windows XP SP2 entry I got an error telling that there is an “incorrect device”.
I can boot Linux without any problem but can’t access the Windows XP SP2 partition.
fdisk -l extract:

Disk /dev/sdc: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5bdea421

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *          63     8835749     4417843+   b  W95 FAT32
/dev/sdc2        16787925   160071659    71641867+   5  Extended
/dev/sdc5        16787988    35632169     9422091    7  HPFS/NTFS/exFAT
/dev/sdc6        35632233   160071659    62219713+   7  HPFS/NTFS/exFAT

Using yast2 bootloader I put the “new” settings to the MBR of the disk (here named /dev/sdc but this is the master device on ide cable – considered hd0 in GRUB).
When looking at the bootloader installation detailsI got indications (that seems correct) that giving the maxtor as first in the list.

I don’t want to mess up the system because I need to work with but anyone could tell me how I could avoid this type of error ?
Thanx in advance ^^

What exactly did you do? Different readers may have different notion about what “disk id” is.

But when booting, there is the GRUB menu splash and then once selected Windows XP SP2 entry I got an error telling that there is an “incorrect device”.

At which point? What program gives this error?

Thank you arvidjaar,

What exactly did you do? Different readers may have different notion about what “disk id” is.

I changed the /dev/disk/by-id old reference (linked to the old maxtor 160Go) to the new one (maxtor 80Go).
device.old (backed up):

(hd3)   /dev/disk/by-id/ata-ST31500341AS_9VS1WYY5
(hd2)   /dev/disk/by-id/ata-SAMSUNG_HD503HI_S23CJ1LZ300077
(hd0)   **/dev/disk/by-id/ata-Maxtor_6Y160P0_Y48A9HGE**
(hd1)   /dev/disk/by-id/ata-SAMSUNG_HD321KJ_S0MQJ9DQ217875

At which point? What program gives this error?

Once the grub menu displayed, I selected Windows XP SP2 and then I got a brief copy of menu.lst followed by Error 21: incorrect device specified (or something like that, sorry to be unprecise).
Informations extracted from menu.lst:

rootnoverify (hd0,0)
makeactive
chainloader +1

The exact error is: 12 : Invalid device requested (I’m a little dyslexic when tired after two days without sleeping)
“This error is returned if a device string is recognizable but does not fall under the other device errors” (extract from grub 0.97 documentation)

??? don’t know how fix it at all ???

Hi soundlord,

and

don’t read that different.

Get some sleep!

Good luck
Mike

Find Grub Version 3.7.2 - Written for openSUSE Forums

 - reading MBR on disk /dev/sda                       ...
 - skipping partition  /dev/sda1      (swap)         
 - reading bootsector  **/dev/sda2**   *  (LINUX)         ...
 - reading bootsector  /dev/sda3      (LINUX)         ...
 - searching partition /dev/sda4      (FAT32)         ...

 - reading MBR on disk **/dev/sdb**                       ... --> **Legacy GRUB  found in sdb MBR     => sdd1   0x83 (openSUSE)**
 - reading bootsector  /dev/sdb1      (Extended)      ...
 - searching partition /dev/sdb5      (FAT32)         ...
 - searching partition /dev/sdb6      (FAT32)         ...

 - reading MBR on disk **/dev/sdc**                       ... --> **Legacy GRUB  found in sdc MBR     =>        0x?? (openSUSE)**
 - searching partition **/dev/sdc1**   *  (FAT32)         ... --> Windows NT/2K/XP Loader found in **/dev/sdc1**

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can add the following entry to /boot/grub/menu.lst :

###Don't change this comment - YaST2 identifier: Original name: WindowsBootLoader###
title Windows on /dev/sdc1
    rootnoverify (hd0,0)
    chainloader +1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 - reading bootsector  /dev/sdc2      (Extended)      ...
 - searching partition /dev/sdc5      (NTFS)          ...
 - searching partition /dev/sdc6      (NTFS)          ...

 - reading MBR on disk /dev/sdd                       ...
 - reading bootsector  /dev/sdd1      (LINUX)         ...
 - searching partition /dev/sdd2      (NTFS)          ...
 - reading bootsector  /dev/sdd3      (Extended)      ...
 - searching partition /dev/sdd5      (NTFS)          ...
 - searching partition /dev/sdd6      (FAT32)         ...

The /dev/sdc MBR may point to an old openSuse that I have lost with previous crash disk before 2008.
So… I was pretty sure that I had to put grub on the /dev/sdc MBR. Here it seems that the effective grub is located in /dev/sdb (??)
In my BIOS I have to effectivelly put my samsung 300Go at first in the boot priority, the samsung 500Go at second, Maxtor at third and Seagate at last.
If I do not do like this I got either nothing (just a cursor) or a GRUB message that is scrambled (with strange characters)…
Doing like this I have (before I followed the findgrub advices) GRUB Error 12: invalid device requested.
But I can boot on Linux.

On 2013-01-25 17:56, soundlord wrote:

> For the little story the disk I removed was a Maxtor 160Go and now, to
> keep on working, I use a Maxtor 80Go.
> I changed the id of the disk to the correct values.
> But when booting, there is the GRUB menu splash and then once selected
> Windows XP SP2 entry I got an error telling that there is an “incorrect
> device”.
> I can boot Linux without any problem but can’t access the Windows XP
> SP2 partition.

I don’t know about XP, but Windows 7 will balk if you change the hard
disk because it thinks that you illegally cloned the disk to another
computer. What it checks is the value of the “Disk identifier” that you
see below in the fdisk output. It can be changed in the “extended” menu
of fdisk to what the old disk had. I just had that problem last week.

XP did not originally have this “feature”, but it is possible that they
added it with a SP. Dunno.

> fdisk -l extract:
>
> Code:
> --------------------
> Disk /dev/sdc: 82.0 GB, 81964302336 bytes
> 255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x5bdea421

> --------------------


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

'crosoft are punks ^^
I already have to change the disk where Windows was located… strangely the disks that have SMART problems are always those where Windows was installed and a Maxtor (coincidence ???) :}
The two first times it has happened I just bought a new hard disk (with more capacity) put the same partitions (here 3) and restored the last backup made (here it was done the 13th january 2013).
Here I must had to use a less capacity (in a hurry) but the procedure was the same.
The restore process ended with no errors nore warnings, …
The only thing that changed in this case is that the partition was bigger than the one restored (8Go instead of 4Go)… but the Acronis told me that it set the partition size to 4Go and I have to resize the partition afterward to get the 8Go that is not a problem in fact.

I read, read, and read documentation about grub and really can’t find a way to sort myself out of that issue.
I used findgrub application (updated it to 4.4.1 by the way) and didn’t found a way out.
I don’t know why my BIOS only boot on first SATA drive listed in the “boot priority” (instead of the first hard disk found at IDE primary channel) but it has worked as is since 2008 without any problem.
So now I know that the system boots on the second SATA in the list (the samsung 500Go) (at least the MBR contains a grub that points to sdd1).
Concerning the Windows partition: the root (hd0,0) is correct (the first disk in the BIOS, third in priority) and the chainloader +1 has always been used as is… always worked as is… unill today :{
No need to map because this partition is the first on the first hard disk listed in the BIOS.

That sucks…

That’s all is rather confusing.

From which disk your BIOS boots when you get this “Error 12”? Which one of four listed disks is BIOS boot disk?

If you can boot from disk that corresponds to sdb - why do not you simply edit menu.lst there to point to Windows disk? Or do you have multiple Linux installations and multiple menu.lst?

That’s a pretty old version. The latest findgrub version is 4.4.1

You might want to install/update updategrub from my repo to get the latest findgrub version.

I now use findgrub 4.4.1 (thank you for the job please_try_again), the previous version was installed a while ago effectively ^^

Yes it is little confusing, and I’m confused ^^
Now, I took a rest (deserved ?) and I have my brain up (I hope).

In the BIOS:
I have:
first primary ide master: Maxtor 80Go
first SATA: Samsung 300 Go (marked P1)
second SATA: Samsung 500 Go (marked P4)
third SATA: Seagate 1,5 T (marked P5)

In the boot menu:
First boot device: P4-Samsung (if I change this I have no GRUB menu at all)
Second boot device: CD/DVD ROM…
Third boot device: Removable Dev.

In the “disk priority” menu:
1: P4-Samsung 500Go
2: P1-Samsung 300Go
3: HDD-Maxtor 80 Go
4: P5-Seagate 1.5 To

This configuration in the BIOS let me boot in Linux (that’s great), but if I change I got either a cursor, or GRUB********************************** (where ***** represents ASCII characters that have no sense).

The menu.lst and device.map are described in the previous posts, device.map is a strict translation for GRUB of what we could found in the “disk priority” in BIOS.

Using findgrub (4.4.1) I got two MBR set:
one in sdb that points to sdd1 (hd3,0) (my Linux root partition) (located in P4-Samsung (hd1))
one in sdc that points to nothing (??) and the ntldr is detected in sdc1 (hd0,0)

I saw in **yast2 bootloader **that this is possible to set the GRUB in a particular partition.
But I did not yet explored all the settings provided but I only used the configuration given to “write the bootloader boot code to disk” (because the “name” of the IDE disk changed because I removed the old hard disk) via the “Other” button.
The “boot loader installation” menu is set as:
Boot from MBR
In the “boot loader options”:
**Nothing checked
******In the “boat loader installation details” I got:
MAXTOR <-> hd0
SAMSUNG 500Go <-> hd1
SAMSUNG 300Go <-> hd2
SEAGATE 1,5 To <-> hd3

That’s all I can give…
The last try with Windows XP SP2 menu item drove me to:

**rootnoverify (hd0,0) makeactive

GRUB Error 12: invalid device requested

**Thanks for your help^^

Please download and run http://sourceforge.net/p/bootinfoscript/code/ci/e7fc7064677c9cdc7bff12c315bb4944f99da37f/tree/bootinfoscript?format=raw and post output to paste,opensuse.org. It collects extensive boot related information. You provide only partial information which makes it hard to get full picture.

Wow !!

Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => MS-DOS 3.30 through Windows 95 (A) is installed in the MBR of /dev/sda.
 => Grub Legacy (v0.97) is installed in the MBR of /dev/sdb and looks on boot 
    drive #4 in partition #1 for /boot/grub/stage2 and /boot/grub/menu.lst.
 => Grub Legacy (v) is installed in the MBR of /dev/sdc and looks on boot 
    drive #-127 in partition #1 for /.
 => No boot loader is installed in the MBR of /dev/sdd.

sda1: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda2: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda3: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  According to the info in the boot sector, sda4 starts 
                       at sector 0. But according to the info from fdisk, 
                       sda4 starts at sector 46170810.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sdb5: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  According to the info in the boot sector, sdb5 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdb5 starts at sector 126.
    Operating System:  
    Boot files:        

sdb6: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  According to the info in the boot sector, sdb6 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdb6 starts at sector 335565783.
    Operating System:  
    Boot files:        

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows XP: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM

sdc2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sdc5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  The info in boot sector on the starting sector of the 
                       MFT is wrong. The info in the boot sector on the 
                       starting sector of the MFT Mirror is wrong. According 
                       to the info in the boot sector, sdc5 has 2355521 
                       sectors, but according to the info from fdisk, it has 
                       18844181 sectors.
    Operating System:  
    Boot files:        

sdc6: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  The info in boot sector on the starting sector of the 
                       MFT is wrong. The info in the boot sector on the 
                       starting sector of the MFT Mirror is wrong. According 
                       to the info in the boot sector, sdc6 has 15554927 
                       sectors, but according to the info from fdisk, it has 
                       124439426 sectors.
    Operating System:  
    Boot files:        

sdd1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Welcome to openSUSE 11.4 "Celadon" - Kernel ().
    Boot files:        /boot/grub/menu.lst /etc/fstab

sdd2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdd3: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sdd5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  According to the info in the boot sector, sdd5 starts 
                       at sector 63.
    Operating System:  
    Boot files:        

sdd6: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  According to the info in the boot sector, sdd6 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdd6 starts at sector 2134926108.
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                  63     4,209,029     4,208,967  82 Linux swap / Solaris
/dev/sda2           4,209,030    25,189,919    20,980,890  83 Linux
/dev/sda3          25,189,920    46,170,809    20,980,890  83 Linux
/dev/sda4          46,170,810   625,137,344   578,966,535   c W95 FAT32 (LBA)


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                  63   976,768,064   976,768,002   5 Extended
/dev/sdb5                 126   335,565,719   335,565,594   c W95 FAT32 (LBA)
/dev/sdb6         335,565,783   976,768,064   641,202,282   c W95 FAT32 (LBA)


Drive: sdc _____________________________________________________________________

Disk /dev/sdc: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1    *             63     8,835,749     8,835,687   b W95 FAT32
/dev/sdc2          16,787,925   160,071,659   143,283,735   5 Extended
/dev/sdc5          16,787,988    35,632,169    18,844,182   7 NTFS / exFAT / HPFS
/dev/sdc6          35,632,233   160,071,659   124,439,427   7 NTFS / exFAT / HPFS


Drive: sdd _____________________________________________________________________

Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdd1                  63   536,892,299   536,892,237  83 Linux
/dev/sdd2         536,892,300 1,610,644,769 1,073,752,470   7 NTFS / exFAT / HPFS
/dev/sdd3       1,610,644,770 2,930,272,064 1,319,627,295   5 Extended
/dev/sdd5       1,610,644,833 2,134,926,044   524,281,212   7 NTFS / exFAT / HPFS
/dev/sdd6       2,134,926,108 2,930,272,064   795,345,957   b W95 FAT32


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        e46c697c-a0fc-4a3f-90ae-f2398e211e11   swap       
/dev/sda2        d9b4cf27-ffc7-49b3-b84b-04393049e02d   ext3       
/dev/sda3        c0bb607b-3aea-475e-8b96-b3f78c534371   ext3       
/dev/sda4        4854-06A3                              vfat       LINUX
/dev/sdb5        4BD8-506C                              vfat       DATAS1
/dev/sdb6        4BD8-5076                              vfat       DATAS2
/dev/sdc1        B49F-FC78                              vfat       SYSTEM
/dev/sdc5        148263957788A3AE                       ntfs       BACKUP
/dev/sdc6        194D7B677B6E44A4                       ntfs       PROGRAMS
/dev/sdd1        31bb6ef7-9cea-40b6-ad52-5423764a6bc7   ext4       
/dev/sdd2        D87050FD7050E432                       ntfs       NTFS1
/dev/sdd5        AA20C6B520C687B1                       ntfs       NTFS2
/dev/sdd6        4A4E-B3BC                              vfat       DATAS3

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda2        /oldsystem               ext3       (rw,relatime,errors=continue,commit=15,barrier=1,data=ordered)
/dev/sda3        /home                    ext3       (rw,relatime,errors=continue,commit=15,barrier=1,data=ordered)
/dev/sda4        /windows/Linux           vfat       (rw,nosuid,nodev,noexec,relatime,gid=100,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/sdb5        /windows/Datas1          vfat       (rw,nosuid,nodev,noexec,relatime,gid=100,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/sdb6        /windows/Datas2          vfat       (rw,nosuid,nodev,noexec,relatime,gid=100,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/sdc1        /windows/System          vfat       (rw,nosuid,nodev,noexec,relatime,gid=100,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/sdc5        /windows/Backup          fuseblk    (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sdc6        /windows/Programs        fuseblk    (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sdd1        /                        ext4       (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
/dev/sdd2        /windows/Ntfs1           fuseblk    (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sdd5        /windows/Ntfs2           fuseblk    (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sdd6        /windows/Datas3          vfat       (rw,nosuid,nodev,noexec,relatime,gid=100,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)


================================ sdc1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
timeout=30
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect
--------------------------------------------------------------------------------

=========================== sdd1/boot/grub/menu.lst: ===========================

--------------------------------------------------------------------------------
# Modified by YaST2. Last modification on Sat Jan 26 14:18:33 CET 2013
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 300
gfxmenu (hd3,0)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.4 [kernel version 2.6.37.6-0.20]
    root (hd3,0)
    kernel /boot/vmlinuz-2.6.37.6-0.20-desktop root=/dev/disk/by-id/ata-ST31500341AS_9VS1WYY5-part1 resume=/dev/disk/by-id/ata-SAMSUNG_HD321KJ_S0MQJ9DQ217875-part1 splash=silent quiet showopts vga=0x345
    initrd /boot/initrd-2.6.37.6-0.20-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4
    root (hd3,0)
    kernel /boot/vmlinuz-2.6.37.6-0.20-desktop root=/dev/disk/by-id/ata-ST31500341AS_9VS1WYY5-part1 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x345
    initrd /boot/initrd-2.6.37.6-0.20-desktop

###Don't change this comment - YaST2 identifier: Original name: windows 1###
title Windows XP SP2 
    #map (hd0) (hd0)
    #map (hd0) (hd0)
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
--------------------------------------------------------------------------------


…next…

=============================== sdd1/etc/fstab: ================================

--------------------------------------------------------------------------------
/dev/disk/by-id/ata-SAMSUNG_HD321KJ_S0MQJ9DQ217875-part1 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-ST31500341AS_9VS1WYY5-part1 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-SAMSUNG_HD321KJ_S0MQJ9DQ217875-part3 /home                ext3       defaults              1 2
/dev/disk/by-id/ata-SAMSUNG_HD321KJ_S0MQJ9DQ217875-part2 /oldsystem           ext3       defaults              1 2
/dev/disk/by-id/ata-Maxtor_6L080P0_L24FS1XG-part5 /windows/Backup     ntfs-3g users,gid=users,fmask=133,dmask=022,locale=be_FR.UTF-8 0 0
/dev/disk/by-id/ata-SAMSUNG_HD503HI_S23CJ1LZ300077-part5 /windows/Datas1       vfat       users,gid=users,umask=0002,utf8=true 0 0
/dev/disk/by-id/ata-SAMSUNG_HD503HI_S23CJ1LZ300077-part6 /windows/Datas2       vfat       users,gid=users,umask=0002,utf8=true 0 0
/dev/disk/by-id/ata-ST31500341AS_9VS1WYY5-part6 /windows/Datas3      vfat       users,gid=users,umask=0002,utf8=true 0 0
/dev/disk/by-id/ata-SAMSUNG_HD321KJ_S0MQJ9DQ217875-part4 /windows/Linux        vfat       users,gid=users,umask=0002,utf8=true 0 0
/dev/disk/by-id/ata-ST31500341AS_9VS1WYY5-part2 /windows/Ntfs1        ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=fr_FR.UTF-8 0 0
/dev/disk/by-id/ata-ST31500341AS_9VS1WYY5-part5 /windows/Ntfs2        ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=fr_FR.UTF-8 0 0
/dev/disk/by-id/ata-Maxtor_6L080P0_L24FS1XG-part6  /windows/Programs  ntfs-3g     users,gid=users,fmask=133,dmask=022,locale=be_FR.UTF-8 0 0
/dev/disk/by-id/ata-Maxtor_6L080P0_L24FS1XG-part1 /windows/System      vfat       users,gid=users,umask=0002,utf8=true 0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
--------------------------------------------------------------------------------

=================== sdd1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

  30.135146618 = 32.357367296   boot/grub/menu.lst                             1
  30.181548595 = 32.407191040   boot/grub/stage2                               1
  30.321712017 = 32.557690368   boot/vmlinuz                                   1
  30.321712017 = 32.557690368   boot/vmlinuz-2.6.37.6-0.20-desktop             1
 122.978564739 = 132.047228416  boot/initrd                                    1
 122.978564739 = 132.047228416  boot/initrd-2.6.37.6-0.20-desktop              1

=============================== StdErr Messages: ===============================

  No volume groups found
mdadm: No arrays found in config file or automatically

…dump (if necessary)…

======================== Unknown MBRs/Boot Sectors/etc: ========================

MFT Sector of sdc5

00000000  06 1e 66 60 66 50 66 51  66 33 d2 66 0f b6 1e 0d  |..f`fPfQf3.f....|
00000010  00 66 f7 f3 66 52 e8 90  ff 66 0b c0 0f 84 f9 f8  |.f..fR...f......|
00000020  66 0f b6 1e 0d 00 66 f7  e3 66 5a 66 03 c2 66 a3  |f.....f..fZf..f.|
00000030  54 00 66 59 66 0f b6 1e  0d 00 66 3b cb 0f 8e 13  |T.fYf.....f;....|
00000040  00 89 1e 5b 00 66 2b cb  66 58 66 03 c3 66 50 66  |....f+.fXf..fPf|
00000050  51 eb 14 90 66 58 66 03  c1 66 50 89 0e 5b 00 66  |Q...fXf..fP...f|
00000060  b9 00 00 00 00 66 51 06  66 57 8b df 83 e3 0f 8c  |.....fQ.fW......|
00000070  c0 66 c1 ef 04 03 c7 50  07 e8 9b fb 66 5f 07 66  |.f.....P....f_.f|
00000080  03 3e 4e 02 66 59 66 58  66 83 f9 00 0f 8f 74 ff  |.&gt;N.fYfXf.....t.|
00000090  66 61 90 1f 07 c3 06 1e  66 60 66 f7 26 56 02 66  |fa......f`f.&V.f|
000000a0  8b 0e 56 02 e8 59 ff e8  f1 fd 66 61 90 1f 07 c3  |..V..Y....fa....|
000000b0  06 1e 66 60 66 f7 26 62  02 66 8b 1e 32 02 66 8b  |..f`f.&b.f..2.f.|
000000c0  0e 62 02 1e 07 66 8b 3e  42 02 e8 23 fd e8 cb fd  |.b...f.&gt;B..#....|
000000d0  66 61 90 1f 07 c3 66 50  66 53 66 51 66 8b 1e 46  |fa....fPfSfQf..F|
000000e0  02 66 8b c8 66 c1 e8 03  66 83 e1 07 66 03 d8 66  |.f..f...f...f..f|
000000f0  b8 01 00 00 00 66 d3 e0  67 84 03 0f 84 04 00 f8  |.....f..g.......|
00000100  eb 02 90 f9 66 59 66 5b  66 58 c3 67 80 7b 08 01  |....fYffX.g.{..|
00000110  0f 84 04 00 66 2b c0 c3  67 66 8d 73 10 67 66 8b  |....f+..gf.s.gf.|
00000120  56 08 66 3b c2 0f 87 0b  00 67 66 8b 16 66 3b c2  |V.f;.....gf..f;.|
00000130  0f 83 04 00 66 2b c0 c3  67 03 5e 10 66 2b f6 67  |....f+..g.^.f+.g|
00000140  80 3b 00 0f 84 3e 00 e8  81 00 66 03 f1 e8 39 00  |.;...&gt;....f...9.|
00000150  66 03 ca 66 3b c1 0f 8c  21 00 66 8b d1 66 50 67  |f..f;...!.f..fPg|
00000160  66 0f b6 0b 66 8b c1 66  83 e0 0f 66 c1 e9 04 66  |f...f..f...f...f|
00000170  03 d9 66 03 d8 66 43 66  58 eb c4 66 2b c8 66 2b  |..f..fCfX..f+.f+|
00000180  c2 66 03 c6 c3 66 2b c0  c3 66 2b c9 67 8a 0b 80  |.f...f+..f+.g...|
00000190  e1 0f 66 83 f9 00 0f 85  04 00 66 2b c9 c3 66 53  |..f.......f+..fS|
000001a0  66 52 66 03 d9 67 66 0f  be 13 66 49 66 4b 66 83  |fRf..gf...fIfKf.|
000001b0  f9 00 0f 84 0d 00 66 c1  e2 08 67 8a 13 66 4b 66  |......f...g..fKf|
000001c0  49 eb eb 66 8b ca 66 5a  66 5b c3 66 53 66 52 66  |I..f..fZf.fSfRf|
000001d0  2b d2 67 8a 13 66 83 e2  0f 66 2b c9 67 8a 0b c0  |+.g..f...f+.g...|
000001e0  e9 04 66 83 f9 00 0f 85  08 00 66 2b c9 66 5a 66  |..f.......f+.fZf|
000001f0  5b c3 66 03 da 66 03 d9  67 66 0f be 13 66 49 66  |.f..f..gf...fIf|
00000200
MFT Sector of sdc6

00000000  06 1e 66 60 66 50 66 51  66 33 d2 66 0f b6 1e 0d  |..f`fPfQf3.f....|
00000010  00 66 f7 f3 66 52 e8 90  ff 66 0b c0 0f 84 f9 f8  |.f..fR...f......|
00000020  66 0f b6 1e 0d 00 66 f7  e3 66 5a 66 03 c2 66 a3  |f.....f..fZf..f.|
00000030  54 00 66 59 66 0f b6 1e  0d 00 66 3b cb 0f 8e 13  |T.fYf.....f;....|
00000040  00 89 1e 5b 00 66 2b cb  66 58 66 03 c3 66 50 66  |....f+.fXf..fPf|
00000050  51 eb 14 90 66 58 66 03  c1 66 50 89 0e 5b 00 66  |Q...fXf..fP...f|
00000060  b9 00 00 00 00 66 51 06  66 57 8b df 83 e3 0f 8c  |.....fQ.fW......|
00000070  c0 66 c1 ef 04 03 c7 50  07 e8 9b fb 66 5f 07 66  |.f.....P....f_.f|
00000080  03 3e 4e 02 66 59 66 58  66 83 f9 00 0f 8f 74 ff  |.>N.fYfXf.....t.|
00000090  66 61 90 1f 07 c3 06 1e  66 60 66 f7 26 56 02 66  |fa......f`f.&V.f|
000000a0  8b 0e 56 02 e8 59 ff e8  f1 fd 66 61 90 1f 07 c3  |..V..Y....fa....|
000000b0  06 1e 66 60 66 f7 26 62  02 66 8b 1e 32 02 66 8b  |..f`f.&b.f..2.f.|
000000c0  0e 62 02 1e 07 66 8b 3e  42 02 e8 23 fd e8 cb fd  |.b...f.>B..#....|
000000d0  66 61 90 1f 07 c3 66 50  66 53 66 51 66 8b 1e 46  |fa....fPfSfQf..F|
000000e0  02 66 8b c8 66 c1 e8 03  66 83 e1 07 66 03 d8 66  |.f..f...f...f..f|
000000f0  b8 01 00 00 00 66 d3 e0  67 84 03 0f 84 04 00 f8  |.....f..g.......|
00000100  eb 02 90 f9 66 59 66 5b  66 58 c3 67 80 7b 08 01  |....fYffX.g.{..|
00000110  0f 84 04 00 66 2b c0 c3  67 66 8d 73 10 67 66 8b  |....f+..gf.s.gf.|
00000120  56 08 66 3b c2 0f 87 0b  00 67 66 8b 16 66 3b c2  |V.f;.....gf..f;.|
00000130  0f 83 04 00 66 2b c0 c3  67 03 5e 10 66 2b f6 67  |....f+..g.^.f+.g|
00000140  80 3b 00 0f 84 3e 00 e8  81 00 66 03 f1 e8 39 00  |.;...>....f...9.|
00000150  66 03 ca 66 3b c1 0f 8c  21 00 66 8b d1 66 50 67  |f..f;...!.f..fPg|
00000160  66 0f b6 0b 66 8b c1 66  83 e0 0f 66 c1 e9 04 66  |f...f..f...f...f|
00000170  03 d9 66 03 d8 66 43 66  58 eb c4 66 2b c8 66 2b  |..f..fCfX..f+.f+|
00000180  c2 66 03 c6 c3 66 2b c0  c3 66 2b c9 67 8a 0b 80  |.f...f+..f+.g...|
00000190  e1 0f 66 83 f9 00 0f 85  04 00 66 2b c9 c3 66 53  |..f.......f+..fS|
000001a0  66 52 66 03 d9 67 66 0f  be 13 66 49 66 4b 66 83  |fRf..gf...fIfKf.|
000001b0  f9 00 0f 84 0d 00 66 c1  e2 08 67 8a 13 66 4b 66  |......f...g..fKf|
000001c0  49 eb eb 66 8b ca 66 5a  66 5b c3 66 53 66 52 66  |I..f..fZf.fSfRf|
000001d0  2b d2 67 8a 13 66 83 e2  0f 66 2b c9 67 8a 0b c0  |+.g..f...f+.g...|
000001e0  e9 04 66 83 f9 00 0f 85  08 00 66 2b c9 66 5a 66  |..f.......f+.fZf|
000001f0  5b c3 66 03 da 66 03 d9  67 66 0f be 13 66 49 66  |.f..f..gf...fIf|
00000200

The following findgrub options provide useful info about disks and boot loaders:


# findgrub -M
# findgrub -c

OK, I think hat at some point you booted from your 160GB drive (which you replaced by 80GB drive) which made it (hd0). Now you are booting from 500GB drive which make this drive (hd0) using the same menu.lst. Which explains why chainloading fails.

I think that 80GB drive should be BIOS (hd2). But in principle you have choice between (hd1) and (hd2) because (hd3) is obviously your Linux drive.

So try (hd2) in Windows boot menu.lst entry:


title Windows XP SP2
        map (hd2) (hd0)
   map (hd0) (hd2)
   rootnoverify (hd2,0)
   makeactive
   chainloader +1

If this does not work, try hd1 instead.

It worked ^^
Thanx you for all of you guys for the time given ^^

It was very confusing.
I have the impression to have learned something but I still have questions about how grub works even if I read the documentation I must have missed something important.
I will get back into the reading.

Is there a way to “unload” grub from a partition (the one that points to nothing in /dev/sdc) ? Maybe this is not a good idea…

It hurts nothing to have grub installed in a partition. Leave it a lone.