Dual-boot Ubuntu XP (sp2)
I have a machine with 2 different HDD.
HDD0: XP-SP2 installed on it (formatted NTFS disk)
HDD1: ubuntu 6.10 (hard disk formatted to ext3 + a swap 1GB)
Grub is installed on HDD1 and was slightly modified,,,if I boot windows starts HDD0 . if I boot grub HDD1 gives me the choice between Ubuntu and Windows ,,, BUT if I choose Ubuntu, it starts OK
whereas if I choose Windows it gives me an error message like "unsupported format executabe"
Is it because of NTFS?
how to develop a system that I can not re-establish in each update of one of 2 OS?
thank you in advance for your help
Re: Dual-boot Ubuntu XP (sp2)
I have almost the same config (XP on a disk ntfs and Kubuntu on the other), and the PC starts without problem. You say "grub is installed on HDD1 and was slightly modified, are you sure changes?
Re: Dual-boot Ubuntu XP (sp2)
on which disk is your grub? Do you have a fat32 partition to boot?
before the changes of the 2 choices grub (ubuntu vs xp) did nothing (wrong) ... a friend who knows a little linux changed my menu.lst (I think) to correct the target of choice ubuntu or windows (hd1, 0 -> hd0, 0 and vice versa, I think).
Now boot ubuntu but not windows from grub ... (no problem if I boot directly to disk ntfs)
my friend said that it may be because grub do not boot on an ntfs partition that is not on the same disc ... I see no pkoi?
Could you mail me a copy of your menu.lst, or other settings that I have to play for AC ... (like you)
or, as a last resort, can I replace ntldr by grub? (and how)
if so, should I upgrade each OS (gender transition to vsita or ubuntu 7.04 ...)
thank you again
Re: Dual-boot Ubuntu XP (sp2)
As the disk on which I installed Kubuntu was empty, I let the installation do its patitionnement default.
The partition boot type ext3
The menu.lst file is a bit long for the entire post on the forum, I can send you in PM if you want. In the meantime, I post here the main lines:
Code:
Menu.lst
# # Default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# The entry number 0 is the default if the command is not used.
#
default 4
# # Timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (Normally the first entry defined).
timeout 10
title Ubuntu, kernel 2.6.17-10-generic Ext
root (hd2, 0)
kernel / boot/vmlinuz-2.6.17-10-generic root = / dev/sdc1 ro quiet splash
initrd / boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot
title Ubuntu, kernel 2.6.17-10-generic (recovery mode) Ext
root (hd2, 0)
kernel / boot/vmlinuz-2.6.17-10-generic root = / dev/sdc1 ro single
initrd / boot/initrd.img-2.6.17-10-generic
boot
title Ubuntu, memtest86 + Ext
root (hd2, 0)
kernel / boot/memtest86 +. bin
quiet
boot
# # # END DEBIAN Automagic KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# Ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# On / dev/sda1
title Microsoft Windows XP Professional
root (hd0, 0)
savedefault
makeactive
chainloader +1
I changed the line "default 4" to boot by default on XP ... nobody's perfect
I do not know if you can replace by grub ntldr because I use Linux for too little time.
If as you do not already.
Re: Dual-boot Ubuntu XP (sp2)
Normally, if you install Linux over Windows, the grub takes care of everything without touching ...
And with different distributions.