LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-14-2005, 09:24 AM   #1
marie-p
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Rep: Reputation: 0
partitioning hard drive


I am running SuSE 9.1 right now but I will also need to have Windows XP (unfortunately!)

My plan is to format my hard drive and then install both SuSE and Windows.

How do I partition a blank hard drive?

Should I install SuSE or Windows first?
 
Old 01-14-2005, 10:21 AM   #2
Groundhog1248
Member
 
Registered: Nov 2004
Location: PA
Distribution: Redhat Federo 3.0
Posts: 32

Rep: Reputation: 15
I would install XP first. Delete all the partitions and only creat a partititon size you need for XP. Leave the rest of the harddrive as free space. Than once you run your Linux install create the linux partitions from the free space and let GRUB run your boot options. That seemed to work nice for me. Now I'm thinking about deleting my Windows install and using that space for linux since I haven't booted into XP since installing Fedora 3.0. Also I have a second pc I run XP on for gaming.
 
Old 01-14-2005, 10:24 AM   #3
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
You will have to install XP first. Install Suse second.

Partitioning can be done with fdisk. You will also have to format the partitions after the patitioning. Personally I like to use Partition Magic, but that is not free.

You did not say how big the drive is. Think about if you need to share files between the two operating systems before you install and format. I would advise you to create a Fat32 partition if you want to share files. XP is usually installed with NTFS file system. NTFS support in linux is not the best.

Run fdisk and format enough space for XP and install. I have not installed Suse, but most of the distros have HD partitioning tools in them. You can create the linux partitions and format them during the install.

Hope this gets you started.
 
Old 01-14-2005, 10:49 AM   #4
marie-p
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Original Poster
Rep: Reputation: 0
I think my hard drive is 40GB. Not sure.

I don't need to share files between XP and Linux.

If I format my hard drive, that will get rid of any partition that might already exist, right?

Then all I have to do is run fdisk and tell it to create 2 partitions, (let's say 30GB and 10GB) and format both partitions.

Then I can install Windows on the 10GB partition

When that's done, I install Linux on the 30GB partition. (and the SuSE install will create the partitions it needs within that)

Is that correct?

Will it then automatically give me the option of booting either SuSE or XP when I turn on my computer? (or do I have to set this up somehow?)
 
Old 01-14-2005, 12:09 PM   #5
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
I think PartitionMagic is the easiest program to partition your HDD under Win32. Well, I have pirated version of it (I live in Russia. And this CD costs about 3$ + many other apps like ACDSee, C++ Builder)

______
Slackware 10.0.

Last edited by kornerr; 01-14-2005 at 12:10 PM.
 
Old 01-14-2005, 01:23 PM   #6
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Marie - P

The 10 gig 30 gig split will work. You can install Linux to a single partition, but I would recommend installing a swap partition, the OS to another partition, and your home to a separate partition. Take a look at your existing Suse system to see what tools come with Suse for partitioning and formating. The reason for this setup, is to allow you to re-install the linux system, without loosing your /home. Home is where your user data goes. If you don't separate them, you woudl have to backup and restore your user data. That can be a significant task. There are lots of threads on partitioning, and the "best" way to do it. There are as many ways as there are opinions.

Formatting does not get rid of partitions. You need to use fdisk, or partition magic to do that. There are also linux programs to delete partitions. Fdisk will create or delete a partition.

When you install linux, you should get an option to install a boot loader, either Lilo or Grub. Lilo is a little easier for the first time dual boot system. Both will work. You will need one or the other in order to boot either XP or Linux. This is not automatic as you suggest.
 
  


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
partitioning my hard drive bluemandrin Linux - Newbie 2 12-09-2005 05:18 PM
Partitioning a new hard drive soujrnr Linux - Software 2 12-09-2005 05:08 PM
Partitioning a hard drive phoenix_wolf Linux - Newbie 5 12-04-2004 02:50 AM
Hard drive partitioning FuGeE Linux - Laptop and Netbook 4 09-19-2004 08:48 PM
partitioning my hard drive stearic Linux - Newbie 1 01-07-2001 11:15 AM


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