mcc28x
Members-
Content count
5 -
Joined
-
Last visited
Never
Community Reputation
0 NeutralAbout mcc28x
-
Rank
stranger
-
Originally posted by danleff: Quote: ...and there looks like your problem, the boot.ini file, which is pointing to the first drive on the system, as it was when you had sata as your first boot device. danleff, Just wanted to say thanks for your help, I now have XP and Fedora dual booting using Grub. The problem was undoubtedly caused by a mismatch between the bios boot order and grub. I've done a full reinstall with grub on /dev/sda and matched the boot order in grub to the bios. Once again, thanks. Mark
-
Originally posted by danleff: Quote: OK, let's back up a little. Did you re-install grub after changing the boot designatio to ide first? If so, how did you reinstall Grub...via the command line? If so, what commands did you use? Also, there is a typo, I think, on my part. Try; title Windows XP chainloader (hd2,0)+1 (no space between chainloader (hd2,0) and +1) ...results in flashing cursor... If that does not work, try; title Windows XP chainloader (hd0,0)+1 ...loading stage 1.5...Grub Loading, please wait...Error 18. Let us know if you get any errors. if still nogo, try; title Windows XP map (hd0) (hd2) map (hd2) (hd0) chainloader (hd2,0)+1 ...results in flashing cursor... Remember, changing the boot order also confuses the boot.ini file, which is set to look for the Windows start-up files on a specific drive. Changing the boot order in the bios can affect this as well. Here is my boot.ini [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect /NoExecute=OptIn I reinstalled Grub with the IDE as 1st boot device. To do this I worked in a terminal window and issued grub-install /dev/hda. It would seem that grub cannot hand over to the ntldr, I'm considering a fresh install the way things are looking... Mark
-
Originally posted by danleff: Quote: Grub, for sure is installed on the first ide hard drive at the MBR? Yes, this is correct. Quote: If I am reading this correctly, your grub file is mismatched for the drive. I assume that you are editing grub at the boot menu, not the grub.conf or menu.lst file itself? This way you can easily try some commands and see how they work, before making them permenant. Try the following for Windows; I follow your line of thought here. Quote: title Windows XP chainloader (hd2,0) +1 No reverse mapping, makeactive or rootnoverify lines. I don't have grub installed via Fedora, which probably has different syntax...but let's see. Let me know what error messages that you get, if any. Okay I did this with no joy, grub basically hung after printing the cursor to the screen. If I had installed grub with the boot order HDD0, SATA then for XP to boot the drives would need to be mapped etc - this seems quite logical. But.....I didn't so the original boot order was SATA, HDD0, so the SATA would have been the first drive and no mapping required. But this I have tested as above and no joy. Also Grub quite happily boots fedora with the above setup with root(hd0,0) etc.... Something is screwed but it is very difficult to understand what... I wonder what effect if any would be if I did root(0,0) and setup(hd0) in the grub shell? Mark
-
Originally posted by danleff: Quote: Three questions. 1. Where do you have grub installed? >>>>Grub is installed in the mbr og HDD0 - the fedora drive. 2. Where is the installation if XP? >>>>The XP installation is SATA1 - i.e. /dev/hd2 in device.map. 3. What was the original boot order that you had? Prior to adding the extra drive, I had in th bios - SATA, HDD0 and now I have HDD0, SATA. >>>>>Just before I installed the extra SATA drive I tested the above menu entry and switched the boot order and grub did boot xp >>>>>fine. This is why I now find it a little odd that although there is an extra drive, the configuration is almost the same, yet grub >>>>>cannot hand-off to the xp drive, or so it would seem... If you change the boot order from sata to ide or the other way around, you change the drive designations, hence grub gets confused if it was installed when your original boot order was active. I have reinstalled Grub for good measure (which reports no errors) but short of reinstalling fedora I'm completely stuck. Hopefully danleff you can give me some pointers? Thanks, Mark
-
Hi I've just added another SATA disk to my system and before used to use Partman to switch between XP/Fedora, but this time I wanted to use Grub, alas with no success so far. The boot order in bios is set to HDD0 and then SCSI. My fdisk -l is: Disk /dev/hda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 1 13 104391 83 Linux /dev/hda2 * 14 1033 8193150 83 Linux /dev/hda3 1034 2308 10241437+ 83 Linux /dev/hda4 2309 14593 98679262+ 5 Extended /dev/hda5 2309 3583 10241406 83 Linux /dev/hda6 3584 3902 2562336 83 Linux /dev/hda7 3903 4157 2048256 83 Linux /dev/hda8 4158 14593 83827138+ 83 Linux Disk /dev/hdb: 60.0 GB, 60022480896 bytes 255 heads, 63 sectors/track, 7297 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 128 7297 57593025 c W95 FAT32 (LBA) /dev/hdb2 1 127 1020096 82 Linux swap / Solaris Partition table entries are not in disk order Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 9728 78140128+ 7 HPFS/NTFS Disk /dev/sdb: 163.9 GB, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 19928 160071628+ 7 HPFS/NTFS ###### My device map is: (fd0) /dev/fd0 (hd0) /dev/hda (hd1) /dev/hdb (hd2) /dev/sda (hd3) /dev/sdb ###### The version of XP I'm trying to boot is on /dev/sda This is my /etc/grub.conf: default=1 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.14-1.1653_FC4) root (hd0,0) kernel /vmlinuz-2.6.14-1.1653_FC4 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.14-1.1653_FC4.img title Windows XP map (hd0) (hd2) map (hd2) (hd0) rootnoverify (hd2,0) makeactive chainloader +1 #### All that happens if I select Windows XP is that the following is output to the screen: map (hd0) (hd2) map (hd2) (hd0) rootnoverify (hd2,0) makeactive chainloader +1 ...and I'm left at a flashing cursor. I've tried various suggestions, using a boot floppy & Grub's command line, which got me no further other than establishing grub can 'see' the drives as auto-completion works. Someone told me to miss out rootnoverify(hd2,0), which results in GRUB being printed to the screen and then stops. The XP drive boots okay if I change the boot order and skip grub. Any ideas anyone? Mark