LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-26-2005, 11:51 PM   #1
longtex
Member
 
Registered: Aug 2004
Location: Texhuahua
Distribution: RedHat 6,7,9,EL; SuSE 9.2 Pro, Knoppix 3.4/.7/.9, Fedora Core 4
Posts: 87

Rep: Reputation: 15
TIP: Installing for Dual-booting with XP



I don't know if this has been offered before, but I've seen several questions about problems doing this, so I thought I'd throw in my tip...

What I have found over the course of about a dozen dual-boot installs with XP and almost any Linux is that the Linux partition editors don't cope very well with XP's NT File System. This usually results in a hosed hard drive, and at best with a Linux-only computer.

After the first couple of disasters I have taken this action:


(1) Either install XP first or leave it alone if it's already on;

(2) Partition your Hard Disk Drive before either from Windows or using a bootable solution, such as Acronis.

(3)Defrag your Windows BEFORE you partition the drive!!

(4) After you've defragged, use PartitionMagic http://wiki.ehow.com/Resize-and-Crea...tition-Magic-8 (or similar - I've been using - it works... I think I gave like $20 for it as a download) and partition the drive FROM WITHIN XP; (others report using Acronis; I haven't used it, but I've seen it working, not for partitioning but for creating an image of a drive and restoring that image. AFAIK it's a separate beastie - you boot the computer with Acronis, so it should handle things okay, but again, I haven't used it so I can't honestly recommend it )

(5) Install the Linux on the new partition.



HTH - It's worked just fine for me.

Note: This is not universally necessary. My very first dual-boot Linux-after-XP install (SuSE 9.2) went just fine (or at least, it's still running and not doing anything partilcarly odd), so I was surprised when the second and third ones were nightmares from hell. Since then, I have ALWAYS used the above, and so far, no problems.


Last edited by longtex; 10-02-2005 at 10:27 PM.
 
Old 09-27-2005, 03:42 AM   #2
JamieBrown
Member
 
Registered: Jan 2005
Location: Great Ayton, North Yorkshire, UK
Distribution: Gentoo, Mandriva, RHES, Debian
Posts: 61

Rep: Reputation: 15
FYI - I absolutely agree. Every time I've had to set up dual booting I've always used PartitionMagic, and its always been superb.
 
Old 09-27-2005, 05:43 AM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
hello,
for beginners its really a nightmare to install windows after installing linux.
But once you get used to of it.......its just like a piece of cake and require either bootable 1st cd of that linux distro or bootable floppy ( which you generally make at the time of installation of linux )
but one thing you should keep in mind is that if you have installed linux first.......and suppose all the partitions are "linux" type then you just won't be able to install windows without formatting the 1st primary partition as 'fat' or 'fat32' or NTFS i.e windows partition.
what i mean is that suppose u r installing windows on the 2nd logical drive and rest all the partitions are of linux type....then u will have to format the 1st primary partition as of windows.
so take care......

regards
 
Old 09-27-2005, 12:33 PM   #4
Matty-J
Member
 
Registered: Jun 2004
Distribution: SuSE 9.3, Debian Sarge
Posts: 65

Rep: Reputation: 15
Hi,

I've also run into this problem before, but I can't remember if I used Partition Magic or the Linux partitioner.

Anyways, I wanted to give FC4 a chance, so made the partitions and installed. Ran for about a week, but didn't have time to play around because university was catching up with me. Also was running out of space, so wanted to get those partitions back for Windows use. Problem is, now Partition Magic doesn't recognize the partitions. They're completely formatted and in the Windows Disk manager everything is listed as Unallocated space. Partition Magic causes some messed up error (can't remember, and am at work. I'll post it later tonight) inidicating that it can't recognize or handle the extra partitions.

Has anybody else run into this? All I want to do is merge the partitions back into the main one without completely formatting the HD. Any suggestions?

Thanks,
Matt
 
Old 09-27-2005, 05:42 PM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Partitioning for dual boot

Red Originally posted by longtex
(1) Either install XP first or leave it alone if it's already on;
Always good advice. In fact, if you can move the Winders drive to a different logical position (hdb, hdc, etc.) & do your GNU/Linux install on a separate drive, it's wonderful. Most of us don't have that luxury.

(2) Use PartitionMagic (I think I gave like $20 for it as a download) and partition the drive FROM WITHIN XP;
While this works for you, I can't do it this way -- I have a copy of Acronis PartitionExpert (ver. ?) & I can't be installing it on the HD of every one I help. So I have to take the opposite approach: partition the drive from the bootable Acronis cd, outside XP.

I also always make my installees run 'chkdsk /f' & do a defrag before we start.

(3) Install the Linux on the new partition.
Or leave the freed space as unpartitioned free space & turn the Linux installer loose in it.


Matt,

Can you delete the Linux partitions in Linux? If necessary w/ a live CD.
Then perhaps PM can resize the XP partition into the free space.
 
Old 09-27-2005, 05:58 PM   #6
Matty-J
Member
 
Registered: Jun 2004
Distribution: SuSE 9.3, Debian Sarge
Posts: 65

Rep: Reputation: 15
Hey,

I've already deleted them through the Disk Manager, so everything is no Unallocated. Is that not the same thing?

Matt
 
Old 09-28-2005, 12:19 PM   #7
longtex
Member
 
Registered: Aug 2004
Location: Texhuahua
Distribution: RedHat 6,7,9,EL; SuSE 9.2 Pro, Knoppix 3.4/.7/.9, Fedora Core 4
Posts: 87

Original Poster
Rep: Reputation: 15
Re: Partitioning for dual boot

Quote:
Originally posted by archtoad6
Red Originally posted by longtex
(1) Either install XP first or leave it alone if it's already on;
Always good advice. In fact, if you can move the Winders drive to a different logical position (hdb, hdc, etc.) & do your GNU/Linux install on a separate drive, it's wonderful. Most of us don't have that luxury.

(2) Use PartitionMagic (I think I gave like $20 for it as a download) and partition the drive FROM WITHIN XP;
While this works for you, I can't do it this way -- I have a copy of Acronis PartitionExpert (ver. ?) & I can't be installing it on the HD of every one I help. So I have to take the opposite approach: partition the drive from the bootable Acronis cd, outside XP.

I also always make my installees run 'chkdsk /f' & do a defrag before we start.


Right - if the XP has been used much (or perhaps at all) it's a damn good idea to defrag it before partitioning.

Quote:
(3) Install the Linux on the new partition.
Or leave the freed space as unpartitioned free space & turn the Linux installer loose in it.


Matt,

Can you delete the Linux partitions in Linux? If necessary w/ a live CD.
Then perhaps PM can resize the XP partition into the free space.
Regarding deleting or changing Linux partitions in Linux, I have dual-booted different versions of Linux (RedHat and Knoppix, RedHat and SuSE, SuSE and Knoppix, any of those three and Puppy, etc) without any problems (other than fat fingers or stupidity), so I'll say "sure, as far as I know," but perhaps others have had bad experiences?

One of my clients uses Acronis for backing up and cloning, and told me the same thing about its partitioner. I'm looking forward to giving it a try soon. As you mentioned, the nice thing is that it's bootable, so you can get into (pretty much) any HDD regardless of what file systems are on it.

The couple of times the Linux install has done the partitioning on an XP's NTFS, it's screwed up everything - the XP partition AND its own, and on those I had to burn it down, reinstall XP and then reinstall Linux.

So... Partition Magic, Acronis, or something else, as long as it handles changing the XP partition size so that you have plenty left for your Linux, AND the NTFS is left in proper shape, go for it...

I guess the bottom line for me is that the Linux partioners (today) don't have a good handle on modifying NTFS partitions... that may change in the future, but for now, my advice stands, with the addition before paritioning with ANYTHING of "don't forget to defrag the XP BEFORE you partition!!!"
 
Old 10-01-2005, 10:13 AM   #8
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally posted by Matty-J
... I've already deleted them through the Disk Manager, so everything is no Unallocated. Is that not the same thing? ...
(I trust "no" is a typo.)

I think the short answer is "Yes", i.e. "Unallocated" == free space.
 
Old 10-09-2005, 01:06 PM   #9
bacenter
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
Booting

Hello friends:

Iam happy because I am a Newbie and have installed both WindowsXP and Puppy Linux and everything is working excellent.

I know this is a very basic question, but....

Could you please let me know about a tool that can help me to "choose" which operating system to start at booting, in a visual way, not coding...

Would like to be able to choose this every time I turn the PC on.
is there a tool in Puppy LInux for this?
 
Old 10-10-2005, 11:24 AM   #10
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
It's called GRUB. (GRand Unified Bootloader)

Most distros install it, or the earlier lilo, automatically.

Start your rerading here:
http://www.linuxquestions.org/questi...der=descending

Then come back w/ specific Q's. Try to post only relevant detail, which can be difficult. Expect, & be patient with, counter-queries clarifying your problem. It helps to try to help yourself first. Ergo the occasional "RTFM" response.
 
  


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
Tip for users installing with CD's -use Multiple devices 1kyle SUSE / openSUSE 3 10-09-2005 03:37 PM
Dual booting with Grub - installing Win 2000 from CD-Rom with an existing SuSe 9.1 Steve2001 Linux - Newbie 3 01-19-2005 11:15 AM
Installing Fedora on 2nd hdd/ dual booting Chimaira Fedora - Installation 1 06-16-2004 11:15 PM
installing on separate drives/dual booting nuzzy Linux - Newbie 3 06-25-2002 06:30 PM
Installing anything and dual booting Insanepyro69 Linux - Newbie 2 05-04-2002 12:34 PM


All times are GMT -5. The time now is 10:05 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration