Received: from list by lists.gnu.org with archive (Exim 4.71) id 1dZZcW-000729-0k for mharc-grub-devel@gnu.org; Mon, 24 Jul 2017 05:25:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZZcR-00070P-5x for grub-devel@gnu.org; Mon, 24 Jul 2017 05:25:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZZcL-00050m-My for grub-devel@gnu.org; Mon, 24 Jul 2017 05:25:39 -0400 Received: from smtp301.alice.it ([82.57.200.117]:24527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZZcL-0004zx-5u for grub-devel@gnu.org; Mon, 24 Jul 2017 05:25:33 -0400 Received: from feu21-alice (82.57.204.76) by smtp301.alice.it (8.6.060.43) id 57DAA60C17834711; Mon, 24 Jul 2017 11:25:31 +0200 Received: from (93.40.197.117) by webmail21b.pc.tim.it; Mon, 24 Jul 2017 11:25:31 +0200 Message-ID: <15d73ea68d8.ingegneriaforense@alice.it> Date: Mon, 24 Jul 2017 11:25:31 +0200 (CEST) From: "ingegneriaforense@alice.it" Reply-To: "ingegneriaforense@alice.it" To: Subject: R: Re: R: Re: R: Re: CAN BIOS/UEFI DO WRITING OPERATIONS ON ATTACHED DRIVES BY MEANS OF INT 13 H INTERRUPT ? Cc: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_22003_31997858.1500888331419" X-Originating-IP: 93.40.197.117:21180 X-Priority: 1 (Highest) Importance: high X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.117 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2017 09:25:40 -0000 ------=_Part_22003_31997858.1500888331419 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Dear Colin, You has been very clear about the GRUB design. Please, let me pose another question, because i see you have a solid experience and you are precise. Do you know if the Ubuntu kernel uses BIOS services, in particular the INT 13H interrupt, or if it is BIOS indipendent ? In this last case in which a way Ubuntu treats the low-level disk services ? If I well understood Ubuntu should intercept the call and passes it to the operating system's native disk I/O mechanism, bypassing BIOS routines for the low-level disk reading/writing access. Thanks in advance. Your tips are welcome. Best Regards. Vincenzo. Forensic Consultant Tribunale di Lecce Studio: Strada di Garibaldi - Contrada Paradisi 73010 Lequile (LE) cell: 339.7968555 skype: vincenzo.di_salvo ----Messaggio originale---- Da: cjwatson@ubuntu.com Data: 18-lug-2017 13.28 A: "ingegneriaforense@alice.it" Cc: Ogg: Re: R: Re: R: Re: CAN GRUB DO WRITING OPERATIONS ON ATTACHED DRIVES ? On Tue, Jul 18, 2017 at 12:38:33PM +0200, ingegneriaforense@alice.it wrote: > I've read with interest your reply and i gave a look at the grub code. > > You wrote an important assertion: "GRUB intentionally has no filesystem writing support". > > So, the writing operations that grub can do, only be sent to a pre-allocated memory regions of the disk different in any case from that allocated by the OS for the filesystem, where the user data are stored. > > This means that grub never can corrupt the user data. > > Please, can you confirm if this my conclusion is right ? Because is this the crucial question i need to solve. I would never want to rule out the possibility of strange bugs, but that is certainly the design. -- Colin Watson [cjwatson@ubuntu.com] ------=_Part_22003_31997858.1500888331419 Content-Type: text/html;charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Colin,

You has been very clear about the GRUB design.

Pl= ease, let me pose another question, because i see you have a solid experien= ce and you are precise.

Do you know if the Ubuntu kernel uses BIOS s= ervices, in particular the INT 13H interrupt, or if it is BIOS indipendent = ? In this last case in which a way Ubuntu treats the low-level disk service= s ?

If I well understood Ubuntu should intercept the call and passes= it to the operating system's native disk I/O mechanism, bypassing BIOS rou= tines for the low-level disk reading/writing access.

Thanks in advan= ce.

Your tips are welcome.

Best Regards.

Vincenzo.
=

Forensic Consultant
Tribunale di Lecce

Studio: Strada di = Garibaldi - Contrada Paradisi
73010 Lequile (LE)

cell: 339.796855= 5
skype: vincenzo.di_salvo


----Messaggio originale----
Da: cjwatson@ubuntu.com
Data: 18-lug-2017= 13.28
A: "ingegneriaforense@alice.it"<ingegneriaforense@alice.it>=
Cc: <grub-devel@gnu.org>
Ogg: Re: R: Re: R: Re: CAN GRUB DO WR= ITING OPERATIONS ON ATTACHED DRIVES ?

On Tue, Jul 18, 2017 at 12:38:= 33PM +0200, ingegneriaforense@alice.it wrote:
> I've read with intere= st your reply and i gave a look at the grub code.
>
> You wrot= e an important assertion: "GRUB intentionally has no filesystem writing sup= port".
>
> So, the writing operations that grub can do, only b= e sent to a pre-allocated memory regions of the disk different in any case = from that allocated by the OS for the filesystem, where the user data are s= tored.
>
> This means that grub never can corrupt the user dat= a.
>
> Please, can you confirm if this my conclusion is right = ?   Because is this the crucial question i need to solve.

= I would never want to rule out the possibility of strange bugs, but thatis certainly the design.

--
Colin Watson    = ;            &n= bsp;            = ;          [cjwatson@ubuntu.co= m]


------=_Part_22003_31997858.1500888331419--