LinuxQuestions.org
Visit Jeremy's Blog.
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 12-25-2005, 06:14 PM   #1
patrik1982
LQ Newbie
 
Registered: Sep 2003
Distribution: Gentoo, Ubuntu, FreeBSD
Posts: 18

Rep: Reputation: 0
Partitioning scheme för Linux + winXP?


I'm not really a newbie, but I have a question and want to know what you gurus think:

I want a dual boot (Windows XP + gentoo linux). What is the best disk partitioning to use? I have 2 hard drives.
My thoughts:
- Should both OSs be on the same disk? Or should I have install one on each disk?
- As I have 1GB of RAM, is a swap partition really necessary? How large should it be?
- Should I use the windows bootloader or grub?
- I also want to use some kind of disc encryption (like truecrypt). Are those safe to use? Is truecrypt the one to use, or do you recommend some other encryption?

Also, I wonder if the nForce4 chipset and/or PCI-Express gfx-card will cause me troubles?? (haven't installed linux on this very computer before)

My computer:
Asus A8N-E nForce4 ultra
AMD64 3500+ (Venice) 2.2GHz
GeForce 6600GT 128MB PCI-Express
1024 MB DDR-RAM
160GB + 220GB Hard drive
 
Old 12-26-2005, 11:07 AM   #2
card-suse
Member
 
Registered: Dec 2005
Location: Ohio, USA
Distribution: OpenSuSE 10.2
Posts: 74

Rep: Reputation: 15
Personally I don't consider myself a guru just yet. But here's my advice and this is what I did. Seems to work pretty well:

1) Install your Linux flavor on your second hard disk.
2) Use Grub. Very nice bootloader
3) I partitioned my Linux drive as follows:

/boot partition in (hd1,0)
One logical volume group (LVM (Logical Volume Management)) partitioned as follows (hd1,1):
/OS mounted on / ; root
/Users mounted on /home ; volume for users
/Swap swap partition ; swap volume
/Data mounted on /Data ; data volume (probably overkill, just use users)
/Backup mounted on /Backup ; used for temporary storage of system backup

The only thing I would probably change is to take the swap partition out of the LVM group and make it a single partition after /boot. In other words, make a swap partition at (hd1,1) and the volume group at (hd1,2). If you're not familiar with LVM the I would just make 3 partitions as such:

/boot partition in (hd1,0)
swap partition in (hd1,1)
/ partition in (hd1,2)

I using (hd1) here since I'm assuming you'll be installing Linux on the second hard disk, it would be (hd0) otherwise. BTW, I'm using Grub nomenclature for the disks here.

4) I would definitely install a swap partition and just make it twice your memory size (2Gb in your case). Hard disks are big today and this isn't a large sacrifice. Besides, power management like suspending to disk would probably like to have this partition.

I hope this helps and as always, your mileage may vary. Good luck. BTW, I'm running SUSE 10.0 and Windows XP with this setup on both my home systems and so far not bad.

Regards,

card-suse
 
Old 12-27-2005, 12:22 AM   #3
tatsuyasha
LQ Newbie
 
Registered: Dec 2005
Location: in hell
Distribution: SUSE 10.o
Posts: 2

Rep: Reputation: 0
I have a similar issue with this installastion. I am running SUSE linux 10.0 on an external drive, and windows XP pro on the internal drive. No matter how I configure the lilo or grub bootloader, windows simply will not boot.i have been using the linux dvd to boot the os but i would like to be able to boot windows from the hard drive, because i have a laptop and would enjoy the extended battery life.
 
Old 12-28-2005, 07:14 PM   #4
card-suse
Member
 
Registered: Dec 2005
Location: Ohio, USA
Distribution: OpenSuSE 10.2
Posts: 74

Rep: Reputation: 15
I'm not sure why you are having this problem. For starters, when you installed SUSE 10.0 where did you put the /boot partition? Let's start there and see if we can figure out your problem. As a matter of fact, could you list how you partitioned your system. Please include the partitioning of your internal disk also so I can get an idea of how you laid out your system. Thanks.
 
Old 12-28-2005, 08:42 PM   #5
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by card-suse

I would definitely install a swap partition and just make it twice your memory size (2Gb in your case). Hard disks are big today and this isn't a large sacrifice. Besides, power management like suspending to disk would probably like to have this partition.
card-suse
swap size = 2 X main memory size.
it is an old concept when the size of main memory was not enough and moreover it was very costly.

But now this thumbrule doesn't lasts anymore for 1GB ram.
Buddy 1 GB is too much.
i've only 256 mb of RAM and hardly i saw my system using the swap. But still i'm keeping 300 mb of swap.
Believe me you will never see your swap being used if you are having 1GB of ram.

I know this topic always asks for hot discussion. But i'm pretty clear about my concept.

regards
 
Old 12-29-2005, 02:59 AM   #6
tatsuyasha
LQ Newbie
 
Registered: Dec 2005
Location: in hell
Distribution: SUSE 10.o
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by card-suse
I'm not sure why you are having this problem. For starters, when you installed SUSE 10.0 where did you put the /boot partition? Let's start there and see if we can figure out your problem. As a matter of fact, could you list how you partitioned your system. Please include the partitioning of your internal disk also so I can get an idea of how you laid out your system. Thanks.
Okay here goes:
I put the /boot into the usb external drive, had a 1gb partition because I have 512mb ram, but I suspect it modified my boot partition on the internal hd.
Heres the raw list:
HDA1/2:55/5gb windows partition/NTFS stuff(internal drive)
SDA1 1gb boot partition on a USB2 Hard drive(LILO Boot loader, does not work properly, currently booting from dvd)
SDA2 27gb Linux primary drive
 
Old 12-29-2005, 07:14 AM   #7
card-suse
Member
 
Registered: Dec 2005
Location: Ohio, USA
Distribution: OpenSuSE 10.2
Posts: 74

Rep: Reputation: 15
Quote:
Originally Posted by ruudra
swap size = 2 X main memory size.
it is an old concept when the size of main memory was not enough and moreover it was very costly.

But now this thumbrule doesn't lasts anymore for 1GB ram.
Buddy 1 GB is too much.
i've only 256 mb of RAM and hardly i saw my system using the swap. But still i'm keeping 300 mb of swap.
Believe me you will never see your swap being used if you are having 1GB of ram.

I know this topic always asks for hot discussion. But i'm pretty clear about my concept.

regards
Yeah, I agree with you, but I'm not sure if "swsusp" for suspending to disk needs this. I'm pretty sure this is where it dumps your main memory if you go into hibernate. I just wanted to make sure he had overkill because he probably has plenty of disk space and if he mounts in an LVM group he could always change it.
 
  


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 scheme? i.of.the.storm Linux - Newbie 9 08-28-2005 08:27 PM
O/S partitioning scheme for Oracle 10g on RHEL Linux AS3 lugnut Linux - Enterprise 0 01-03-2005 01:46 AM
partitioning scheme Godsmacker777 Linux - General 2 11-28-2004 03:58 PM
Linux partitioning scheme leeman_s Linux - Newbie 5 10-23-2003 09:51 AM
Best Partitioning Scheme? rivang Slackware 28 05-19-2003 11:24 AM

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

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