LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2007, 08:47 AM   #1
helltone
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Rep: Reputation: 0
Question Help booting and partition problems (windows+ubuntu)


Hi,

I've recently installed windows+ubuntu. I have the following scheme:

primary 1Gb linux swap
primary 10Gb linux ext3 <-- ubuntu 7.10 beta 5
primary 39Gb c: ntfs ("system") <-- shared personal data
primary 20Gb d: ntfs ("boot") <-- windows xp sp2

I meant to install windows at the 4th partition, but it has installed some files into the 3rd partition, which is where I have my personal files.

Among these files are NTDETECT.COM, NTLDR, MSDOS.SYS, CONFIG.SYS, IO.SYS, BOOT.INI and AUTOEXEC.BAT.

Is it possible to move these files to the 4th partition (eventually even change it to C ? I use grub, will I need to change something to be able to boot correctly?

Thanks a lot
 
Old 09-27-2007, 09:12 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Windows--by default--thinks that certain things are on--or should be installed to--the C: drive. During installation, I would assume that it would let you select the partition for installation--and then make that the C: drive. I do not believe it has the ability to split itself across 2 partitions.

Will the system now boot into Windows? If so, then it simply means that Windows is installed to the drive where all those files are.
 
Old 09-28-2007, 02:05 AM   #3
helltone
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Original Poster
Rep: Reputation: 0
I'm totally sure I've choosen the 4th partition for installation of windows. Windows installed the WINDOWS directory into the 4th partition. I don't know why, but it ALSO installed some files into the 3rd partition. System was booting correctly both into windows and linux, but I want to move all files to the 4th partition.

What I've done is to boot live cd, then move all these files to the 4th partition:

Code:
AUTOEXEC.BAT, boot.ini, CONFIG.SYS, IO.SYS, MSDOS.SYS, NTDETECT.COM and ntldr
Then I edited the file boot.ini:

Code:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(4)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
instead of:

Code:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
And then changed grub's menu.lst.

Code:
title		Microsoft Windows XP Professional
root		(hd0,3)
savedefault
makeactive
chainloader	+1
instead of:

Code:
title		Microsoft Windows XP Professional
root		(hd0,2)
savedefault
makeactive
chainloader	+1
After updating grub and rebooting... it works \o/

But WHY windows installed those files into the 3rd partition originally?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition rearrangement & dual booting Ubuntu/XP via GRUB VoidRoamer Linux - Hardware 9 04-29-2007 09:32 AM
dual booting xp and ubuntu need help with the fat32 shared partition reddwarf1387 Linux - General 4 02-07-2007 11:23 PM
Dule booting Ubuntu and mepis with a shared /home partition. inspiron_Droid Linux - General 2 02-02-2007 09:14 AM
Hard disc partition problems dual booting with windows randrake SUSE / openSUSE 1 02-17-2006 12:37 PM
Problem Booting XP after Ubuntu install because of Compaq QuickRestore partition eminence Linux - Hardware 3 05-23-2005 12:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration