Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #174106
| From | Mark Fletcher <mark27q1@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: new pc and swap |
| Date | 2016-11-01 00:10 +0100 |
| Message-ID | <sytSh-uI-5@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <sxZ7P-5Ll-1@gated-at.bofh.it> <syh4K-ri-13@gated-at.bofh.it> <syh4K-ri-11@gated-at.bofh.it> <syli2-36G-5@gated-at.bofh.it> <sypYl-6cx-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Oct 31, 2016 at 07:53:31PM +0100, Pascal Hambourg wrote: > Le 31/10/2016 à 14:54, Stefan Monnier a écrit : > > > >Of course, it's possible. But if you setup a system from scratch I'd > >highly recommend you put "everything" into an LVM volume group so you > >can then use an LVM volume for swap rather than a file (but with the > >same advantages as using a file: it's easy to resize/create on-demand > >at run-time). > > I second that suggestion. > (am I an LVM fanboy ? Hmm, maybe) > > >PS: I put "everything" between quotes because I'm not sure I'd recommend > > to also put /boot in an LVM volume. IIUC it can be made to work > > nowadays, but my systems still use a two-partition setup: one small > > partition for /boot, and the rest for LVM. > > GRUB 2 can read LVM, so it can boot a system with /boot in LVM. I have used > this kind of setup. The advantage is that you don't need a separate > partition for /boot and that it provides all the benefits of LVM to /boot. I > don't know about LILO nor any other bootloader. > > However, if the LVM structure gets corrupted and GRUB cannot read it, then > the boot process will fail before the boot menu. If /boot is on a separate > partition which can be read, then the boot will fail only after loading and > running the kernel and the initramfs. So the initramfs debug shell is still > available to investigate and try to repair the issue without requiring to > boot another system. > > Also, with BIOS/legacy boot, putting /boot in LVM requires that GRUB's core > image (boot sector) is installed in the disk boot sector (aka MBR, not in a > partition boot sector) and GRUB's core image is installed in the "embedded > area" on a DOS-style disk or in a dedicated "BIOS boot"/bios_grub partition > on a GPT-style disk (not as a regular file in /boot/grub). > This subthread (this mail and all the ones that led to it) have been most enlightening. Please ignore my previous mail asking for clarification -- should have read this subthread before replying. Mark
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
new pc and swap Pol Hallen <deben@fuckaround.org> - 2016-10-30 13:00 +0100
Re: new pc and swap Michael Milliman <michael.e.milliman@gmail.com> - 2016-10-30 14:20 +0100
Re: new pc and swap Markus Grunwald <markus@the-grue.de> - 2016-10-30 15:00 +0100
Re: new pc and swap Richard Owlett <rowlett@cloud85.net> - 2016-10-30 15:20 +0100
Re: new pc and swap Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-10-30 16:50 +0100
Re: new pc and swap Markus Grunwald <markus@the-grue.de> - 2016-10-30 19:30 +0100
Re: new pc and swap Richard Owlett <rowlett@cloud85.net> - 2016-10-31 10:30 +0100
Re: new pc and swap Stefan Monnier <monnier@iro.umontreal.ca> - 2016-10-31 15:00 +0100
Re: new pc and swap Richard Owlett <rowlett@cloud85.net> - 2016-10-31 19:30 +0100
Re: new pc and swap Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-31 19:50 +0100
Re: new pc and swap Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-10-31 20:20 +0100
Re: new pc and swap <tomas@tuxteam.de> - 2016-10-31 21:00 +0100
Re: new pc and swap "John L. Ries" <jries@salford-systems.com> - 2016-10-31 22:40 +0100
Re: new pc and swap Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-10-31 20:00 +0100
Re: new pc and swap Mark Fletcher <mark27q1@gmail.com> - 2016-11-01 00:10 +0100
Re: new pc and swap Johann Spies <johann.spies@gmail.com> - 2016-11-01 07:10 +0100
Re: new pc and swap Richard Hector <richard@walnut.gen.nz> - 2016-11-01 09:30 +0100
Re: new pc and swap Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-01 11:00 +0100
Re: new pc and swap Richard Hector <richard@walnut.gen.nz> - 2016-11-02 01:50 +0100
Re: new pc and swap Stefan Monnier <monnier@iro.umontreal.ca> - 2016-11-01 14:10 +0100
Re: new pc and swap Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-01 15:00 +0100
Re: new pc and swap Ben Caradoc-Davies <ben@transient.nz> - 2016-11-01 20:00 +0100
Re: new pc and swap Mark Fletcher <mark27q1@gmail.com> - 2016-11-01 00:00 +0100
Re: new pc and swap Ben Caradoc-Davies <ben@transient.nz> - 2016-10-30 17:50 +0100
Re: new pc and swap Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-10-30 18:20 +0100
Re: new pc and swap David Christensen <dpchrist@holgerdanske.com> - 2016-10-30 19:50 +0100
csiph-web