LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-28-2006, 06:31 PM   #1
HouseC
LQ Newbie
 
Registered: Sep 2006
Posts: 16

Rep: Reputation: 0
help creating partitions for a duel boot system


This is going to be my first atempt at a slackware install so what I want to do is have a duel boot system with windowsXP ( as much as I want to just have a slack ware system, I have to share my computer with someone who does not want to learn slackware)and I don’t know how to setup my partitions for both windows xp and slackware. I have a 80GB hard drive and I would like to have windows xp take up half of the hard drive and the rest to slackware. I am concerned that I will screw something up because I have never had to create any partitions before.
 
Old 09-28-2006, 06:44 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Typically, I use the GParted Live CD to create/resize partitions.

If you don't already have XP installed, I would do the following
Code:
/dev/hda1   /boot  100MB
/dev/hda2   NTFS   20GB
/dev/hda3   Fat32  20GB <-- for shared files between linux and windows
/dev/hda4   swap   512MB
/dev/hda5   ext3   rest of drive  <-- for linux
I make a separate boot partition so that if I ever delete linux, I can still boot windows using the linux bootloader (I use grub). Note that you can only have 4 primary partitions, so really the swap and ext3 partition will be on a logical partition.

If windows is installed already and you don't want to reload it, boot into safe mode, disable virtual memory and defrag the drive. Then GParted can just resize it. Then you can put boot as the third drive and keep your windows drives together.
 
Old 09-28-2006, 08:02 PM   #3
HouseC
LQ Newbie
 
Registered: Sep 2006
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez
Typically, I use the GParted Live CD to create/resize partitions.

If you don't already have XP installed, I would do the following
Code:
/dev/hda1   /boot  100MB
/dev/hda2   NTFS   20GB
/dev/hda3   Fat32  20GB <-- for shared files between linux and windows
/dev/hda4   swap   512MB
/dev/hda5   ext3   rest of drive  <-- for linux
I make a separate boot partition so that if I ever delete linux, I can still boot windows using the linux bootloader (I use grub). Note that you can only have 4 primary partitions, so really the swap and ext3 partition will be on a logical partition.

If windows is installed already and you don't want to reload it, boot into safe mode, disable virtual memory and defrag the drive. Then GParted can just resize it. Then you can put boot as the third drive and keep your windows drives together.


Ok now which partition is windows installed into and which slackware, also will I have any security problems with slackware because windows is installed on the same hard drive?
 
Old 09-28-2006, 08:11 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Windows goes on the NTFS partition (in my example /dev/hda2). Slackware's /boot partition would go on /dev/hda1, and the / partition would go on /dev/hda5. The installer should find the swap partition and use it.

You shouldn't have any security issues with Windows being installed on the same drive. However, if you store a virus infected file, say a piece of shareware on the fat32 partition, you could email that file to someone and they could be infected. But in general, windows security vulnerabilities don't affect linux since Windows isn't running at the same time as linux.
 
Old 09-28-2006, 08:27 PM   #5
HouseC
LQ Newbie
 
Registered: Sep 2006
Posts: 16

Original Poster
Rep: Reputation: 0
what partitions should I create when I install windows and which ones should I create when I intall slackware? I have also read somewhere that swap should be the size of the amount of ram you have is that true
 
Old 09-28-2006, 09:33 PM   #6
Geist3
Member
 
Registered: Oct 2003
Location: Richmond, Virginia USA
Distribution: Slackware 12.2
Posts: 59

Rep: Reputation: 15
Clarification: The last primary partition,/dev/hda4, would be consumed in making the logical partitions. So swap would actually be /dev/hda5 and the rest of the drive would be /dev/hda6.

Your scheme will show up as:
/dev/hda1 /boot 100MB
/dev/hda2 NTFS 20GB
/dev/hda3 Fat32 20GB <-- for shared files between linux and windows
/dev/hda5 swap 512MB
/dev/hda6 ext3 rest of drive <-- for linux
 
Old 09-29-2006, 11:12 AM   #7
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Quote:
Originally Posted by HouseC
what partitions should I create when I install windows and which ones should I create when I intall slackware? I have also read somewhere that swap should be the size of the amount of ram you have is that true
I recommend creating them all ahead of time using GParted. Then just point the XP installer to /dev/hda2 (I forget what the second drive is called in the windows installer -- it's been a long time since I installed windows). Similarly, you just have to point slack at the other partitions it needs. Each will probably reformat the partitions, but at least they're already sized...
 
  


Reply

Tags
dual boot, partitioning



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
cloning both partitions, dual boot system, master boot record, logical volume manager saranga2000 Linux - Hardware 3 01-10-2005 11:04 AM
duel boot system rich032266 Mandriva 4 10-08-2004 11:01 PM
Need help with duel boot Mandrake10 and Win2000 system!!! AlphaBeta Linux - Software 1 09-04-2004 11:29 AM
Re-installing XP on a duel boot system. the_rydster Linux - General 5 02-27-2004 11:41 PM
how to hide GRUB bootloader while booting a duel boot system ( linux/windows ) ? dommini Linux - General 0 12-03-2003 03:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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