Jan 25, 2013

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

openSUSE Forums
openSUSE Forums
[openSUSE 11.4][GRUB 0.97] Can not boot on dualboot entry
Jan 25th 2013, 16:54

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:
Code:

(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:
Code:

###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:
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

  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 ^^

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: