

So you installed your entire OS into one single " / " root partition ???9812713 wrote:I deleted my 1 BIG partition, and broke it into 3 separate partitions. I have used the following sizes to reflect my system settings.
HDA1 - Size = 1.4 GB -- Mount Point = LINUX-SWAP (2.5 x Ram Size)
HDA2 - Size = 4 GB -- Mount Point = / (top level) Type: RieserFS
HDA3 - Size = 30+ GB -- Mount Point = /Home Type: RieserFS
Bonus: Add a hda4 - size = 8GB == Basically this can be used to install windows ...
Beauty?! Ahemmmm ... no. Putting the entire OS into one single partition is bad bad bad bad bad!9812713 wrote:Now the beauty of this setup is


9812713 wrote: "Is there an easy way to upgrade an OS or do a fresh install, without loosing data"
9812713 wrote:Please I am sure you can agree that Ubuntu is NOT an "advanced" installer..


That was just an example. Your mileage may vary9812713 wrote:But in order to create your current structure ...
True. But then again many people in the Windows world have applications such as PartitionMagic (and similar ones), and those are quite safe to use, even for the unexperienced user.9812713 wrote:You do either have to start from scratch, or.... go through the process of moving, shifting your data around, which I may add, is not 100% safe...
I am getting your point, it's just that in my opinion if you really want to "educate" users and "pass on knowledge" (quotes from your posting) you should at least do it right and either tell users the whole story how partitioning is really supposed to be done or you should label your "How To" as being a simplified version for new Linux converts.9812713 wrote: as one wrong key stroke, can end in a deleted partition, this is why I suggested before you start to play around with (your curent structure) to Backup..
Huh? Nope, in fact doing backups before touching your harddisk is very very wise. Better have a backup and never need it than being in need of restoring a backup but not have one9812713 wrote: As a system admin yourself I guess you don't even resepect the thought that I suggested to back up all your data.
I guess so9812713 wrote:It seems that we are on the same page
OK, my bad. You know, bad habits die slowly9812713 wrote:Not a " Adminisrators Guide to Partitioning "




techne wrote:Having an extended partition already is not the problem. The problem comes in if the extended partition is formatted in a Windows-only file system such as NTFS. In that case, the XP partition will need to be shrunk ("resized" in partitioning lingo). Mint can then install to the free space left after the XP partition is shrunk.
Also, I don't think that GRUB will have a problem with two Windows primary partitions. After all, it is a bootloader program.

scorp123 wrote:Now, the beauty in this setup is that first of all it's properly partitioned and less likely to give you headaches, and the second aspect is that all the partitions with lots of read accesses are concentrated towards the beginning of the harddisk (towards the physical center where sectors are closer together and thus can be read faster!) whereas the partitions which will get lots of write accesses and which are more likely to fragment a little are towards the end of the harddisk.
I heard it the other way round ... But that doesn't really matter, for as long as you really put stuff in the right order IMHOmdd4696 wrote:Isn't the beginning of a hard disk on the outer edge, not the center? I think this is because modern hard disks rotate at a constant speed, but have an increasing number of sectors per cylinder as you move from the inner to the outer zones. The fastest read rates occur at the outer edge.
Looks OK to me. ext3 is very reliable, even if you should ever suffer from an instant power failure chances are very good that you will get all your data back.mdd4696 wrote:Anyways, I've used scorp123's post to partition a drive for a small desktop/server running Ubuntu 6.10 with a 200GB drive (pretty much the system he designed his example for).Can anyone comment on this partition scheme? Does it seem reasonable?
- Primary (sda1) ext3 128MiB /boot/
- Primary (sda2) ext3 4GiB /
- Extended 182.18GiB (the rest of the drive)
- Logical (sda5) ext3 8GiB /usr/
- Logical (sda6) ext3 4GiB /var/
- Logical (sda7) ext3 168.18GiB /home/
- Logical (sda8) linux-swap 2GiB swap
Hmmm .... just make sure your SATA controllers are really really supported. Google around if needed. Google a lot! Even in the professional area people make very bad choices and buy super-expensive "professional" equipment only to find out that this stuff doesn't run on Linux, or will only work with proprietary closed-source drivers which totally sucks as soon as you have to or want to upgrade your kernel: such drivers will usually stop to function, giving you a non-bootable or otherwise crippled system. Whatever device controller you want to use: make sure the Linux kernel supports it natively out of the box ... no experiments with closed-source drivers please, it will only disappoint you and give you sleepless nights.mdd4696 wrote: I will soon be setting up a RAID5 array with three 200GB SATA disks (that should give me a total of 400GB of space to partition). Will I be able to use the same partition scheme as above, but with a larger /home/ partition?

scorp123 wrote:So ... given how certain mount-points get written to a lot and others don't, I'd order them the way as written above. Now let's assume you have a 100 GB disk you want to partition, and you will use your system for WWW (e.g. to host your personal homepage on it + a small forum?) and maybe for some FTP (e.g. to exchange files easily with other users?), here is the partitioning I would suggest:/dev/hda1: /boot, 50 MB min., 150 MB max.
/dev/hda2: /, 2 GB min.
/dev/hda3: extended partition, up and until the end of the disk
/dev/hda5: /usr, at least 5 GB
/dev/hda6: /opt ... if you want it. 2 GB should be enough
/dev/hda7: /srv ... if you really want it. At least 4 GB
/dev/hda8: /var ... at least 2 GB.
/dev/hda10: /home ... at least 75-80 GB if we take a 100 GB disk as basis
/dev/hda11: swap ... 2x the size of your RAM, but not more. If you have like 2 GB RAM, then 1x the size of your RAM should be enough.
Now, the beauty in this setup is that first of all it's properly partitioned and less likely to give you headaches, and the second aspect is that all the partitions with lots of read accesses are concentrated towards the beginning of the harddisk (towards the physical center where sectors are closer together and thus can be read faster!) whereas the partitions which will get lots of write accesses and which are more likely to fragment a little are towards the end of the harddisk.
This is how it's supposed to be done.
Suggestions and flame messages welcome

Same as above.tooslow wrote:If I want to use the above partitioning scheme, but I DON'T want any WWW or FTP, but will probably check out Mono for software development, how would you suggest I partition this hypothetical 100GB disk?


It is necessary to put Boot? At me such was not when I put automatically linuh Mintscorp123 wrote:I heard it the other way round ... But that doesn't really matter, for as long as you really put stuff in the right order IMHOmdd4696 wrote:Isn't the beginning of a hard disk on the outer edge, not the center? I think this is because modern hard disks rotate at a constant speed, but have an increasing number of sectors per cylinder as you move from the inner to the outer zones. The fastest read rates occur at the outer edge.
Looks OK to me. ext3 is very reliable, even if you should ever suffer from an instant power failure chances are very good that you will get all your data back.mdd4696 wrote:Anyways, I've used scorp123's post to partition a drive for a small desktop/server running Ubuntu 6.10 with a 200GB drive (pretty much the system he designed his example for).Can anyone comment on this partition scheme? Does it seem reasonable?
- Primary (sda1) ext3 128MiB /boot/
- Primary (sda2) ext3 4GiB /
- Extended 182.18GiB (the rest of the drive)
- Logical (sda5) ext3 8GiB /usr/
- Logical (sda6) ext3 4GiB /var/
- Logical (sda7) ext3 168.18GiB /home/
- Logical (sda8) linux-swap 2GiB swap
Hmmm .... just make sure your SATA controllers are really really supported. Google around if needed. Google a lot! Even in the professional area people make very bad choices and buy super-expensive "professional" equipment only to find out that this stuff doesn't run on Linux, or will only work with proprietary closed-source drivers which totally sucks as soon as you have to or want to upgrade your kernel: such drivers will usually stop to function, giving you a non-bootable or otherwise crippled system. Whatever device controller you want to use: make sure the Linux kernel supports it natively out of the box ... no experiments with closed-source drivers please, it will only disappoint you and give you sleepless nights.mdd4696 wrote: I will soon be setting up a RAID5 array with three 200GB SATA disks (that should give me a total of 400GB of space to partition). Will I be able to use the same partition scheme as above, but with a larger /home/ partition?
As for partitioning ... this should be possible in my opinion.
But again, please Google around ... depending on what you want to do with your system RAID-5 may not be ideal ... e.g. RAID-5 sucks for write-intensive applications, e.g. databases or similar taks that constantly write chunks of data to the disk. For something like that RAID-0+1 or RAID-10 may be a better choice ... But I am not really a RAID specialist, you should talk to someone else.
BTW, what about physical security? Please really make sure nobody can just walk in and pull the plug "by accident" ... You wouldn't believe the stupid BS that happens to "professionals" when they stumble over cables or hit CTRL+ALT+DEL on the wrong keyboard ...![]()
Regards,
scorp123


Also, let's again take a 100 GB disk as basis. So I'd partition like this:
/dev/hda1 -- 8 GB, e.g. LinuxMint 2.0 "Barbara"
/dev/hda2 -- 8 GB, e.g. SuSE 10.2
/dev/hda3 -- extended partition, includes the rest of the harddisk
/dev/hda5 -- Windows XP, e.g. 50 GB
/dev/hda6 -- /home, e.g. 30 GB
/dev/hda7 -- swap, whatever is left of the harddisk (around 4 GB)


Always in /boot ... If you don't have a separate /boot partition then /boot will most likely exist as sub-directory on your " / " root filesystem.kenetics wrote:Some questions:
Where is the boot assigned (kernel, start up) if there is no boot partition? also where does Grub reside?



Users browsing this forum: Google Adsense [Bot] and 11 guests