Bugzilla – Bug 103839
After installation, Windows dual boot not set up correctly in GRUB
Last modified: 2005-08-10 16:30:05 UTC
I have a single SATA hard drive. Before installation there was "sda1" Primary NTFS Partition and "sda2" Extended Partition containing NTFS logical drive "sda5". Installation suggested to create swap ("sda3") and / ("sda4"), and created them correctly. However, Windows dual-boot was not correctly set up. After the installation, partitions are correctly set up: /dev/sda 149.0GB 0-19456 /dev/sda1 97.6GB HPFS/NTFS /windows/C 0-12747 /dev/sda2 30.3GB Extended 12748-16707 /dev/sda3 1.0GB Linux swap swap 16708-16838 /dev/sda4 20.0GB Linux native / 16839-19456 /dev/sda5 30.3GB HPFS/NTFS /windows/D 12748-16707 However, GRUB settings are not correct for Windows dual-boot: /boot/grub/menu.lst ... ###Don't change this comment - YaST2 identifier: Original name: windows### title Windows chainloader (hd0,3)/dev/sda1 ... /boot/grub/device.map: (fd0) /dev/fd0 (hd0) /dev/sda /etc/grub.conf setup --stage2=/boot/grub/stage2 (hd0,3) (hd0,3) quit GRUB "Windows" menu choice produces: Booting "Windows" chainloader(hd0,3)/dev/sda1 Error 2: Bad file or directory type Press any key to continue... I managed to boot to Windows with the following Windows section: chainloader (hd0,0)+1 In addition, Windows tells that "Found new hardware..." whenever GRUB installs boot loader. I made exactly the same set-up previously with SUSE 9.3 Professional, and I didn't have any problems with GRUB. Kind regards Ilkka
*** This bug has been marked as a duplicate of 102703 ***