Installing GRUB in another disk problem, GRUB Hangs in boot
The scenario is this:
I have two SATA disks, first disk (160GB) contains linux and windoze and second (250 GB) is empty.
Disk one is partitioned:
/dev/sda1 Windoze in NTFS
/dev/sda2 /root in ext3
/dev/sda5 /home in ext3
Because i do install windoze after linux i lost my GRUB loader on MBR.
I tried to recover it using a Ubuntu Alternate CD, running the instaled system on sda2 and executing:
Because i have another Disk i tried to install GRUB in it and BOOT from there, using the same procedure described above.
At boot shows the word GRUB and hangs.
Thanks, Appreciate any help.
Yes, sda1 partition is damaged by installing group there.
Install Windoze new and then install group allway in the boot block of a disc with
I will try and post if works, thanks again.
But i did install GRUB in /dev/sdb and windoze not boot.
Actually in /dev/sdb i have one partition in NTFS without Operating System.
I do add this entry for menu.lst
I suppose this problem is related to windoze, i'll do post in General Forum.
Seems windoze doesnt like to boot first in a disk without windoze OS files and redirecting to another disk in order to boot.
Make sure you followed this steps.
1- install windoze on a drive
2- install other OPs
3- make sure you use grub-0.97
4- setup grubs menu file
5- grub install
6- make sure that the disk grub is installed on is the first boot device in the BIOS settings.
and all should work fine!
For example, to boot Windoze XP i need to set my first hard disk to first boot device and then boot and windoze works "fine" ;) (boots indeed)
To boot linux i need to set my second hard disk to first boot device, at this stage GRUB menu runs ok, when i choose windows to boot doesn't works and says NTLDR missing, if i choose linux it boots fine.
I want to boot both OS's from GRUB installed in second hard disk without setting BIOS.
Excuse me, for me is hard to write in english (obviously not my primary language), Thanks!!!
the root device for windows should be (hd0) and the root device for linux - you know, I guess - should be then (hd0,1)
(hd0) for windows, because windows has a boot loader too, installed on sda (hd0) and not sda1 (hd0,0). sda1 is not directly bootable like I described it and grub dosn't know how to load windows but windows bootloader knows it, so you have to start, it. It's the same like with the BIOS and partitions.
If that is not the mistake, I would have to study the grub manual, too, at http://www.gnu.org/software/grub/manual/.
If windows is the first boot drive and linux on the second drive and both are in the first partition. Install grub
Add this to your linux menu.lst
|All times are GMT -5. The time now is 06:22 AM.|