Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: About encrypted partitions during installtion - grub

  1. #11

    Default Re: About encrypted partitions during installtion - grub

    Quote Originally Posted by nrickert View Post

    You need "/boot" to be part of that "btrfs" partition, so that when you roll back to an earlier snapshot, that also rolls back the boot configuration.
    I'm beginning to understand
    Ok, since I don't need snapshots on this machine I can follow @nrickert instructions and create a seperate /boot for TW and simply change the partitons to ext4, since snapshots won't work anyway (this is my play around PC, my notebook on the otherhand only has one OS, which means I can use the recommended partioioning scheme OpenSUSE suggests, so I can retain the snapshot feature).

  2. #12
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,631
    Blog Entries
    3

    Default Re: About encrypted partitions during installtion - grub

    Quote Originally Posted by SF6 View Post
    So do I keep p2 and simply delete p8, p9, p10 and create a "new" p8* which will be boot and then follow your instructions, create LVW with the built in partitioner and make sure the new p8* boot will be the mount point for TW?
    So the other partitions, including p2 won't be touched at all?

    Thanks again
    Yes, that's about right. You need to keep p2. And you should set that to be mounted at "/boot/efi". That's needed on a UEFI system. So it's not quite right that it won't be touched. A directory named "opensuse" will be created (if it doesn't already exist), and the EFI boot file will be put there. Those can co-exist with Microsoft stuff. Your new p8, which I suggested 500M, should be mounted at "/boot". I normally format that with "ext2" because you don't need a journaled file system for that, and grub does not read the journal anyway. Whether that will be "p8", I don't know -- the numbering of partitions can get weird.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #13
    Join Date
    Sep 2012
    Posts
    5,140

    Default Re: About encrypted partitions during installtion - grub

    Note that it is possible to put root LUKS key in initrd so it is decrypted without user intervention. I actually described how to setup dracut for that on this forum in similar thread. As initrd itself is located on encrypted filesystem, it still provides reasonable protection in case your disk is stolen. Of course it leaves key accessible to rogue software while system is running.

  4. #14

    Default Re: About encrypted partitions during installtion - grub

    Thanks at all. @ nrickert your instructions have worked perfectly.

  5. #15

    Default Re: About encrypted partitions during installtion - grub

    One more question:

    After some updates in Leap 15 beta grub got changed somehow. Now it can't find TW anymore (Windows it does). I think this has to do with the separate /boot partition. How do I tell grub to look for this /boot partition to boot into TW?

    Thanks.

  6. #16
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,631
    Blog Entries
    3

    Default Re: About encrypted partitions during installtion - grub

    It is supposed to find that automatically.

    Hmm, does "/boot" use "btrfs"? I think os-prober sometimes has trouble with "btrfs". And I have noticed that the installer sometimes wants to use "btrfs" for "/boot", which makes no sense for me.

    You can add your own boot entries in "/etc/grub.d/40_custom". I usually prefer to do that.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  7. #17

    Default Re: About encrypted partitions during installtion - grub

    /boot is acutally ext2, and as far as I can tell it is found by os-prober, but for some reason I cannot read from the log it is not being added to the menu:

    Code:
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2939]: debug: mounted using
    GRUB ext2 filesystem driver
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2940]: debug: running
    subtest /usr/lib/os-probes/mounted/05efi
    Feb 11 18:33:31 linux-zev5 05efi[2942]: debug: /dev/nvme0n1p8 is ext2
    partition: exiting
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2943]: debug: running
    subtest /usr/lib/os-probes/mounted/10freedos
    Feb 11 18:33:31 linux-zev5 10freedos[2945]: debug: /dev/nvme0n1p8 is
    not a FAT partition: exiting
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2946]: debug: running
    subtest /usr/lib/os-probes/mounted/10qnx
    Feb 11 18:33:31 linux-zev5 10qnx[2948]: debug: /dev/nvme0n1p8 is not a
    QNX4 partition: exiting
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2949]: debug: running
    subtest /usr/lib/os-probes/mounted/20macosx
    Feb 11 18:33:31 linux-zev5 macosx-prober[2951]: debug: /dev/nvme0n1p8
    is not an HFS+ partition: exiting
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2952]: debug: running
    subtest /usr/lib/os-probes/mounted/20microsoft
    Feb 11 18:33:31 linux-zev5 20microsoft[2954]: debug: Skipping legacy
    bootloaders on UEFI system
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2955]: debug: running
    subtest /usr/lib/os-probes/mounted/30utility
    Feb 11 18:33:31 linux-zev5 30utility[2957]: debug: /dev/nvme0n1p8 is
    not a FAT partition: exiting
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2958]: debug: running
    subtest /usr/lib/os-probes/mounted/40lsb
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2960]: debug: running
    subtest /usr/lib/os-probes/mounted/70hurd
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2962]: debug: running
    subtest /usr/lib/os-probes/mounted/80minix
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2964]: debug: running
    subtest /usr/lib/os-probes/mounted/83haiku
    Feb 11 18:33:31 linux-zev5 83haiku[2966]: debug: /dev/nvme0n1p8 is not
    a BeFS partition: exiting
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2967]: debug: running
    subtest /usr/lib/os-probes/mounted/90linux-distro
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2970]: debug: running
    subtest /usr/lib/os-probes/mounted/90solaris
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2972]: debug: running
    subtest /usr/lib/os-probes/mounted/efi
    Feb 11 18:33:31 linux-zev5 os-prober[2983]: debug: running
    /usr/lib/os-probes/50mounted-tests on /dev/nvme0n1p9
    Feb 11 18:33:31 linux-zev5 50mounted-tests[2989]: debug:
    /dev/nvme0n1p9 is a LUKS partition; skipping
    Feb 11 18:33:31 linux-zev5 os-prober[2990]: debug: os detected by
    /usr/lib/os-probes/50mounted-tests

  8. #18
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,631
    Blog Entries
    3

    Default Re: About encrypted partitions during installtion - grub

    Perhaps arvidjaar can help see what's wrong.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  9. #19
    Join Date
    Sep 2012
    Posts
    5,140

    Default Re: About encrypted partitions during installtion - grub

    Quote Originally Posted by nrickert View Post
    Perhaps arvidjaar can help see what's wrong.
    os-prober cannot probe encrypted filesystem unless it is already mounted.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •