Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had windows XP on C: and SUSE 10.1. Then I installed Windows vista on F: To restore bootloader I booted in Linux with the help of installer DVD and repaired grub and problem apparently solved. Now I do get the option of Windows at bootscreen but on clicking it error messages appear or system restarts. What to do. I am unable to boot even with the help of Vista DVD.
there you go.
Insert the Windows XP bootable CD into the computer. When prompted to press any key to boot from the CD, press any key. Once in the Windows XP setup menu press the "R" key to repair Windows. Log into your Windows installation by pressing the "1" key and pressing enter. You will then be prompted for your administrator password, enter that password. Copy the below two files to the root directory of the primary hard disk. In the below example we are copying these files from the CD-ROM drive letter "E". This letter may be different on your computer. copy e:\i386\ntldr c:\
and copy e:\i386\ntdetect.com c:\
This should solve your situation otherwise boot.ini needs to be checked.
Please boot SUSE and post the output of the following commands (as root):
fdisk -l (the letter "l", not "one")
cat /boot/grub/menu.lst
It may be that Windows still requires to boot from C, but grub is configured to boot from F
BTW: please try to use the Linux nomenclature of drives and partitions (e.g. /dev/hda1), since the Windows "F:" may refer to a partition or a drive, which makes a significant difference for the bootloader.
I want to provide a clue: Vista uses bootmgr and XP uses ntldr.
I want to know if grub can be configured to handle vista, if yes, how
Password:
vijay:/home/dr # fdisk -l
Disk /dev/sda: 120.0 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2432 19535008+ 7 HPFS/NTFS
/dev/sda2 2433 14596 97707330 f W95 Ext'd (LBA)
/dev/sda5 2433 5472 24418768+ 7 HPFS/NTFS
/dev/sda6 5473 8512 24418768+ 7 HPFS/NTFS
/dev/sda7 8513 11552 24418768+ 7 HPFS/NTFS
/dev/sda8 11553 13214 13349983+ 7 HPFS/NTFS
/dev/sda9 13215 13309 763056 82 Linux swap / Solaris
/dev/sda10 13310 14335 8241313+ 83 Linux
/dev/sda11 14336 14596 2096451 83 Linux
vijay:/home/dr # cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Fri Aug 25 21:21:01 IST 2006
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,9)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux 10.1
root (hd0,9)
kernel /boot/vmlinuz root=/dev/sda10 vga=0x317 resume=/dev/sda9 splash=silent showopts
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd0,6)+1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux 10.1
root (hd0,9)
kernel /boot/vmlinuz root=/dev/sda10 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: memtest86###
title Memory Test
kernel (hd0,9)/boot/memtest.bin
vijay:/home/dr #
I just recognize that sda1 (Windows C: ) is still the active partition (*). Maybe it helps to activate hd0,6 aka sda7 (if I counted correctly). You could use 'cfdisk /dev/sda'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.