Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 07-15-08   #1 (permalink)
ʇʞǝdsoɹʇǝɹ
 
Retrospekt's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: /dev/sda
Posts: 6,741
Blog Entries: 6

Rep: 480 Retrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven member
Unique Rep: 329
FAQs Submitted: 2
Folding Team Rank: 323
Hardware Reviews: 4
Trader Rating: 9
Default Arch Partition help

I need to make a couple partitions, but after booting from the ArchFTP liveCD, I've realized the partitioning program built in to Arch stinks. I know there is a bootable Gparted, and I will use that.

I need to make these partitions:

1. Arch - 18gb
2. Swap - 2gb
3. XP - 30gb
4. Media - 100gb

What file types do I make, what is bootable, and what the heck is a system mountpoint of something?

A thorough explanation would be awesome.

System: Budget system
CPU
E1200
Motherboard
Gigabyte P35-DS3L
Memory
2x1gb G.Skill DDR2 800 (Red Heatspreaders)
Graphics Card
XFX 8800gt 512mb
Hard Drive
WD 160gb Sata
Power Supply
Antec TruePower 430w
Case
Coolermaster Centurion 5
CPU cooling
Tuniq Tower
GPU cooling
Stock
OS
Ubuntu 8.04
Monitor
19" WS Hanns-G
Retrospekt is offline I fold for Overclock.net Overclocked Account Retrospekt's Gallery   Reply With Quote
Old 07-15-08   #2 (permalink)
Fear is the heart of Love
 
dangerousHobo's Avatar
 
amd nvidia

Join Date: Dec 2005
Location: ~/
Posts: 3,410

FAQs Submitted: 7
Folding Team Rank: 298
Trader Rating: 0
Default

Quote:
Originally Posted by Retrospekt View Post
I need to make a couple partitions, but after booting from the ArchFTP liveCD, I've realized the partitioning program built in to Arch stinks. I know there is a bootable Gparted, and I will use that.

I need to make these partitions:

1. Arch - 18gb
2. Swap - 2gb
3. XP - 30gb
4. Media - 100gb

What file types do I make, what is bootable, and what the heck is a system mountpoint of something?

A thorough explanation would be awesome.
Whats wrong with cfdisk?

Filesystem type:
1. Arch -ext3 (there are others though but I prefer ext3)
2. Swap - swap
3. XP - NTFS
4. Media -fat32 (if you want to share between Linux and Windows a fat32 partition is the easiest way to go)

A System mounting point is the location within the system that you want that partition to be mounted.
EXAMPLE:

Say we have these 4 partitions:
1. 2gb Partition
2. 5gb Partition
3. 10gb Partition
4. 40gb Partition

We'll use the first as the swap. So where you'd select the file system type, you would select Swap(linux swap). Then for the last three we'll format as ext3. We also want to use the three partitions for this install so we'll set each drive to different mount points.
2. mount point at /
3. mount point at /usr
4. mount point at /home
Now each partition will be used by the system. Everything under /home is on partition #4. Everything under /usr is on partition #3, and then every thing else is located on partition #2.
Why set up like this? Say each partition was now a seperate hard drive, and the 4th one (your /home) was full. You could stick in another drive and mount it to your system and now have more space.
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn

Try out the latest Programming Challenge
Quote:
Originally Posted by Melcar
Only one reasonable way to solve this... a dance off.

CPU-Z Validation
@ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15


Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More

System: Anomaly
CPU
Athlon 3700 SD(KACAE)0546 @3.02ghz
Motherboard
DFI UT nF4 Ultra-D
Memory
G.Skill 2x512 UTT(BH-5)
Graphics Card
evga 6800gs
Hard Drive
Maxtor 300GB + WD 250GB
Sound Card
onboard
Power Supply
Ultra 500w V-series
Case
one from Ultra
CPU cooling
Big Typhoon
GPU cooling
80mm fan mounted on
OS
Arch Linux, Slackware 12.1
Monitor
Acer AL2216W 22" WS LCD
dangerousHobo is offline I fold for Overclock.net Overclocked Account dangerousHobo's Gallery   Reply With Quote
Old 07-15-08   #3 (permalink)
ʇʞǝdsoɹʇǝɹ
 
Retrospekt's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: /dev/sda
Posts: 6,741
Blog Entries: 6

Rep: 480 Retrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven member
Unique Rep: 329
FAQs Submitted: 2
Folding Team Rank: 323
Hardware Reviews: 4
Trader Rating: 9
Default

Quote:
Originally Posted by dangerousHobo View Post
Whats wrong with cfdisk?

Filesystem type:
1. Arch -ext3 (there are others though but I prefer ext3)
2. Swap - swap
3. XP - NTFS
4. Media -fat32 (if you want to share between Linux and Windows a fat32 partition is the easiest way to go)

A System mounting point is the location within the system that you want that partition to be mounted.
EXAMPLE:

Say we have these 4 partitions:
1. 2gb Partition
2. 5gb Partition
3. 10gb Partition
4. 40gb Partition

We'll use the first as the swap. So where you'd select the file system type, you would select Swap(linux swap). Then for the last three we'll format as ext3. We also want to use the three partitions for this install so we'll set each drive to different mount points.
2. mount point at /
3. mount point at /usr
4. mount point at /home
Now each partition will be used by the system. Everything under /home is on partition #4. Everything under /usr is on partition #3, and then every thing else is located on partition #2.
Why set up like this? Say each partition was now a seperate hard drive, and the 4th one (your /home) was full. You could stick in another drive and mount it to your system and now have more space.
Thanks for the long response. I'm still a little confused about system mountpoints.

Say for my partitions.

1. Swap - 2gb - Linux swap
2. Arch - 18gb - ext3
3. XP - 30gb - NTFS
4. Media - 100gb - Fat32

So in terms of those, what would the system mountpoints be set at, or am I still not understanding this? I guess my problem is I don't really understand the term "Mount".

System: Budget system
CPU
E1200
Motherboard
Gigabyte P35-DS3L
Memory
2x1gb G.Skill DDR2 800 (Red Heatspreaders)
Graphics Card
XFX 8800gt 512mb
Hard Drive
WD 160gb Sata
Power Supply
Antec TruePower 430w
Case
Coolermaster Centurion 5
CPU cooling
Tuniq Tower
GPU cooling
Stock
OS
Ubuntu 8.04
Monitor
19" WS Hanns-G
Retrospekt is offline I fold for Overclock.net Overclocked Account Retrospekt's Gallery   Reply With Quote
Old 07-15-08   #4 (permalink)
Kernel Sanders
 
rabidgnome229's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Pittsburgh
Posts: 4,900
Blog Entries: 1

Rep: 549 rabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famous
Unique Rep: 327
FAQs Submitted: 6
Trader Rating: 5
Default

In windows everything resides on some partition. C:\ is separate from D:\ is separate from A:\ etc. In linux, everything is a part of a single filesystem that starts at /. You can mount a partition at any point in this fs. Let's say you have 3 partitions. You could mount one at /, one at /media/storage, and one at /media/storage/external. (All arbitrary examples). In this case, everything decedent from /media/storage/external would be located on the third partition. Everything in /media/storage that is not in /media/storage/external is on the second, and everything else is on the first partition.
__________________
BIG BROTHER
I put on my robe and wizard hat...

IS WATCHING

System: It goes to eleven
CPU
E6300
Motherboard
DS3
Memory
2GB XMS2 DDR2-800
Graphics Card
EVGA 8600GTS
Hard Drive
1.294 TB
Sound Card
Audigy 2 ZS
Power Supply
Corsair 520HX
Case
Lian-Li v1000B Plus
CPU cooling
TTBT
GPU cooling
Thermalright V2
OS
Arch Linux/XP
Monitor
Samsung 226bw

Last edited by rabidgnome229 : 07-15-08 at 07:55 PM. Reason: switched "drive" for "partition" in a few places
rabidgnome229 is offline Overclocked Account   Reply With Quote
Old 07-15-08   #5 (permalink)
ʇʞǝdsoɹʇǝɹ
 
Retrospekt's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: /dev/sda
Posts: 6,741
Blog Entries: 6

Rep: 480 Retrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven member
Unique Rep: 329
FAQs Submitted: 2
Folding Team Rank: 323
Hardware Reviews: 4
Trader Rating: 9
Default

So the boot drive (18gb ext3 partition) would be just "/"? Then for swap I could just do /swap?

For media I could do /media and for XP /xp?

I might still be misunderstanding.

System: Budget system
CPU
E1200
Motherboard
Gigabyte P35-DS3L
Memory
2x1gb G.Skill DDR2 800 (Red Heatspreaders)
Graphics Card
XFX 8800gt 512mb
Hard Drive
WD 160gb Sata
Power Supply
Antec TruePower 430w
Case
Coolermaster Centurion 5
CPU cooling
Tuniq Tower
GPU cooling
Stock
OS
Ubuntu 8.04
Monitor
19" WS Hanns-G
Retrospekt is offline I fold for Overclock.net Overclocked Account Retrospekt's Gallery   Reply With Quote
Old 07-15-08   #6 (permalink)
Kernel Sanders
 
rabidgnome229's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Pittsburgh
Posts: 4,900
Blog Entries: 1

Rep: 549 rabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famous
Unique Rep: 327
FAQs Submitted: 6
Trader Rating: 5
Default

Quote:
Originally Posted by Retrospekt View Post
So the boot drive (18gb ext3 partition) would be just "/"? Then for swap I could just do /swap?

For media I could do /media and for XP /xp?

I might still be misunderstanding.
Yes. You can mount any of them anywhere - just do it some place that makes sense to you. I would suggest mounting the xp partition in /media and mounting the media partition inside of /media rather than as /media itself, since some distros put things there (mounted CD's/DVD's etc).

My take is mounting the Arch partition as /, the swap as /swap, the media as /media/storage (or something similar), and the xp as /media/xp (or something similar)
__________________
BIG BROTHER
I put on my robe and wizard hat...

IS WATCHING

System: It goes to eleven
CPU
E6300
Motherboard
DS3
Memory
2GB XMS2 DDR2-800
Graphics Card
EVGA 8600GTS
Hard Drive
1.294 TB
Sound Card
Audigy 2 ZS
Power Supply
Corsair 520HX
Case
Lian-Li v1000B Plus
CPU cooling
TTBT
GPU cooling
Thermalright V2
OS
Arch Linux/XP
Monitor
Samsung 226bw
rabidgnome229 is offline Overclocked Account   Reply With Quote
Old 07-15-08   #7 (permalink)
ʇʞǝdsoɹʇǝɹ
 
Retrospekt's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: /dev/sda
Posts: 6,741
Blog Entries: 6

Rep: 480 Retrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven member
Unique Rep: 329
FAQs Submitted: 2
Folding Team Rank: 323
Hardware Reviews: 4
Trader Rating: 9
Default

Quote:
Originally Posted by rabidgnome229 View Post
Yes. You can mount any of them anywhere - just do it some place that makes sense to you. I would suggest mounting the xp partition in /media and mounting the media partition inside of /media rather than as /media itself, since some distros put things there (mounted CD's/DVD's etc).

My take is mounting the Arch partition as /, the swap as /swap, the media as /media/storage (or something similar), and the xp as /media/xp (or something similar)
Ah, alright that makes a lot of sense now that I see it applied to my specific partitions. Thanks a lot!

I just read through ArchWiki a bit and Pacman looks pretty easy to use. This is a surprise for me.

System: Budget system
CPU
E1200
Motherboard
Gigabyte P35-DS3L
Memory
2x1gb G.Skill DDR2 800 (Red Heatspreaders)
Graphics Card
XFX 8800gt 512mb
Hard Drive
WD 160gb Sata
Power Supply
Antec TruePower 430w
Case
Coolermaster Centurion 5
CPU cooling
Tuniq Tower
GPU cooling
Stock
OS
Ubuntu 8.04
Monitor
19" WS Hanns-G
Retrospekt is offline I fold for Overclock.net Overclocked Account Retrospekt's Gallery   Reply With Quote
Old 07-15-08   #8 (permalink)
ʇʞǝdsoɹʇǝɹ
 
Retrospekt's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: /dev/sda
Posts: 6,741
Blog Entries: 6

Rep: 480 Retrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven memberRetrospekt is a proven member
Unique Rep: 329
FAQs Submitted: 2
Folding Team Rank: 323
Hardware Reviews: 4
Trader Rating: 9
Default

One more questoin. Logical vs. Primary partitions.

ArchWiki says Primary is for bootable. So I make the Arch partition Primary, but what about swap and XP? Do I make them primary or logical?

System: Budget system
CPU
E1200
Motherboard
Gigabyte P35-DS3L
Memory
2x1gb G.Skill DDR2 800 (Red Heatspreaders)
Graphics Card
XFX 8800gt 512mb
Hard Drive
WD 160gb Sata
Power Supply
Antec TruePower 430w
Case
Coolermaster Centurion 5
CPU cooling
Tuniq Tower
GPU cooling
Stock
OS
Ubuntu 8.04
Monitor
19" WS Hanns-G
Retrospekt is offline I fold for Overclock.net Overclocked Account Retrospekt's Gallery   Reply With Quote
Old 07-15-08   #9 (permalink)
Kernel Sanders
 
rabidgnome229's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Pittsburgh
Posts: 4,900
Blog Entries: 1

Rep: 549 rabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famous
Unique Rep: 327
FAQs Submitted: 6
Trader Rating: 5
Default

IIRC logical partitions exist to allow more than 4(?) partitions on a disk. The XP partition should probably be primary since you're going to boot from that also, but for storage and swap it doesn't really matter. If 4 is the magic number (I don't really remember) you're fine either way since you can make all partitions primary
__________________
BIG BROTHER
I put on my robe and wizard hat...

IS WATCHING

System: It goes to eleven
CPU
E6300
Motherboard
DS3
Memory
2GB XMS2 DDR2-800
Graphics Card
EVGA 8600GTS
Hard Drive
1.294 TB
Sound Card
Audigy 2 ZS
Power Supply
Corsair 520HX
Case
Lian-Li v1000B Plus
CPU cooling
TTBT
GPU cooling
Thermalright V2
OS
Arch Linux/XP
Monitor
Samsung 226bw
rabidgnome229 is offline Overclocked Account   Reply With Quote
Old 07-15-08   #10 (permalink)
Fear is the heart of Love
 
dangerousHobo's Avatar
 
amd nvidia

Join Date: Dec 2005
Location: ~/
Posts: 3,410

FAQs Submitted: 7
Folding Team Rank: 298
Trader Rating: 0
Default

Quote:
Originally Posted by rabidgnome229 View Post
IIRC logical partitions exist to allow more than 4(?) partitions on a disk. The XP partition should probably be primary since you're going to boot from that also, but for storage and swap it doesn't really matter. If 4 is the magic number (I don't really remember) you're fine either way since you can make all partitions primary
I believe 4 is the magic number.

Something to add to the parts about mount points, during the install don't worry about giving a mount point to the windows and media partition. You can have just the XP partition set as bootable. Thats how mine has always been. Then install Grub to the MBR.
After the install you can create mount points to the system for the media drive by adding a line to the file /etc/fstab. If you need help with adding it to that file then just ask. In Arch the common thing to do is add mount points under /media. Just make a new directory in /media and mount to that (for example mine is /media/storage). From /etc/fstab you can control the read and write ability to the drive also. If you decide to add a mount point for the XP drive then I'd suggest making it read only. You can write to it too, but I've heard that that can corrupt some data sometimes. So if you have to share between Linux and Windows its best to have a "share" partition in fat32.
Make sense?
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn

Try out the latest Programming Challenge
Quote:
Originally Posted by Melcar
Only one reasonable way to solve this... a dance off.

CPU-Z Validation
@ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15


Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More

System: Anomaly
CPU
Athlon 3700 SD(KACAE)0546 @3.02ghz
Motherboard
DFI UT nF4 Ultra-D
Memory
G.Skill 2x512 UTT(BH-5)
Graphics Card
evga 6800gs
Hard Drive
Maxtor 300GB + WD 250GB
Sound Card
onboard
Power Supply
Ultra 500w V-series
Case
one from Ultra
CPU cooling
Big Typhoon
GPU cooling
80mm fan mounted on
OS
Arch Linux, Slackware 12.1
Monitor
Acer AL2216W 22" WS LCD
dangerousHobo is offline I fold for Overclock.net Overclocked Account dangerousHobo's Gallery   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 01:26 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated