LinuxQuestions.org
Help answer threads with 0 replies.
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 05-20-2004, 07:09 PM   #1
Tide
LQ Newbie
 
Registered: May 2004
Posts: 18

Rep: Reputation: 0
Partition Ordering Problems


Welp, I was an idiot, and using partition magic I created a linux partition that I was going to install mandrake into, and put that partition before windows. Apparently, this screws up windows, so using knoppix I managed to delete the swap and regular partition that I made, but my windows partition cannot be maximized with cfdisk, nor can I find out how to renumber it from /dev/hda3 to hda1. Would renumbering the drive fix the problem (I'm getting the old "xmnt2002 not found, autoconf not found, skipping" etc error message, and then the computer just turns off and back on)?
 
Old 05-20-2004, 11:27 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,870

Rep: Reputation: 87
Generally you want to have Windows as the first primary partition. Especially if that is where it was installed in the first place. No Os Likes to wake up on a partition other than where it was installed.
Can you use Partition Magic to move the Windows partition to the begining of the drive and then delete all partitions after it?
 
Old 05-21-2004, 01:26 AM   #3
xanas3712
Member
 
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266

Rep: Reputation: 30
Partition magic can do that. You may need to move it to another machine though (I'm guessing you have one since you posted) in order to do that if this one won't boot properly.

None of the linux programs (like parted) are particularly good at moving partitions around. I used qtparted to resize my ntfs partition and then used partition magic to resize my ext3 partitions and move them.. but you can't move logical partitions in qtparted so.. I had to use the other to do that properly.
 
Old 05-21-2004, 06:43 AM   #4
Tide
LQ Newbie
 
Registered: May 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Welp, since I cant access windows I cant access PartitionMagic. I decided to fool around a bit and install mandrake into the free space anyways, and it more or less works. I can at least put crap on a cd and transfer it over, since I haven't configured my wireless card yet. Is there a program I can transfer over, a linux partitionmagic equivalent, that could handle this?
 
Old 05-23-2004, 10:37 PM   #5
Tide
LQ Newbie
 
Registered: May 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Hmm, so I have to hook the old gal up to another computer to get this job done eh? I can't very well rip out the harddrive and hook it up to my desktop, because, if memory serves me, it's on a laptop so that'd be no good anyways, not to mention it'd void the warranty. I'm considering just taking it down to compusa and having them handle it, but I dont even know if they'd have the software to do so. Anyone have an idea whether or not they do, or some other method I could use to be able to use partition magic on this now-defunct laptop? If this question has already been answered, please, point me to the posts. I didn't find any.
 
Old 05-23-2004, 10:48 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you can backup the whole thing using mandrake. It comes with CD burning software and you should have read access to teh windows partition.

Another thing that might work is to use partimage. It also comes packaged with mandrake. It creates an image of a partition. So you could use it to create an image file/files, burn them onto CDs. Reinstall mandrake. Let the installer reformat and repartition your harddrive, make sure you have a big enough partiton for windows (must be at least as big as the current size), have another partition for installing mandrake, install mandrake, and then use partimage to write the windows image onto the first partition. It might work.
 
Old 05-24-2004, 01:24 AM   #7
Tide
LQ Newbie
 
Registered: May 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Hmm, interesting idea, but risky. Has anyone ever tried doing this before?
 
Old 05-24-2004, 02:03 AM   #8
Vlad-A
Member
 
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299

Rep: Reputation: 33
As far I can understand you try to install Linux and Windows.
So it looks like a dual boot story.

Why don't you install Linux in the first partition and let Windows where
it is ?

Then use Linux' GRUB as boot manager.

In Grub you can then map your hda3 to hda0 for the boot process.

So add to your /boot/grub/menu.lst

title Windows
map (hd0,0) (hd0,x)
map (hd0,x) (hd0,0)
rootnoverify (hd0,x)
chainloader +1

where x is:
0..3 first to forth primary partition
4..n first to n-th logical partition

I assume in your case that x will be 2.

This mapping will "fake" that Windows is on the first partition,
so Windows will be happy with that when it boots.

It also my be that you messed up something in Windows when
you installed Linux, so you may end-up re-installing Windows.

However try first the mapping stuff, described above.
 
Old 05-24-2004, 03:49 PM   #9
Tide
LQ Newbie
 
Registered: May 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Nope, no luck vlad; I still get the same error. I suppose I'll try reinstalling windows next...is there a way of doing that into the new partition that windows is in?
 
Old 05-24-2004, 04:11 PM   #10
Tide
LQ Newbie
 
Registered: May 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Fixmbr didn't do it either, so I would assume it's a problem with windows. Fdisk also nicely got rid of my mandrake partition. Whee. I'm going to try to reinstall windows now from this crappy compaq windows OS cd. If that doesn't work, or wont work without wiping the drive, I'll reinstall drake (which incidentially installs to hda4 5 6 for some reason) and try the partimage idea, unless someone else has another idea.
 
Old 05-24-2004, 04:13 PM   #11
Tide
LQ Newbie
 
Registered: May 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Welp, the windows cd says that XP cannot recognize the partition I selected, so goof to that. I suppose I could try to install XP onto the 8 gigs of unpartitioned space I was using for drake, which would allow me to access partition magic. If I did that, does anyone know if partition magic would be able to delete the new 8 gig windows partition and move the old partition back to where it was?
 
Old 05-24-2004, 04:21 PM   #12
Vlad-A
Member
 
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299

Rep: Reputation: 33
Hi,

I *suggest* prior nuking your existing windows installation to take a look at:
http://www.vamos.de/english/bootman2.html

Section: 7.2 Windows 2000, NT 4 and NTFS version 4 and 5

Perhaps this can help you!
 
  


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
Ordering a Dell Laptop carlosinfl Linux - Laptop and Netbook 6 12-04-2005 03:07 AM
Ordering Linux CDs LinuxNewUser Linux - Newbie 13 04-25-2005 01:54 AM
ordering row entries rohr Programming 4 04-11-2005 04:36 AM
Breaking and Ordering Words HappyDude Programming 2 09-24-2004 01:32 AM
ordering the mandrake package highhighs Mandriva 3 09-03-2003 02:57 PM


All times are GMT -5. The time now is 06:48 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