Trisquel installation help

11 risposte [Ultimo contenuto]
gsvolt
Offline
Iscritto: 03/01/2012

I have a 200GB hard drive, but would like to have trisquel in the first 100GB and leave 100GB unallocated for now

My question:
what is recommended breakdown of the first partition:
/swp?
/boot?
/
and so on

many thanks,

gsvolt

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

Please take a look at this thread and, then, show us the partitioning you consider. In this way, it will be easier for you to have feedbacks.

grvrulz
Offline
Iscritto: 09/23/2010

It really depends on what you intend to do with your system.If you'll install a *lot* of applications and games etc, then go with this

/ root partition ~25gb
/home home partition rest of it

if you just use your computer for daily work, 15gb is more than enough for the root partition ( / ) .

For the swap, it should always be more than your RAM.
If you have less than 1gb, add 1gb to it and that'll be your swap.
If you havearound 2gb, double it.
If you have 4gb or more, add 1gb to it.
If you have something colossal like 16gb or something, you better have something like a 20gb swap :P

Please ask if you have any problems.

akirashinigami

I am a member!

I am a translator!

Offline
Iscritto: 02/25/2010

Regarding swap, I've heard this advice before, but it's never made sense to me. Applications use swap when they run out of RAM, right? If that's the case, then shouldn't you need less swap if you have more RAM?

sphynx
Offline
Iscritto: 11/30/2011

See Magic Banana's answer on this same topic: https://trisquel.info/en/forum/trisquel-installation-help#comment-17364

gsvolt
Offline
Iscritto: 03/01/2012

Thanks all for your wisdom

Here's what I chose finally after reading a bit:
/swap - 4GB (I have 2GB RAM on netbook)
/home - 20GB
/ - 70GB

Trisquel setup went by amazingly. I'd like to know how the information screen was implemented .. the one that is displayed with a progress bar while the operating system is being installed. Is it simply c++ code?

Cyberhawk

I am a translator!

Offline
Iscritto: 07/27/2010

I'm sorry, but this has to be one of the most stupid partitionings ever. You will constantly run out of space on your /home while having tons of (barely usable) space on / and only a tiny fraction of your swap will ever be used.

Once the next LTS Trisquel will come out, consider repartitioning like that:
/ - 15GB at the very most. I have 12 and never run out of space, as long as I don't install some huge videogames with native GNU/Linux support.

/swap - 1GB at the very most, I always have 256MB and most of the time half of it isn't even in use. My RAM is also 2GB. You may need tons of swap for business applications like a big database, not for everyday work!

/home - everything else. This is the place where you have full read-write access without sudoing (being root). This is where all the downloads from your browser will be saved, where you will put all the personal data, like music, pictures, videos and whatnot. This is also the place where wine will install any kind of software, games included.

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

If the computer he is talking about is a laptop and if he plans to hibernate it (what basically means zipping the content of the central memory and saving it in the swap) from time to time, then he should have at least as much swap space as central memory.

Otherwise, I completely agree with the main point everybody is raising: the proposed root partition is far too large, whereas /home is far too small. I have a few games (Hedgewars, Neverputt, SolarWolf and Supertuxkart) installed on my system and my root filesystem only requires 5.7 GB (i.e., 52% of the 12 GB I chose when partitioning)...

aloniv

I am a translator!

Offline
Iscritto: 01/11/2011

If you wish to install a different distro in the future in addition to Trisquel (e.g. Parabola) it is best to make a small home directory, as the home directory also stores application settings which might not work if you use a different version of installed packages (or the same version packaged for a different distro) as the application settings might be stored in a different path or new package versions might not be compatible with application settings from older package versions.

I would recomment something like this:

/swap - up to 2 GB.

/root - up to 15 GB (unless you plan on installing lots of desktop environments and large games in which case maybe 20 GB would be better).

/home - up to 10 GB (so you can also store email for offline use).

/storage (for movies, music etc) - the rest. This partition can be split in the future (e.g. via GParted) if you want to install another distro as well. This partition can also be shared with other installed distros (it is recommended to define its mount point during the installation of other distros so that it automatically mounts). If you wish to share this partition with proprietary operating systems you should use the FAT32 partition type which is supported better than NTFS on GNU/Linux.

Note that the number of primary partitions is limited to 4 (or 3 primary and 1 extended), so you should make at least one of the partitions extended.

sphynx
Offline
Iscritto: 11/30/2011

This "/storage" mount point is a good idea. I do something different: I have a /home/library directory, where I put all my books, musics and movies, sorted not by file type, but in categories like "art", "politics", "computing" and so on. In my user directory I have "office" things, like e-mails, temporary downloads etc.

Note that the number of primary partitions is limited to 4 (or 3 primary and 1 extended), so you should make at least one of the partitions extended.

That's true if you are using MBR, but not if you are using GPT, which is much better. Quoting myself here:

1. You could use GPT instead of MBR; an advantage is that you don't need extended partitions, another is the CRC32 integrity-check mechanism; see: https://duckduckgo.com/GUID_Partition_Table https://wiki.archlinux.org/index.php/GUID_Partition_Table (Trisquel has gdisk and GRUB 2 in its repos)

aloniv

I am a translator!

Offline
Iscritto: 01/11/2011

It's a shame GRUB-legacy doesn't support GPT as that is what Parabola offers by default, so if you intend to use Parabola and want everything to "just work" after installation it's best to create extended partitions :)

sphynx
Offline
Iscritto: 11/30/2011

I don't remember if the Parabola installer allows to install GRUB2 instead of legacy. However, it's possible to convert from MBR to GPT from Parabola (using gdisk) and then to reconfigure the bootloader. See: https://wiki.parabolagnulinux.org/GUID_Partition_Table#Convert_from_MBR_to_GPT