all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* root encryption
@ 2017-02-09 14:07 Catonano
  2017-02-09 14:20 ` Catonano
  2017-02-09 15:40 ` Ludovic Courtès
  0 siblings, 2 replies; 14+ messages in thread
From: Catonano @ 2017-02-09 14:07 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

Given this excerpt from the sample desktop installation conf

  (mapped-devices
   (list (mapped-device
          (source (uuid "12345678-1234-1234-1234-123456789abc"))
          (target "the-root-device")
          (type luks-device-mapping))))

I wonder: what' s the type for a non Luks encrypted root partition ?

[-- Attachment #2: Type: text/html, Size: 421 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-09 14:07 root encryption Catonano
@ 2017-02-09 14:20 ` Catonano
  2017-02-09 15:40 ` Ludovic Courtès
  1 sibling, 0 replies; 14+ messages in thread
From: Catonano @ 2017-02-09 14:20 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

ok, ok: ext4

[-- Attachment #2: Type: text/html, Size: 77 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-09 14:07 root encryption Catonano
  2017-02-09 14:20 ` Catonano
@ 2017-02-09 15:40 ` Ludovic Courtès
  2017-02-09 16:56   ` Catonano
  1 sibling, 1 reply; 14+ messages in thread
From: Ludovic Courtès @ 2017-02-09 15:40 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Catonano <catonano@gmail.com> skribis:

> Given this excerpt from the sample desktop installation conf
>
>   (mapped-devices
>    (list (mapped-device
>           (source (uuid "12345678-1234-1234-1234-123456789abc"))
>           (target "the-root-device")
>           (type luks-device-mapping))))
>
> I wonder: what' s the type for a non Luks encrypted root partition ?

If the root partition is not encrypted (and not RAID or anything like
that), you don’t need to declare a “mapped device” for it.  All you need
is to declare a file system in the ‘file-systems’ field.

HTH!

Ludo’.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-09 15:40 ` Ludovic Courtès
@ 2017-02-09 16:56   ` Catonano
  2017-02-09 17:43     ` Catonano
  0 siblings, 1 reply; 14+ messages in thread
From: Catonano @ 2017-02-09 16:56 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 850 bytes --]

2017-02-09 16:40 GMT+01:00 Ludovic Courtès <ludo@gnu.org>:

> Catonano <catonano@gmail.com> skribis:
>
>
>
> If the root partition is not encrypted (and not RAID or anything like
> that), you don’t need to declare a “mapped device” for it.  All you need
> is to declare a file system in the ‘file-systems’ field.
>
> HTH!
>

Yes, it did help ! In fact I was able to start the process

BUT

it didn' t end correctly :-/

Installing for i386-pc platform
grub-install: error: cannot find a GRUB drive for /dev/sd1. Check your
device.map.
guix-system: failed to install GRUB on device '/dev/sd1'


As far as I understand my platform should be x86_64
Why did it select i386 ?

Also: what did I mess up with grub ?

/dev/sda1 is a small partiton mapped to /boot

Is that wrong ? Does grub require to be on '/' ?

[-- Attachment #2: Type: text/html, Size: 1438 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-09 16:56   ` Catonano
@ 2017-02-09 17:43     ` Catonano
  2017-02-09 18:19       ` Catonano
  2017-02-10  9:46       ` Ludovic Courtès
  0 siblings, 2 replies; 14+ messages in thread
From: Catonano @ 2017-02-09 17:43 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

I just realized I have mistyped the grub configuration

(bootloader (grub-configuration (device "/dev/sd1")))

it should probably be

(bootloader (grub-configuration (device "/dev/sda1")))

or

(bootloader (grub-configuration (device "/dev/sda")))

[-- Attachment #2: Type: text/html, Size: 451 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-09 17:43     ` Catonano
@ 2017-02-09 18:19       ` Catonano
  2017-02-10  9:47         ` Ludovic Courtès
  2017-02-10  9:46       ` Ludovic Courtès
  1 sibling, 1 reply; 14+ messages in thread
From: Catonano @ 2017-02-09 18:19 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 103 bytes --]

I managed to make the process end with no errors but then no operating
system to boot can be found :-/

[-- Attachment #2: Type: text/html, Size: 132 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-09 17:43     ` Catonano
  2017-02-09 18:19       ` Catonano
@ 2017-02-10  9:46       ` Ludovic Courtès
  1 sibling, 0 replies; 14+ messages in thread
From: Ludovic Courtès @ 2017-02-10  9:46 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Catonano <catonano@gmail.com> skribis:

> I just realized I have mistyped the grub configuration
>
> (bootloader (grub-configuration (device "/dev/sd1")))
>
> it should probably be
>
> (bootloader (grub-configuration (device "/dev/sda1")))
>
> or
>
> (bootloader (grub-configuration (device "/dev/sda")))

“/dev/sda” is the correct thing: it will install GRUB to the MBR of that
device.

Ludo’.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-09 18:19       ` Catonano
@ 2017-02-10  9:47         ` Ludovic Courtès
  2017-02-10  9:55           ` Catonano
  0 siblings, 1 reply; 14+ messages in thread
From: Ludovic Courtès @ 2017-02-10  9:47 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Howdy!

Catonano <catonano@gmail.com> skribis:

> I managed to make the process end with no errors but then no operating
> system to boot can be found :-/

Do you have more info?

If you are on a UEFI system, the process is a bit more involved and not
really documented right now, but that’d be an opportunity to document
it.  :-)

Ludo’.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-10  9:47         ` Ludovic Courtès
@ 2017-02-10  9:55           ` Catonano
  2017-02-10 10:07             ` Ludovic Courtès
  0 siblings, 1 reply; 14+ messages in thread
From: Catonano @ 2017-02-10  9:55 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

2017-02-10 10:47 GMT+01:00 Ludovic Courtès <ludo@gnu.org>:

> Howdy!
>
> Catonano <catonano@gmail.com> skribis:
>
> > I managed to make the process end with no errors but then no operating
> > system to boot can be found :-/
>
> Do you have more info?
>
> If you are on a UEFI system, the process is a bit more involved and not
> really documented right now, but that’d be an opportunity to document
> it.  :-)
>

UEFI is available on this machine but it' s disabled

"Legacy" boot is enabled instead.

Is there any more information I can provide ?
Just let me know

Thanks !

[-- Attachment #2: Type: text/html, Size: 1091 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-10  9:55           ` Catonano
@ 2017-02-10 10:07             ` Ludovic Courtès
  2017-02-10 10:17               ` Catonano
  0 siblings, 1 reply; 14+ messages in thread
From: Ludovic Courtès @ 2017-02-10 10:07 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Catonano <catonano@gmail.com> skribis:

> 2017-02-10 10:47 GMT+01:00 Ludovic Courtès <ludo@gnu.org>:
>
>> Howdy!
>>
>> Catonano <catonano@gmail.com> skribis:
>>
>> > I managed to make the process end with no errors but then no operating
>> > system to boot can be found :-/
>>
>> Do you have more info?
>>
>> If you are on a UEFI system, the process is a bit more involved and not
>> really documented right now, but that’d be an opportunity to document
>> it.  :-)
>>
>
> UEFI is available on this machine but it' s disabled
>
> "Legacy" boot is enabled instead.

On my HP laptop, “legacy” boot wouldn’t actually do what it’s supposed
to do; I had to use UEFI.

> Is there any more information I can provide ?

What’s happening exactly: do you see the GRUB screen?  Or do you just
get an error message from the BIOS/UEFI thing?  What other relevant
messages or clues are there?

Ludo’.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-10 10:07             ` Ludovic Courtès
@ 2017-02-10 10:17               ` Catonano
  2017-02-10 11:14                 ` Catonano
  0 siblings, 1 reply; 14+ messages in thread
From: Catonano @ 2017-02-10 10:17 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]

2017-02-10 11:07 GMT+01:00 Ludovic Courtès <ludo@gnu.org>:

> Catonano <catonano@gmail.com> skribis:
>
> > 2017-02-10 10:47 GMT+01:00 Ludovic Courtès <ludo@gnu.org>:
> >
> >> Howdy!
> >>
> >> Catonano <catonano@gmail.com> skribis:
> >>
> >> > I managed to make the process end with no errors but then no operating
> >> > system to boot can be found :-/
> >>
> >> Do you have more info?
> >>
> >> If you are on a UEFI system, the process is a bit more involved and not
> >> really documented right now, but that’d be an opportunity to document
> >> it.  :-)
> >>
> >
> > UEFI is available on this machine but it' s disabled
> >
> > "Legacy" boot is enabled instead.
>
> On my HP laptop, “legacy” boot wouldn’t actually do what it’s supposed
> to do; I had to use UEFI.
>

Ah :-/


>
> > Is there any more information I can provide ?
>
> What’s happening exactly: do you see the GRUB screen?  Or do you just
> get an error message from the BIOS/UEFI thing?  What other relevant
> messages or clues are there?
>

No, I don' t see the grub screen

A black screen with a white writing comes up immediately

The writing says: "Operation System not found"
On the second line, under the capital T there' s a cursor blinking

If I press a key the Bios screen comes back. The Bios screen used to select
a boot device

If I select the hard drive where GuixSD should be, the black screen with
white writing comes back

And so on

[-- Attachment #2: Type: text/html, Size: 2398 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-10 10:17               ` Catonano
@ 2017-02-10 11:14                 ` Catonano
  2017-02-10 11:45                   ` Catonano
  0 siblings, 1 reply; 14+ messages in thread
From: Catonano @ 2017-02-10 11:14 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

2017-02-10 11:17 GMT+01:00 Catonano <catonano@gmail.com>:




>
> On my HP laptop, “legacy” boot wouldn’t actually do what it’s supposed
>> to do; I had to use UEFI.
>>
>
> Ah :-/
>

I tried to activate the UEFI thing and under UEFI the only boot option
available is through network.

No usb pen and no hard drive

This is with both secure boot activated and disactivated

[-- Attachment #2: Type: text/html, Size: 1000 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-10 11:14                 ` Catonano
@ 2017-02-10 11:45                   ` Catonano
  2017-02-10 17:11                     ` Ludovic Courtès
  0 siblings, 1 reply; 14+ messages in thread
From: Catonano @ 2017-02-10 11:45 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

2017-02-10 12:14 GMT+01:00 Catonano <catonano@gmail.com>:

> 2017-02-10 11:17 GMT+01:00 Catonano <catonano@gmail.com>:
>
>
>
>
>>
>> On my HP laptop, “legacy” boot wouldn’t actually do what it’s supposed
>>> to do; I had to use UEFI.
>>>
>>
>> Ah :-/
>>
>
>
Could this be relevant ?

https://lists.gnu.org/archive/html/guix-devel/2016-06/msg00666.html

[-- Attachment #2: Type: text/html, Size: 1426 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: root encryption
  2017-02-10 11:45                   ` Catonano
@ 2017-02-10 17:11                     ` Ludovic Courtès
  0 siblings, 0 replies; 14+ messages in thread
From: Ludovic Courtès @ 2017-02-10 17:11 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Catonano <catonano@gmail.com> skribis:

> 2017-02-10 12:14 GMT+01:00 Catonano <catonano@gmail.com>:
>
>> 2017-02-10 11:17 GMT+01:00 Catonano <catonano@gmail.com>:
>>
>>
>>
>>
>>>
>>> On my HP laptop, “legacy” boot wouldn’t actually do what it’s supposed
>>>> to do; I had to use UEFI.
>>>>
>>>
>>> Ah :-/
>>>
>>
>>
> Could this be relevant ?
>
> https://lists.gnu.org/archive/html/guix-devel/2016-06/msg00666.html

Yes, but these patches have been applied in the meantime.

I wrote about my experience here:

  https://lists.gnu.org/archive/html/guix-devel/2017-01/msg00537.html

HTH!
Ludo’.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-02-10 17:11 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-09 14:07 root encryption Catonano
2017-02-09 14:20 ` Catonano
2017-02-09 15:40 ` Ludovic Courtès
2017-02-09 16:56   ` Catonano
2017-02-09 17:43     ` Catonano
2017-02-09 18:19       ` Catonano
2017-02-10  9:47         ` Ludovic Courtès
2017-02-10  9:55           ` Catonano
2017-02-10 10:07             ` Ludovic Courtès
2017-02-10 10:17               ` Catonano
2017-02-10 11:14                 ` Catonano
2017-02-10 11:45                   ` Catonano
2017-02-10 17:11                     ` Ludovic Courtès
2017-02-10  9:46       ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.