Re: reInstalling my laptop
On 10/26/2014 3:17 PM, Jean-Marc wrote: > Thank so much for your answers. > After reading them in the list archives, I think I will go for: > - no dedicated partition for /boot; For my new debian groupware server (sogo, working great so far), I just installed with the defaults, which apparently is no separate /boot... On gentoo at least, a separate /boot is recommended (or at least provided in the example) in the handbook, for one security reason... It is also auto-unmounted after booting (at least I know I didn't do anything myself to configure that), and it does make sense that it is kind of impossible for anything to modify an unmounted filesystem... Now, whether or not that actually provides any real security buffer, or it falls into the category of feel-good 'security-through-obscurity' is beyond me to answer definitively... I've actually always wondered about this, so I think I'll go ask on the gentoo list. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/544e2997.2020...@libertytrek.org
Re: reInstalling my laptop
On 10/26/2014 12:17 PM, Jean-Marc wrote: Thank so much for your answers. YW. After reading them in the list archives, I think I will go for: - no dedicated partition for /boot; - no swap; - one big partition under LVM with: - 2 Lv's for / and /home, maybe a third one for /var; - /tmp on tmpfs. I ran my machines without swap for a while, and found that applications crashed when the system was low on memory and I did something that required memory (start a program, open a file, etc.). So, a swap partition is necessary; 512 MB seems to work for my needs. HTH, David -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/544d61e0.5050...@holgerdanske.com
Re: reInstalling my laptop
Le 26/10/2014 20:17, Jean-Marc a écrit : > Sun, 26 Oct 2014 10:32:48 -0700 > David Christensen écrivait : > >> [...] >> > Thank so much for your answers. > After reading them in the list archives, I think I will go for: > - no dedicated partition for /boot; > - no swap; > - one big partition under LVM with: > - 2 Lv's for / and /home, maybe a third one for /var; > - /tmp on tmpfs. > > > Jean-Marc Beware : swap partition is used for hibernation, which you can find useful on a laptop signature.asc Description: OpenPGP digital signature
Re: reInstalling my laptop
Sun, 26 Oct 2014 10:32:48 -0700 David Christensen écrivait : > [...] > Thank so much for your answers. After reading them in the list archives, I think I will go for: - no dedicated partition for /boot; - no swap; - one big partition under LVM with: - 2 Lv's for / and /home, maybe a third one for /var; - /tmp on tmpfs. Jean-Marc pgp85IyAw3NL8.pgp Description: PGP signature
Re: reInstalling my laptop
On 10/26/2014 04:43 AM, Jean-Marc wrote: I will reinstall my laptop. I have a question about partitioning. I will use this setting: /boot swap The rest under LVM (/, /var, /tmp, /home) ? So, my question: /boot or not /boot ? Jean-Marc P.S. I do not subscribe to the list; keep me in Cc: I use the following for the machines in my SOHO, including my laptop: unencrypted boot - 512 MB encrypted swap - 512 MB, random password encrypted root - 8 to 20 GB, depending upon use Keeping the system drives small facilitates taking/ restoring images for disaster recovery and experimentation/ learning. My bulk data is on one machine running Samba. If I want to put some bulk data on my laptop, I add another partition. I used LVM for a while, but didn't find any benefit for my use-cases. I used ZFS FUSE and ZFS on Linux (ZOL) for bulk data for a while. I was intrigued by ZFS's checksum, RAID, and de-duplication features, but the killer features turned out to be snapshots and replication. zfs-fuse is an official Debian Apt package. ZOL is a LLNL project with good support for 64-bit Debian (and others). ZOL requires more work (including hand-rolled init and shutdown scripts), but is faster and has more features than zfs-fuse. HTH, David -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/544d3040.3030...@holgerdanske.com
Re: reInstalling my laptop
> Hi the list, I will reinstall my laptop. I have a question about partitioning. I will use this setting: /boot swap The rest under LVM (/, /var, /tmp, /home) ? So, my question: /boot or not /boot ? Jean-Marc P.S. I do not subscribe to the list; keep me in Cc: Jean-Marc, I think that everybody misses your request to keep you in the CC. You might want to check the list archives for more replies. If it's of any use of you, my setup in my laptop is this: I have set up everything in LVM, including /boot. That's how I have my machine configured. I have a LV for each of / and /home, a LV for bulk downloads which aren't hard to recover and another Debian installation as well in the same VG (the /). This setting allows me to back up home directories often with LVM snapshots while the rest isn't backed up as often. Bulk downloads aren't backed up at all. I don't have a separate partition for /boot in either Debian installation. GRUB is configured to use the /boot of my main installation. I forgot to create a different PV for /tmp so that my snapshots don't grow, which I'm just going to do. LVM snapshots are useful, but they're not substitute for backups in different media. You can use the former to create the later by creating a snapshot, then dumping it to an external HD or a remote server. Regards. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/544d06f0.9090...@yandex.com
Re: reInstalling my laptop
On Du, 26 oct 14, 12:43:53, Jean-Marc wrote: > Hi the list, > > I will reinstall my laptop. > > I have a question about partitioning. > I will use this setting: > /boot > swap > The rest under LVM (/, /var, /tmp, /home) ? Why do you need /tmp on slow storage (and a dedicated partition)? /tmp on tmpfs works fine unless you have special needs. I also don't bother to separate /var anymore, it hasn't brought any real advantages to me. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature
Re: reInstalling my laptop
On Sun, 26 Oct 2014 12:43:53 +0100 Jean-Marc wrote: > Hi the list, > > I will reinstall my laptop. > > I have a question about partitioning. > I will use this setting: > /boot > swap > The rest under LVM (/, /var, /tmp, /home) ? > > So, my question: /boot or not /boot ? > > Jean-Marc > > P.S. I do not subscribe to the list; keep me in Cc: Only once, over a period of quite a few years, has one of my systems failed to find LVM on booting, so on that occasion my life was easier because /boot was separate. On one other occasion with a booting problem, the fact that /boot was separate provided a little more data to diagnose the problem. On the other hand, in the early days of grub, there were at least three occasions when a new grub did not correctly handle a separate /boot. Fixing that became routine... but I haven't seen it happen since long before grub2 arrived. Your call... -- Joe -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141026125221.74c76...@jresid.jretrading.com
Re: reInstalling my laptop
On 26/10/14 at 12:43pm, Jean-Marc wrote: > Hi the list, > > I will reinstall my laptop. > > I have a question about partitioning. > I will use this setting: > /boot > swap > The rest under LVM (/, /var, /tmp, /home) ? > > So, my question: /boot or not /boot ? Another question is why not /home in a separate partition? -- « Nunc est bibendum, nunc pede libero pulsanda tellus » -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141026121620.gb1...@gmail.com