Having problems dual booting Suse 11.3 and Windows XP
I'm trying to dual boot Suse11.3 and Windows XP. I can boot up into linux, but when I select Windows from Grub, it says the following.
rootnoverify(hd0,1) chainloader +1 remove disks or other media Press any key to restart I then press a key and then it says (hd0,5)/boot/message not found Here is some configuration information. device.map (fd0) /dev/fd0 (hd0) /dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445 (hd1) /dev/disk/by-id/ata-Maxtor_6Y120P0_Y31S6XEE (hd2) /dev/disk/by-id/ata-ST3320620AS_3QF0XSH2 linux-v6en:/boot/grub # cat menu.lst # Modified by YaST2. Last modification on Sun Jun 5 17:09:49 MST 2011 # THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader # Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader default 0 timeout 8 gfxmenu (hd0,5)/boot/message ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.3 - 2.6.34.8-0.2 root (hd0,5) kernel /boot/vmlinuz-2.6.34.8-0.2-default root=/dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part6 resume=/dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part5 splash=silent quiet showopts vga=0x345 initrd /boot/initrd-2.6.34.8-0.2-default ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 11.3 - 2.6.34.8-0.2 root (hd0,5) kernel /boot/vmlinuz-2.6.34.8-0.2-default root=/dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part6 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x345 initrd /boot/initrd-2.6.34.8-0.2-default ###Don't change this comment - YaST2 identifier: Original name: windows### title Windows rootnoverify (hd0,1) chainloader +1 Then here's my /etc/fstab file cat /etc/fstab /dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part5 swap swap defaults 0 0 /dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part6 / ext4 acl,user_xattr 1 1 /dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part7 /home ext3 defaults 1 2 /dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part2 /windows/C vfat users,gid=users,umask=0002,utf8=true 0 0 /dev/disk/by-id/ata-Maxtor_6Y120P0_Y31S6XEE-part1 /windows/D vfat users,gid=users,umask=0002,utf8=true 0 0 /dev/disk/by-id/ata-ST3320620AS_3QF0XSH2-part5 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 /dev/disk/by-id/ata-Maxtor_6Y120P0_Y31S6XEE-part5 /windows/F vfat users,gid=users,umask=0002,utf8=true 0 0 /dev/disk/by-id/ata-Maxtor_6Y120P0_Y31S6XEE-part6 /windows/G vfat users,gid=users,umask=0002,utf8=true 0 0 /dev/disk/by-id/ata-Maxtor_6Y120P0_Y31S6XEE-part7 /windows/H 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 My windows boot was working prior to installing 11.3, I had 11.0 installed before. My guess is that somehow the ms bootloader got corrupted, but I'm not sure. Any help would be appreciated. Thanks. |
I really can't tell which windows partition contains your main OS. If it is
/dev/disk/by-id/ata-ST3320620AS_3QF0XSH2-part5 then the following should work for the windows entry in grub Code:
title Windows XP |
The windows partition is this one
/dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part2 /windows/C vfat users,gid=users,umask=0002,utf8=true 0 0 which I believe should be (hd0,1). In addition, not this this will help if I do the following it shows that this is the right partition ll /windows/C total 2095328 drwxrwxr-x 3 root users 16384 2010-02-14 21:27 ATI drwxrwxr-x 9 root users 16384 2010-02-14 13:20 Documents and Settings drwxrwxr-x 2 root users 16384 2010-02-15 19:50 EPSONREG drwxrwxr-x 2 root users 16384 2010-03-06 17:24 FOUND.000 drwxrwxr-x 2 root users 16384 2010-03-07 11:54 FOUND.001 drwxrwxr-x 2 root users 16384 2010-12-30 13:08 FOUND.002 drwxrwxr-x 2 root users 16384 2010-06-27 17:27 KPCMS -rwxrwxr-x 1 root users 2145386496 2011-06-05 12:47 pagefile.sys drwxrwxr-x 66 root users 16384 2010-02-14 13:34 Program Files drwxrwxr-x 2 root users 16384 2010-02-14 13:56 Recycled drwxrwxr-x 3 root users 16384 2010-02-14 13:40 System Volume Information drwxrwxr-x 365 root users 65536 2010-02-14 13:15 WINDOWS |
Go here - run the script and post the RESULTS.txt here.
|
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: =============================== => Grub Legacy (v0.97) is installed in the MBR of /dev/sda and looks on boot drive #2 in partition #6 for /boot/grub/stage2 and /boot/grub/menu.lst. => Grub Legacy (v0.97) is installed in the MBR of /dev/sdb and looks on the same drive in partition #6 for /boot/grub/stage2 and /boot/grub/menu.lst. => Windows is installed in the MBR of /dev/sdc. sda1: __________________________________________________________________________ File system: vfat Boot sector type: Windows XP: FAT32 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: /boot.ini /ntldr /NTDETECT.COM sda2: __________________________________________________________________________ File system: Extended Partition Boot sector type: - Boot sector info: sda5: __________________________________________________________________________ File system: vfat Boot sector type: - Boot sector info: According to the info in the boot sector, sda5 starts at sector 63. But according to the info from fdisk, sda5 starts at sector 16225713. "63" and "2048" are quite common values for the starting sector of a logical partition and they only need to be fixed when you want to boot Windows from a logical partition. Operating System: Boot files: sda6: __________________________________________________________________________ File system: vfat Boot sector type: - Boot sector info: According to the info in the boot sector, sda6 starts at sector 63. But according to the info from fdisk, sda6 starts at sector 75987513. "63" and "2048" are quite common values for the starting sector of a logical partition and they only need to be fixed when you want to boot Windows from a logical partition. Operating System: Boot files: sda7: __________________________________________________________________________ File system: vfat Boot sector type: - Boot sector info: According to the info in the boot sector, sda7 starts at sector 63. But according to the info from fdisk, sda7 starts at sector 170449713. "63" and "2048" are quite common values for the starting sector of a logical partition and they only need to be fixed when you want to boot Windows from a logical partition. Operating System: Boot files: sdb1: __________________________________________________________________________ File system: Extended Partition Boot sector type: - Boot sector info: sdb5: __________________________________________________________________________ File system: swap Boot sector type: - Boot sector info: sdb6: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Welcome to openSUSE 11.3 "Teal" - Kernel (). Boot files: /boot/grub/menu.lst /etc/fstab sdb7: __________________________________________________________________________ File system: ext3 Boot sector type: - Boot sector info: Operating System: Boot files: sdb2: __________________________________________________________________________ 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: sdc1: __________________________________________________________________________ File system: Extended Partition Boot sector type: - Boot sector info: sdc5: __________________________________________________________________________ File system: ntfs Boot sector type: Windows XP Boot sector info: According to the info in the boot sector, sdc5 starts at sector 63. Operating System: Boot files: ============================ Drive/Partition Info: ============================= Drive: sda _____________________________________________________________________ Disk /dev/sda: 122.9 GB, 122942324736 bytes 255 heads, 63 sectors/track, 14946 cylinders, total 240121728 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 16,225,649 16,225,587 b W95 FAT32 /dev/sda2 16,225,650 240,107,489 223,881,840 f W95 Extended (LBA) /dev/sda5 16,225,713 75,987,449 59,761,737 b W95 FAT32 /dev/sda6 75,987,513 170,449,649 94,462,137 b W95 FAT32 /dev/sda7 170,449,713 240,107,489 69,657,777 b W95 FAT32 Drive: sdb _____________________________________________________________________ Disk /dev/sdb: 36.0 GB, 36000000000 bytes 255 heads, 63 sectors/track, 4376 cylinders, total 70312500 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 16,065 30,346,784 30,330,720 f W95 Extended (LBA) /dev/sdb5 16,128 1,108,484 1,092,357 82 Linux swap / Solaris /dev/sdb6 1,108,548 12,803,804 11,695,257 83 Linux /dev/sdb7 12,803,868 30,346,784 17,542,917 83 Linux /dev/sdb2 * 30,346,848 70,300,439 39,953,592 c W95 FAT32 (LBA) Drive: sdc _____________________________________________________________________ Disk /dev/sdc: 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/sdc1 16,065 625,137,344 625,121,280 f W95 Extended (LBA) /dev/sdc5 16,128 625,137,344 625,121,217 7 NTFS / exFAT / HPFS "blkid" output: ________________________________________________________________ Device UUID TYPE LABEL /dev/sda1 0000-0EE3 vfat DSK1_VOL1 /dev/sda5 0000-0F28 vfat DSK1_VOL2 /dev/sda6 0000-0E4F vfat DSK1_VOL3 /dev/sda7 0000-0E71 vfat DSK1_VOL4 /dev/sdb2 C4AF-749C vfat /dev/sdb5 swap /dev/sdb6 5aa075aa-9468-4690-b1df-34f17129d10f ext4 /dev/sdb7 f9b66f41-6a46-46b4-bbc9-6d98f10cb285 ext3 /dev/sdc5 1317E26280C80651 ntfs ================================ Mount points: ================================= Device Mount_Point Type Options /dev/sda1 /windows/D vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true) /dev/sda5 /windows/F vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true) /dev/sda6 /windows/G vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true) /dev/sda7 /windows/H vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true) /dev/sdb2 /windows/C vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true) /dev/sdb6 / ext4 (rw,acl,user_xattr) /dev/sdb7 /home ext3 (rw) /dev/sdc5 /windows/E fuseblk (rw,noexec,nosuid,nodev,allow_other,blksize=4096,default_permissions) ================================ sda1/boot.ini: ================================ -------------------------------------------------------------------------------- [boot loader] timeout=30 default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect /NoExecute=OptIn -------------------------------------------------------------------------------- =========================== sdb6/boot/grub/menu.lst: =========================== -------------------------------------------------------------------------------- # Modified by YaST2. Last modification on Sun Jun 5 17:09:49 MST 2011 # THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader # Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader default 0 timeout 8 gfxmenu (hd0,5)/boot/message ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.3 - 2.6.34.8-0.2 root (hd0,5) kernel /boot/vmlinuz-2.6.34.8-0.2-default root=/dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part6 resume=/dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part5 splash=silent quiet showopts vga=0x345 initrd /boot/initrd-2.6.34.8-0.2-default ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 11.3 - 2.6.34.8-0.2 root (hd0,5) kernel /boot/vmlinuz-2.6.34.8-0.2-default root=/dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part6 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x345 initrd /boot/initrd-2.6.34.8-0.2-default ###Don't change this comment - YaST2 identifier: Original name: windows### title Windows rootnoverify (hd0,1) # map(hd1) (hd0) # map(hd0) (hd1) # makeactive chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: windows### title Windows 2 rootnoverify (hd1,0) map (hd0) (hd1) map (hd1) (hd0) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: windows### title Windows 3 rootnoverify (hd2,4) map (hd0) (hd2) map (hd2) (hd0) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: floppy### title Floppy rootnoverify (fd0) chainloader +1 -------------------------------------------------------------------------------- =============================== sdb6/etc/fstab: ================================ -------------------------------------------------------------------------------- /dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part5 swap swap defaults 0 0 /dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part6 / ext4 acl,user_xattr 1 1 /dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part7 /home ext3 defaults 1 2 /dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part2 /windows/C vfat users,gid=users,umask=0002,utf8=true 0 0 /dev/disk/by-id/ata-Maxtor_6Y120P0_Y31S6XEE-part1 /windows/D vfat users,gid=users,umask=0002,utf8=true 0 0 /dev/disk/by-id/ata-ST3320620AS_3QF0XSH2-part5 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 /dev/disk/by-id/ata-Maxtor_6Y120P0_Y31S6XEE-part5 /windows/F vfat users,gid=users,umask=0002,utf8=true 0 0 /dev/disk/by-id/ata-Maxtor_6Y120P0_Y31S6XEE-part6 /windows/G vfat users,gid=users,umask=0002,utf8=true 0 0 /dev/disk/by-id/ata-Maxtor_6Y120P0_Y31S6XEE-part7 /windows/H 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 -------------------------------------------------------------------------------- =================== sdb6: Location of files loaded by Grub: ==================== GiB - GB File Fragment(s) 3.370801926 = 3.619371008 boot/grub/menu.lst 1 0.713590622 = 0.766212096 boot/grub/stage2 1 2.519197464 = 2.704967680 boot/initrd 1 2.519197464 = 2.704967680 boot/initrd-2.6.34.8-0.2-default 1 2.508329391 = 2.693298176 boot/vmlinuz 1 2.508329391 = 2.693298176 boot/vmlinuz-2.6.34.8-0.2-default 1 =============================== StdErr Messages: =============================== No volume groups found mdadm: No arrays found in config file or automatically |
This ...
Code:
title Windows Code:
title Windows |
I tried:
rootnoverify (hd0,0) and that does not work. It just prints out the command and then hangs. I believe the partition I'm trying to be booting based on the results of the boot_info_script is: /dev/sdb2 * 30,346,848 70,300,439 39,953,592 c W95 FAT32 (LBA). That is also this hard drive: /dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445-part2 /windows/C vfat users,gid=users,umask=0002,utf8=true 0 0 Currently my device.map file doesn't seem to match the output of the script. It has this: (hd0) /dev/disk/by-id/ata-WDC_WD360GD-75GHA0_WD-WMAH91258445 (hd1) /dev/disk/by-id/ata-Maxtor_6Y120P0_Y31S6XEE (hd2) /dev/disk/by-id/ata-ST3320620AS_3QF0XSH2 |
Yes there inconsistencies there, but that can happen. Did you run it from your OpenSuse system or a liveCD ?.
The partition with ntldr is the one you have to boot for Windoze. |
Hi,
@bmtpolo Welcome to LQ! You should learn to use the vbcode tags # or quote to enclose log lists or data. This will make your posts cleaner therefore easier to read. # & quote are at the top of the reply window. |
The previous results were run from the booted OpenSuse.
Here are the results run from a live cd. Quote:
Looking at this I would thing the following should allow Windows to boot but it doesn't. title Windows rootnoverify (hd0,1) map(hd1) (hd0) map(hd0) (hd1) chainloader +1 |
Quote:
As syg00 stated if you are trying to boot windows on sda1 it would be (hd0,0) since grub-0.97 starts the partition numbering at 0. The question is: have you changed the boot order around in BIOS since you installed? What drive is the current boot priority in BIOS? |
No I haven't changed the boot order in the bios. Based on above I believe that I want to actually boot /dev/sdb2.
|
Quote:
Quote:
Quote:
|
I used to have windows installed on sda1 as stated above, but last year I ended up having to re-install it, and I installed it to Sdb2, hence that's why /dev/sdb2 contains the windows/c. Windows booted but it was always funky, I had to hit a key after grub kicked it off for it to continue. Although I'm not really sure why the partition at /dev/sdb2 does not contain the windows boot files?
|
I had heck on one system where I reloaded. In the process I used fixboot andor fixmbr for some reason. It then put the windows install and a few of the core nt files on different disks. It then fooled me for a few days on a linux install. Could this be what is going on? Your boot files are on sda1 and your OS is on sda2?
|
All times are GMT -5. The time now is 09:51 AM. |