LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-22-2007, 10:34 AM   #1
crimsonkil
LQ Newbie
 
Registered: Jan 2007
Location: Sacramento, CA, USA, Earth
Distribution: Ubuntu 6.06
Posts: 25

Rep: Reputation: 15
first partition windows


Hi folks,
I need to make a new partition on a hard drive running windows 2000. The new partition needs to be the first one on the disk (Crazy Compaq weirdness). Can this be done and still save the data that will be on the Windows partition?
I am running Ubuntu 6.06 live disc to try and partition this drive. The computer is a Compaq Armada 7400. What program works best for a non-programmer? Any things to watch out for, be aware of?

Thanks,
Crimsonkil
 
Old 02-22-2007, 11:34 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I typically use Gparted Live CD. It's a nice gui like Partition Magic and has the ability to move and resize NTFS partitions.

A couple of tips:
1) Backup any important data (which you should do on a regular basis anyway) since Murphy always seems to poke his head in.
2) Defragment the windows partition -- you might have to turn off "Virtual Memory" and "Hibernate" functions as these result in "Unmovable Files".
3) When you're done, you might have to edit the boot.ini file in Windows to adjust for the fact that you just moved it to a different partition.
4) After resizing/moving whatever you're going to do, the first thing you should do is boot into windows and make sure it all works. Then you can carry on with whatever you're trying to do.

So far I've not had a Windows install mess up by resizing it. It just checks the disk the first time you boot it up. But I've never tried moving one either...

Just out of curiosity, what are you trying to do and why do you think the new partition needs to be at the front?
 
Old 02-22-2007, 01:44 PM   #3
crimsonkil
LQ Newbie
 
Registered: Jan 2007
Location: Sacramento, CA, USA, Earth
Distribution: Ubuntu 6.06
Posts: 25

Original Poster
Rep: Reputation: 15
Compaq had software that interfaces with the BIOS that has to be in the first partition and the partition has to be called "Diags". Cannot get the computer to recognize a new HD without it. Hate compaq, but got this laptop for $50. The old hard drive is dying and I want to put a new one in. I run Ubuntu on my laptop, but the person I am giving this one to needs windows.

-crimsonkil
 
Old 02-22-2007, 03:21 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I would just get a new replacement 2.5" hdd having some number of sectors or bigger than the dying hard disk, put it in an enclosure, hook it up to the laptop as a USB hard disk, boot up Ubuntu, execute the terminal command
Code:
dd if=/dev/hda of=/dev/sda bs=32768
When it is done I swap the hard disk.

Done this a few time on several laptops.
 
Old 02-23-2007, 10:38 AM   #5
crimsonkil
LQ Newbie
 
Registered: Jan 2007
Location: Sacramento, CA, USA, Earth
Distribution: Ubuntu 6.06
Posts: 25

Original Poster
Rep: Reputation: 15
Code:
dd if=/dev/hda of=/dev/sda bs=32768

Worked like a charm! Thank you so much!

-Crimsonkil
 
Old 02-23-2007, 10:58 AM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Thanks for letting us know the solution worked for you.
 
  


Reply



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
GRUB won't load windows partition - root (hd0,0), Filesystem type unknown partition.. cillm527 Linux - Software 4 04-27-2008 06:44 AM
Messed up partition table and Windows' partition boot sector pyromithrandir Linux - General 32 04-08-2006 12:26 PM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-17-2004 11:05 PM
What is the code to copy a file from my windows partition to my linux partition? THEBIGFISH Linux - Newbie 3 03-15-2004 10:14 PM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-28-2003 11:16 PM

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

All times are GMT -5. The time now is 06:08 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
Open Source Consulting | Domain Registration