Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 08-05-2009
Member
 
Join Date: May 2008
Posts: 29
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
Reply With Quote
  #2  
Old 08-05-2009
Member
 
Join Date: May 2008
Posts: 4,080
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?
Reply With Quote
  #3  
Old 08-05-2009
Member
 
Join Date: May 2008
Posts: 29
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
Reply With Quote
  #4  
Old 08-05-2009
Member
 
Join Date: May 2008
Posts: 4,080
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.
Reply With Quote
  #5  
Old 08-05-2009
Member
 
Join Date: Apr 2008
Posts: 3,260
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.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Dual-boot Ubuntu XP (sp2)"
Thread Thread Starter Forum Replies Last Post
How can I dual boot windows and Ubuntu along with EFI and SSD Lhamu Operating Systems 6 05-02-2011 08:21 PM
Dual-Boot Win7-Ubuntu schust06 Operating Systems 2 31-10-2009 10:43 AM
dual boot ubuntu and windows 7 Tomthegreat Operating Systems 10 09-10-2009 06:24 PM
Windows & over Ubuntu for dual boot? X-Man Operating Systems 3 17-03-2009 03:03 PM
Removing Ubuntu from dual boot Durjaya Operating Systems 3 17-02-2009 02:23 PM


All times are GMT +5.5. The time now is 03:18 AM.