Mailinglist Archive: opensuse (3450 mails)

< Previous Next >
Re: [opensuse] boot loader problem
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Mon, 19 Jan 2009 09:48:03 +0100
  • Message-id: <49743E43.6060608@xxxxxxx>
Dave wrote:
Prior to installing openSUSE 11.1 I decided to upgrade to a larger hard
drive.
I moved to a 500G drive and made one 120G partition on this drive. Using DD
and ntfsresize I moved Windows XP into this partition. I then installed
openSUSE 11.1. OpenSUSE created the following partition scheme and openSUSE
booted correctly.

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0007d01a

Device Boot Start End Blocks Id System
/dev/sda1 1 14940 120005518+ 7 HPFS/NTFS
/dev/sda2 * 14941 60801 368378482+ f W95 Ext'd (LBA)
/dev/sda5 14941 15202 2104483+ 82 Linux swap / Solaris
/dev/sda6 15203 20424 41945683+ 83 Linux
/dev/sda7 20425 60801 324328221 83 Linux

Sda6 is my root partition and uses ext3. Sda7 is my /usr partition and uses
xfs. Grub resides in /boot on sda6. Here is a copy of the grub file.

# Modified by YaST2. Last modification on Sat Jan 17 07:46:49 EST 2009
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,5)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1 - 2.6.27.7-9
kernel (hd0,5)/boot/vmlinuz-2.6.27.7-9-default root=/dev/disk/by-id/ata-
ST3500630AS_6QG12V6V-part6 resume=/dev/disk/by-id/ata-ST3500630AS_6QG12V6V-
part5 splash=silent showopts vga=0x31a
initrd (hd0,5)/boot/initrd-2.6.27.7-9-default

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

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.1 - 2.6.27.7-9
kernel (hd0,5)/boot/vmlinuz-2.6.27.7-9-default root=/dev/disk/by-id/ata-
ST3500630AS_6QG12V6V-part6 showopts ide=nodma apm=off noresume edd=off
powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe
vga=0x31a
initrd (hd0,5)/boot/initrd-2.6.27.7-9-default

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
rootnoverify (fd0)
chainloader +1



I am not sure what happened but I was never able to boot into Windows XP.
The boot process would halt just prior to getting the screen with all of the
user names on it. I decided that instead of running fixmbr I would install
Windows 7 on the first partition instead. I have been wanting to try it and
I
figured I was overwriting the mbr anyway and it shouldn't matter that much
since grub resides on sda6.

I was able to boot into Windows 7 after the install. I then went into fdisk
and changed the active partition from sda1 back to sda2 which was the active
partition set by openSUSE prior to the Windows 7 install. When I rebooted
the
computer I got the message - No operating system found. Please insert a disk
into the cd-rom. Usually this is a bios message but why would I be getting
this message since the configuration correctly booted Linux prior to the
Windows 7 install?

I was able to get back into Linux using the install CD and am using Kmail to
write this post. I reinstalled grub both from the recovery disk and then
again by running grub-install from the terminal. If I reset the active
partition back to sda1 I am still able to boot into Windows 7.

How can I get the system to boot correctly and more importantly, what went
wrong?


Hi,
do you let bootloader proposal or change somethink in yast2 bootloader?
What should work is this -
open yast2 bootloader
write grub code to MBR and let active flag for windows, as grub in MBR
ignore active flag, but generic bootcode doesn't (and that is default).
Second option which should work is add to windows entry makeactive key
(option in yast2 is Activate this Partition when selected for boot).
I hope this help, otherwise ask describe what going wrong ;)
JR

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups
References