Author Topic: Conspiracy, or just a PITA?  (Read 7689 times)

0 Members and 1 Guest are viewing this topic.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1691
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Conspiracy, or just a PITA?
« on: April 17, 2012, 09:13:37 pm »
So, here's the short version of the story.

I buy a old "PC" and after many days of problems created either by myself or by the hardware itself I finally get Ubuntu Server 10.04 running on it. This allows me to "free up" the partition that once was home to my movies, wallpapers, and a like. I.E. That stuff that takes up a load of space.

So I think to myself.

I have a spare partition, and I've got both OS X 10.5 (Hackintosh version) and Windows XP Pro, pre-activated on disc. Which one should I install? I decide Windows would be the better option, with all the program I use, etc, that I "need" because they're aren't any Linux native versions that are "good" enough yet.  I format the partition to NTFS and go get the disc.  I then pop in the XP disc, but oh wait. My laptop's bluray drive doesn't want to load the disc!? Is it dying?

I think about it, and come to the conclusion that possibly it is, seeing as it's nearly 4 years old. HOWEVER, I also think, perhaps my laptop is telling me. DON'T INSTALL XP! Perhaps it's being my "bodyguard".

I power-off the laptop for a bit, and give the bluray drive a bit of a blow inside to blow away any dust, etc. The XP disc then loads... BUT (Major but.)
The XP disc can't find the NTFS partition. Weird or what?

I want to put XP on the spare partition just so I can dual-boot between Peppermint 2 and XP, and yes I know it would've been more sensible to have Windows on first and then Peppermint, but let's be clear, my laptop hasn't had Windows on it for 3 years! So I was fully prepared for reinstalling GRUB all on my own.

I just don't get why Windows doesn't see it's OWN native partition.  ???
Any ideas anyone?
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18236
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #1 on: April 17, 2012, 09:28:31 pm »
I could be wrong about this, but I seem to remember reading Windows REALLY likes to be in the first partition of a hard drive .. but this *may* be more a limitation of the Windows bootloader which obviously wouldn't be being used.

How did you create/format the NTFS partition ? .. from Linux, or from the XP CD ?

Have you tried removing the partition with something like gparted (leaving just unallocated space), then booting the XP CD and using that to create a partition in the spare space ?

As I sad .. I'm not even sure you CAN do what you're trying .. but I've never personally tried.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1691
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #2 on: April 17, 2012, 09:30:50 pm »
I just formatted it using disk utility. Never really thought about Windows "liking" to be the first partition. It would be a PITA if I had to move ALL my stuff to other partitions and then re-allocate all of it.

I may very well just go ahead and install OS X on it, and my stuff that way.
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 142
  • Gender: Male
    • View Profile
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #3 on: April 17, 2012, 10:59:16 pm »
You should have been able to install XP into partitions other than the first one.
However this would have not worked in your case as the boot part would have to be installed
onto the first primary partition on the first HDD, which you would be using for Peppermint.

As an alternate option would be to install XP in a VM like VirtualBox.
http://www.ghacks.net/2009/06/15/installing-a-windows-xp-as-a-virtual-machine-on-virtualbox/

Not that I have done this before, but were thinking of as I sometime need XP for testing some of my coding.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1691
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #4 on: April 17, 2012, 11:17:28 pm »
I need XP for video editing. Installing it in a VM just won't cut it I'm afraid SeZo.  I could install OS X, but I can't guarantee it'll work, even though it's a modified installer for OS X.

I was hoping to use XP for gaming as well. I've missed gaming on my laptop if I'm honest. It's the only REAL reason I NEED Windows.

:(
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 142
  • Gender: Male
    • View Profile
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #5 on: April 17, 2012, 11:33:04 pm »
OK, It was worth the try.
Next option:
Depending on your partitioning scheme, you might be able to re-configure the partitions with Gparted,
by deleting the empty partition (assuming it is on the right end of the drive)
then move the Peppermint partition to the right to free the space on the left (beginning of the drive)
Now create the primary partition for XP in the vacated area.

See some howto on moving partitions with Gparted:
http://www.howtoforge.com/partitioning_with_gparted_p2

Needless to say BACKUP first

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18236
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #6 on: April 18, 2012, 12:00:17 am »
Am I missing something here .. XP doesn't have a separate boot partition like Vista/Win7 ???

do you think this needs to be in a separate topic .. or this one renamed  :o
« Last Edit: April 18, 2012, 12:04:38 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 142
  • Gender: Male
    • View Profile
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #7 on: April 18, 2012, 12:06:39 am »
Am I missing something here .. XP doesn't have a separate boot partition like Vista/Win7 ???

No boot partition, but still writes to the first primary partition of the first disk.
Bear in mind that in Microsoft's eyes there is only one operating system...


Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18236
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #8 on: April 18, 2012, 12:11:41 am »
Sorry .. that's what I meant by "Windows REALLY likes to be in the first partition of a hard drive" :)



IIRC .. BkS had some bad sectors in that second partition (the reason for its existence in the first place) .. so I wouldn't move Peppermint to that end if I were you  :o

Sorry SeZo, not stepping on toes .. just that I (may) have a bit of "prior knowledge" of the reason for his current partition scheme :)
« Last Edit: April 18, 2012, 12:19:05 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 142
  • Gender: Male
    • View Profile
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #9 on: April 18, 2012, 12:26:28 am »
Yeah, this topic should be at least renamed. ;)

Quote
Sorry SeZo, not stepping on toes .. just that I (may) have a bit of "prior knowledge" of the reason for his current partition scheme :)

No problem. :-\
In that case he could just shrink (not move) the Peppermint partition from the left (enough for a boot partition - Vista/7 like)
and install XP as originally intended (obviously not in so many steps)

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18236
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #10 on: April 18, 2012, 12:29:51 am »
Sounds good to me :) .. though I'd have to do a bit of homework on how to use a separate boot partition with XP .. I know it CAN be done as some systems come with weird boot setups (particularly laptops), but I've never tried it myself.

This *may* actually be easier with Vista/Win7 .. which would be a first ;)
« Last Edit: April 18, 2012, 12:47:19 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1691
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #11 on: April 18, 2012, 10:19:42 am »
Well here's my current partition layout:

Click for larger view.

If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18236
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #12 on: April 18, 2012, 02:57:15 pm »
Hmm ..  From what I gather Windows MUST be in a primary partition, not an extended/logical partition .. which is probably why the Windows installer cannot "see" the partition.

I also gather that Windows (at least XP) has no problem being on partitions other than the first ..

Which is what the:-

Quote
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS

entry in the XP boot.ini file is all about

The ONLY restrictions are that it's a PRIMARY partition and it's bootloader has to be on the FIRST HDD (set it BIOS) to boot (in which case GRUB will take care of the chainloading), otherwise you have to get GRUB to trick windows into thinking it's on the first disk by mapping the drives.

So the only issue I see here (as you only have 1 HDD) is that the partition you've created for XP is NOT a primary partition .. so you've got some partition juggling to do ;)

[EDIT]

Oh, nearly forgot .. you *may* (I repeat *may*) also have to remove the 'boot' flag from the Linux partition .. Linux doesn't (AFAIK) need this, and it may confuse the Windows installer.

Once you have a PRIMARY partition for Windows, personally, I'd try installing without removing the boot flag first .. as the Windows installer may set it for you.
« Last Edit: April 18, 2012, 03:15:48 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1691
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #13 on: April 18, 2012, 03:31:24 pm »
Couldn't I just change the boot.ini file in the ISO? o.o

I have a spare 2.5" HDD, but that also has "some" bad sectors. I don't want to be swapping out HDD all the time. :/

EDIT: It could be that XP disc that's at fault. Just ran an old Vista disc I have and installing it onto the spare HDD perfectly. That hard-drive was EXT4 before I formatted it to NTFS with G-Parted...

I'll run the Vista disc on the other HDD, and see if it picks it up. If not, I'll just keep switching HDD whenever I need to use Windows, until I can get an enclosure for it, or just buy a SDD because the HDD it's installing on is major failing.
« Last Edit: April 18, 2012, 04:28:50 pm by BkS »
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18236
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Conspiracy, or just a PITA?
« Reply #14 on: April 18, 2012, 05:44:20 pm »
NO.. you don't have to edit the CD

The boot.ini file will be created in the root of the Windows partition during installation (it's usually in C:/boot.ini) .. you probably won't have to edit it at all as windows should do this for you as part of the install .. but if you do need to, it would be done post installation.

but Windows MUST be installed to a PRIMARY partition .. your current setup has the partition you want to install to as a logical partition in an extended partition .. this will not work.

You need to juggle your partitioning scheme to remove the Windows partition .. move the / parition .. resize the extended partition .. and create a PRIMARY partition for Windows.

Bear in mind though that doing this may end up with Linux spanning those bad sectors .. and will almost certainly break Peppermint, unless/until you edit GRUB and your fstab (as I'd expect the UUID's to change).
« Last Edit: April 18, 2012, 05:59:05 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal