dual booting trisquel and gnewsense
- Inicie sesión ou rexístrese para enviar comentarios
Hello
I would like to ask for some help in dual booting trisquel and gnewsense, I found some guides online but some of them conflict with one another. I would like the partitions to be encrypted but what I don't fully understand is do I need swap partition and if so how big and does it have to be encrypted. Do I need to create a /root partition one guide says yes and the other no, if I do need a /root partition how big should it be and does it need to be encrypted. What about the /home partition. Also I do know I need /boot partition how big should this partition be. hopefully someone can help
The only partition you need is one for /.
/home in a different partition is a good idea because /home is where you store most of your data, and you can share data across two systems this way.
/boot in a different partition is only necessary or even useful if you want to use a filesystem for / that isn't supported by the boot loader. For GRUB, I don't know what filesystems those are, but ext4 isn't one of them.
As for swap, you should probably have some swap so running out of RAM won't crash your system. Swap is also needed if you want to hibernate your system. For hibarnate to work properly, you should have at least as much swap as you have RAM. Whether or not you go above that is really up to you. It won't hurt, at any rate. Personally, I have a little more than twice as much swap as RAM.
If it is important to ensure that no data in your hard drive can be read by anyone else (e.g. if you need to protect yourself from a government), you must encrypt everything, including your swap partition. Your swap partition can be storing information that might be encrypted somewhere else on your hard drive, unencrypted, simply because it was unencrypted in RAM.
If, however, you're just encrypting your files to prevent e.g. your friends & family from looking at your stuff, the weakness of swap potentially storing some of your data in an unencrypted form might not be a problem. In that case, you can just encrypt your home directory (it's an option you can choose when you create your account).
thanks onpon, so then /home should be fairly large in size to accommodate data right? What about /root do I need it and if so how big. By the way my hard drive is 500g (laptop)
thanks
Don't worry about /root, that's just the home directory of the "root" user. I don't know of any reason to put it in a different partition than /.
Yes, /home partition should be large. Personally, I have 45 GB for my / partition, then my swap partition which is a little more than double my RAM, and everything else is the /home partition.
/root, /boot, /home, etc are not mandatory. (I really recommend having a /home, though - one /home partition shared by Trisquel and gNewSense).
Outside /home my OS installations seem to take up 13 GB of space (but that's with every package installation tagged with --no-install-recommends. Swap is recommended, but with enough RAM you probably don't actually need it.
No idea regarding encryption.
Since partitions have been mentioned, I suggest using LVM, so that you can much more easily resize partitions, take snapshots, and add storage devices transparently. For more information, consult mainly the man pages (“lvm” in section 8 contains links to more man pages) and secondarily, tutorials found in the World Wide Web.
I recall that Ubiquity requires LVM if you want to use full disk encryption. Is this an actual requirement of full disk encryption, or just a good practice?
- Inicie sesión ou rexístrese para enviar comentarios