Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #190435 > unrolled thread
| Started by | microsoft gaofei <wangziheng@outlook.com> |
|---|---|
| First post | 2017-12-29 02:30 +0100 |
| Last post | 2017-12-29 23:30 +0100 |
| Articles | 4 — 4 participants |
Back to article view | Back to linux.debian.user
Re: GRUB and boot partition microsoft gaofei <wangziheng@outlook.com> - 2017-12-29 02:30 +0100
Re: GRUB and boot partition deloptes <deloptes@gmail.com> - 2017-12-29 11:10 +0100
Re: GRUB and boot partition Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-12-29 12:50 +0100
Re: GRUB and boot partition Gary Dale <garydale@torfree.net> - 2017-12-29 23:30 +0100
| From | microsoft gaofei <wangziheng@outlook.com> |
|---|---|
| Date | 2017-12-29 02:30 +0100 |
| Subject | Re: GRUB and boot partition |
| Message-ID | <v1REK-qL-11@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
I'm thinking about a question ,how my hard disk admits so much data ? If /boot partition is encrypted , then how does my hard disk admit GRUB ? sudo fdisk /dev/sda , and press o to create a DOS partition table . This software starts on sector 2048 by default . So how does the 2048 sectors admit GRUB to achieve encrypted /boot ?
[toc] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2017-12-29 11:10 +0100 |
| Message-ID | <v1ZLX-6wd-3@gated-at.bofh.it> |
| In reply to | #190435 |
microsoft gaofei wrote: > I'm thinking about a question ,how my hard disk admits so much data ? If > /boot partition is encrypted , then how does my hard disk admit GRUB ? > > sudo fdisk /dev/sda , and press o to create a DOS partition table . This > software starts on sector 2048 by default . So how does the 2048 sectors > admit GRUB to achieve encrypted /boot ? you don't encrypt boot
[toc] | [prev] | [next] | [standalone]
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Date | 2017-12-29 12:50 +0100 |
| Message-ID | <v21kJ-7tR-1@gated-at.bofh.it> |
| In reply to | #190440 |
Le 29/12/2017 à 11:02, deloptes a écrit : > microsoft gaofei wrote: > >> I'm thinking about a question ,how my hard disk admits so much data ? If >> /boot partition is encrypted , then how does my hard disk admit GRUB ? >> >> sudo fdisk /dev/sda , and press o to create a DOS partition table . This >> software starts on sector 2048 by default . So how does the 2048 sectors >> admit GRUB to achieve encrypted /boot ? FWIW, here is what I replied to the OP's private mail : GRUB core image embeds all the required modules to read /boot/grub, including crypto modules when /boot/grub is encrypted. 2048 512-byte sectors is 1 MiB. GRUB BIOS core image does not need so much space. GRUB BIOS was developed at a time when partition alignment was based on "cylinders", so the first partition usually started at sector 63. GRUB BIOS core image was initially designed to fit in that 30 KiB space. It has grown a bit over time and is sometimes slightly bigger than 30 KiB, but 1 MiB is still plenty of space. A copy of GRUB BIOS core image is kept in /boot/grub/i386-pc/core.img, so you can see its size. > you don't encrypt boot Why not ?
[toc] | [prev] | [next] | [standalone]
| From | Gary Dale <garydale@torfree.net> |
|---|---|
| Date | 2017-12-29 23:30 +0100 |
| Message-ID | <v2bk5-60L-5@gated-at.bofh.it> |
| In reply to | #190444 |
On 2017-12-29 06:46 AM, Pascal Hambourg wrote: > Le 29/12/2017 à 11:02, deloptes a écrit : >> microsoft gaofei wrote: >> >>> I'm thinking about a question ,how my hard disk admits so much data >>> ? If >>> /boot partition is encrypted , then how does my hard disk admit GRUB ? >>> >>> sudo fdisk /dev/sda , and press o to create a DOS partition table . >>> This >>> software starts on sector 2048 by default . So how does the 2048 >>> sectors >>> admit GRUB to achieve encrypted /boot ? > > FWIW, here is what I replied to the OP's private mail : > > GRUB core image embeds all the required modules to read /boot/grub, > including crypto modules when /boot/grub is encrypted. > > 2048 512-byte sectors is 1 MiB. GRUB BIOS core image does not need so > much space. GRUB BIOS was developed at a time when partition alignment > was based on "cylinders", so the first partition usually started at > sector 63. GRUB BIOS core image was initially designed to fit in that > 30 KiB space. It has grown a bit over time and is sometimes slightly > bigger than 30 KiB, but 1 MiB is still plenty of space. > > A copy of GRUB BIOS core image is kept in /boot/grub/i386-pc/core.img, > so you can see its size. > >> you don't encrypt boot > > Why not ? > There's a lot of (not so) old information about /boot. I still have one machine with a separate /boot partition because when I first set it up, it was still required when using an mdadm RAID array.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web