Results 1 to 10 of 15
Who cares - right? I think I did boot it once just to check boot capability. Anyway...
I had XP and Ubuntu dual boot. Each on its own hard disk ...
- 02-14-2009 #1Linux User
- Join Date
- Apr 2007
- Posts
- 289
[SOLVED] XPPro won't boot...
Who cares - right? I think I did boot it once just to check boot capability. Anyway...
I had XP and Ubuntu dual boot. Each on its own hard disk - IDE secondary channel. Ubuntu master, XP slave (2 ODD's on primary).
I added an IDE controller card with PCLOS on it. Boots fine. Then I imported the grub from Ubuntu into PCLOS grub. Now I can select Ubuntu from boot menu, and it goes to the entire [old] grub Still no problem.
But now the disk enumeration is different. I select Ubuntu, and no boot. I edit the boot entry from for Ubuntu (hd0,0) to (hd1,0), and it boots fine. Now I need to make that permanent.
BUT, if I choose XP from the Ubuntu grub menu, no boot.
The [old] XP menu entry WAS
What should it be NOW?Code:# This entry automatically added by the Debian installer for a non-linux OS # on /dev/hdb1 title Microsoft Windows XP Professional map (hd0) (hd1) map (hd1) (hd0) rootnoverify (hd1,0) chainloader +1
I tried editing the entry AT BOOT, the same as Ubuntu, to:
map.................... (hd0) (hd2)
map ...................(hd2) (hd0)
rootnoverify...... (hd2,0)
with no luck.
Then I tried editing :
map ...................(hd0) (hd1)
map ................... (hd1) (hd0)
rootnoverify ...... (hd2,0)
with no luck.
Any idea?
- 02-14-2009 #2
Boot the first version of Linux that you get from the first menu (PCLOS?) and post the output of
will help answer this one.Code:sudo fdisk -l cat /boot/grub/menu.lst
Ed: and looking at your previous post ... set the root then map the drives
- 02-15-2009 #3Linux User
- Join Date
- Apr 2007
- Posts
- 289
Howdy Mr. J...
'F' is PCI IDE card, with PCLOS.Code:[root@localhost ~]# sudo fdisk -l Disk /dev/hdc: 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/hdc1 * 1 9447 75882996 83 Linux /dev/hdc2 9448 9729 2265165 5 Extended /dev/hdc5 9448 9729 2265133+ 82 Linux swap / Solaris Disk /dev/hdd: 30.7 GB, 30735581184 bytes 255 heads, 63 sectors/track, 3736 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdd1 * 1 3736 30009388+ 7 HPFS/NTFS Disk /dev/hdf: 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/hdf1 * 1 1019 8185086 83 Linux /dev/hdf2 1020 9729 69963075 5 Extended /dev/hdf5 1020 1528 4088511 82 Linux swap / Solaris /dev/hdf6 1529 9729 65874501 83 Linux [root@localhost ~]#
The last entry I created by copy /paste:Code:[root@localhost ~]# cat /boot/grub/meun.lst cat: /boot/grub/meun.lst: No such file or directory [root@localhost ~]# cat /boot/grub/menu.lst timeout 10 color black/cyan yellow/cyan gfxmenu (hd0,0)/usr/share/gfxboot/themes/pclinuxos/boot/message default 0 title linux kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hdf1 acpi=on resume=/dev/hdf5 splash=silent vga=788 initrd (hd0,0)/boot/initrd.img title linux-nonfb kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/hdf1 acpi=on resume=/dev/hdf5 initrd (hd0,0)/boot/initrd.img title failsafe kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/hdf1 failsafe acpi=on resume=/dev/hdf5 initrd (hd0,0)/boot/initrd.img title XPPro <--- This entry was from a different configuration. root (hd2,0) map (0x81) (0x80) map (0x80) (0x81) makeactive chainloader +1 title Ubuntu in (hd1,0) root (hd1,0) configfile /boot/grub/menu.lst [root@localhost ~]#
title Ubuntu in (hd1,0)
root (hd1,0)
configfile /boot/grub/menu.lst
It brings up the OLD GRUB, from before addition of PCI IDE card with PCLOS?
Confused? Me TOO! And I'm not with you on 'Set root and map drives...'.
EDIT:
I got Ubuntu added properly to PCLOS GRUB, like this:
1) From PCLOS GRUB boot menu, I clicked on
That got me to the old GRUB for Ubuntu, which listed Ubuntu and XP which USED TO work, but now do not, since enumeration changed.Code:title Ubuntu in (hd1,0) root (hd1,0) configfile /boot/grub/menu.lst
2) I copied the Ubuntu info for root, kernel, and initrd info by hand (WHEW), EDITED THE LOCATION FROM (hd0,0) to (hd1,0), re-booted into PCLOS, and entered it directly into PCLOS GRUB menu.lst.
3) I rebooted, and scrolled to the new Ubuntu entry, and it loaded. COOL.
Now, how do I do the same for the XP install, on the other disk? I tried the edit described in post 1 (red text), but NO-GO...
- 02-15-2009 #4
Try adding to PCLOS grub menu
I think you will get more reliable grub operation with multiple disks using uuid in both grub menu files and fstab entries.Code:title XP rootnoverify (hd2,0) map (hd0) (hd2) map (hd2) (hd0) chainloader +1
Let us know if the XP entry works, if not what errors do you get?
The also boot from PCLOS and type ls /dev/disk/by-uuid -l and post output.
- 02-15-2009 #5Linux User
- Join Date
- Apr 2007
- Posts
- 289
No error; but totally blank screen.
(Before putting in PCI IDE card with PCLOS disk already on it, I did a fixmbr for XP. This changed the UUID???)
---------------------------------------
This is current:
Just to make sure Windows had no error, I pulled the PCI IDE card, and booted. Ubuntu Grub came up, I selected XP, and it booted.Code:[root@localhost ~]# ls /dev/disk/by-uuid -l total 0 lrwxrwxrwx 1 root root 10 Feb 15 08:57 2030A6DF30A6BAE4 -> ../../hdd1 lrwxrwxrwx 1 root root 10 Feb 15 08:57 2a20821c-cdb2-4b61-b906-3551af20afc5 -> . ./../hdf5 lrwxrwxrwx 1 root root 10 Feb 15 08:57 51f8db2d-215a-4377-800a-0e31e6c7067c -> . ./../hdc5 lrwxrwxrwx 1 root root 10 Feb 15 08:57 6463a85e-68bf-4102-a95a-06e9b4ae921b -> . ./../hdf1 lrwxrwxrwx 1 root root 10 Feb 15 08:57 c750b94d-415d-4015-8d90-54500d601b5d -> . ./../hdc1
- 02-15-2009 #6
Lets just check how grub is referencing disk partitions. With all disks connected, at grub boot menu press escape and exit menu. Type c for command and type find /boot/grub/stage1 ... what does this report ... entries should be something like (hd0,0) etc.
- 02-16-2009 #7Linux User
- Join Date
- Apr 2007
- Posts
- 289
grub loaders found at:
hd0,0 (I presume this is PCLOS GRUB, since first boot device is SCSI, and PCLOS is on PCI IDE card);
and hd1,0. (This GRUB is improperly configured, UNLESS the PCI IDE card is removed. The enumeration changes I believe).
[root@localhost ~]# cat /boot/grub/menu.lst
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/usr/share/gfxboot/themes/pclinuxos/boot/message
default 0
title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hdf1 acpi=on resume=/dev/hdf5 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img
title linux-nonfb
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/hdf1 acpi=on resume=/dev/hdf5
initrd (hd0,0)/boot/initrd.img
title failsafe
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/hdf1 failsafe acpi=on resume=/dev/hdf5
initrd (hd0,0)/boot/initrd.img
title XPPro <--- This entry was from a different configuration.
root (hd2,0)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1
title Ubuntu in (hd1,0)
root (hd1,0)
configfile /boot/grub/menu.lst
[root@localhost ~]#
If BOLDED selection is made, it loads GRUB for Ubuntu, BUT NEITHER Ubuntu or XP will load.
- 02-16-2009 #8
Try adding makeactive after the rootnoverify line in my previous post ... if that does not work try entering them one at a time at the grub prompt. Does any line throw an error?
- 02-17-2009 #9Linux User
- Join Date
- Apr 2007
- Posts
- 289
I'm doin' line-by-line at GRUB shell, for Windows device (hd2,0)
First line came back void...
root (hd2,0)
"Filesystem type unknown, partition type 0x7
GRUB prompt returns.
I restarted the line-by-line, starting with:
rootnoverify (hd2,0) accepted
(are you saying try again with <makeactive> here?)
map (hd0) (hd2) accepted
map (hd2) (hd0) accepted
chainloader +1 accepted
boot return:blank screen.
- 02-17-2009 #10
Unplug/Disable all disks except the one having Windows OS. Set it as First Boot Device in BIOS. Does Windows OS boot up fine?
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First



