How to boot dual operating systems from grub
Hi, Dears
I am having a problem with my grub boot loader. the problem is that I want to boot Linux+Windows. Linux boots very well :) but windows doesn't boot and gives me a errot when I try from the grub menu to start windows. I have installed windows on the first partition of hard drive. and also the /boot partition and my root partition etc. I have the error Booting ,other' rootnoverify (hd3,0) chainloader +1 I have my fdisk out put file which is Disk /dev/sda: 73.4 GB, 73407868928 bytes 255 heads, 63 sectors/track, 8924 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 1912 15358108+ 7 HPFS/NTFS /dev/sda2 * 1913 1937 200812+ 83 Linux /dev/sda3 1938 2198 2096482+ 82 Linux swap /dev/sda4 3838 8924 40861327+ 5 Extended /dev/sda5 3838 6387 20482843+ 83 Linux /dev/sda6 6388 7662 10241406 83 Linux Disk /dev/sdb: 73.4 GB, 73407868928 bytes 255 heads, 63 sectors/track, 8924 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 8924 71681998+ b W95 FAT32 Disk /dev/sdc: 73.4 GB, 73407868928 bytes 255 heads, 63 sectors/track, 8924 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1 * 1 8924 71681998+ 83 Linux Disk /dev/sdd: 73.4 GB, 73407868928 bytes 255 heads, 63 sectors/track, 8924 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdd1 * 1 8924 71681998+ 83 Linux Disk /dev/sde: 255 MB, 255327744 bytes 129 heads, 4 sectors/track, 966 cylinders Units = cylinders of 516 * 512 = 264192 bytes Device Boot Start End Blocks Id System /dev/sde1 * 1 967 249341+ 6 FAT16 Partition 1 has different physical/logical endings: phys=(972, 128, 4) logical=(966, 57, 3) and also my grub.conf file which is # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd3,1) # kernel /vmlinuz-version ro root=/dev/sda5 # initrd /initrd-version.img #boot=/dev/sdb default=0 timeout=5 splashimage=(hd3,1)/grub/splash.xpm.gz hiddenmenu password --md5 $1$9GdY77Fk$J5MAfR4myx/ryAkegKUu81 title Red Hat Enterprise Linux AS (2.6.9-22.ELsmp) root (hd3,1) kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-22.ELsmp.img title Red Hat Enterprise Linux AS-up (2.6.9-22.EL) root (hd3,1) kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-22.EL.img title ,other’ rootnoverify (hd3,0) chainloaer +1 Hay gusy this a bit urgent because I have to finish with it as soon as possible and get to my next project. I will be really thank full in advance if some one helps me out. thanks shahz |
what exactly is the error message you encounter when you select "other" an try to boot it?
As you probably know grub counts in another way then the fdisk does. So sda1 would be (hd0,1) and I am wondering why your grub says Booting ,other' rootnoverify (hd3,0) chainloader +1 But your output of fdisk says: /dev/sda1 1 1912 15358108+ 7 HPFS/NTFS so it must be (hd0,1) But as I asked already what is the error output? |
I have the same error
I have the same error which I have writen. I have ofcourse my windows on sda1 partition. other is the title for my windows.
|
sorry I think you didn't understand what I asked you. and of course I know that other stands for Windows. So My question was what is the error message when you try to boot windows? does it jump back or does it stand still and gives you an error message?
And indeed i know that you have windows installed on /dev/sda1 and I try to tell you that I am wondering that grub says in your case... so your output shows... (hd3,0) what would be sdd1... but your fdisk say /dev/sda1 so it must be in grub (hd0,1). Change it in your /boot/grub/grub.conf and test what I have suggested. I hope that you know understand what I am trying to tell you. Like I did already before. |
I have the same problem with certain distros, but others work OK.
My advice would be to temporerily install Ubuntu, and take a copy of grub.conf and then use this entry for Windows on whatever O/S is installed afterwards. I haven't got access to check what it is, but an extra line gets added which makes it work OK. |
finlly it works
HI, Dears
Finally my Dual boot operating system works. what did i do is that I just went through all the process from begining and this time I have installed first windows but the partition type I kept the fat32 after that installed the Red hat linux. and works without any configuration or so. any way guys thanks for giving your prescious time for my problems. :) |
All times are GMT -5. The time now is 03:40 AM. |