• Re: NVME - slower speed with deactivated UEFI?

    From Michael Stone@21:1/5 to Hans on Thu Jan 16 16:50:01 2025
    On Thu, Jan 16, 2025 at 04:17:29PM +0100, Hans wrote:
    Now I heard of, that a NVME drive will only get to full speed, if UEFI is >activated in BIOS. Is this correct?

    No, at least for linux; I can't speak to windows.

    Another question, not really important: The device names, like "/dev/hdX", "/ >dev/sdX" and now "/dev/nvmeX" - who is creating these? The kernel? Must /etc/ >fstab be manually changed, when changing the kind of harddrive?

    They'll be created automatically. If you are using device names in fstab
    you'll need to update them manually. Note that the initrd needs to be
    updated also in that case, or the system will be unable to boot. (You
    can boot from the installer using the rescue mode to do all this, or do
    it ahead of time.)

    The normal configuration is to use a filesystem UUID to define mounts, something like
    UUID=67698058-f5cc-43e5-b052-1ebd8339c3cf / ext4 errors=remount-ro 0 1
    in fstab rather than /dev/whatever. In that case it doesn't matter what
    the device name is, they'll all be searched until that UUID is located.

    The final potential gotcha is if you have specified MODULES=dep in /etc/initramfs-tools/initramfs.conf (or a file in
    /etc/initramfs-tools/conf.d). In that case the initrd may not have the
    proper nvme module which would prevent the system from booting. Set MODULES=most and rebuild with "update-initramfs -k all -u". You can set
    it back to dep after booting on the new drive. Again, you can use a
    rescue boot to correct this if necessary.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Hans on Thu Jan 16 16:50:01 2025
    On Thu, 16 Jan 2025 16:17:29 +0100
    Hans <hans.ullrich@loop.de> wrote:

    I am asking, because if NOT, than it would spare me a lot of work, to
    create an UEFI partituion, rewrite the bootloaders, fstab,
    configurations and so on.

    The Debian installer (the installer on the netinst CD, not the live CD)
    will cheerfully and silently build an EFI partition for you if
    necessary. However, if this machine has a recent Windows it should
    already have an EFI partition, and you need do nothing.

    Now is a good time to join the 21st century.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Thu Jan 16 16:20:01 2025
    Hi folks,

    I got a new notebook with an NVME drive.

    As all my BIOS never needed UEFI, my installation dula boot of Windows and Debian are all without UEFI.

    Thus, it was easy for me, cloning debian to any other hardware in the past to
    a ssd drive.

    Now I heard of, that a NVME drive will only get to full speed, if UEFI is activated in BIOS. Is this correct?

    I am asking, because if NOT, than it would spare me a lot of work, to create
    an UEFI partituion, rewrite the bootloaders, fstab, configurations and so on.

    Speed of Windows is not so important for me, but speed of debian is more important for me.

    ---

    Another question, not really important: The device names, like "/dev/hdX", "/ dev/sdX" and now "/dev/nvmeX" - who is creating these? The kernel? Must /etc/ fstab be manually changed, when changing the kind of harddrive?

    ---

    A short answer is very enough!

    Thanks and best regards

    Hans

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Felix Miata@21:1/5 to All on Thu Jan 16 17:20:02 2025
    Hans composed on 2025-01-16 16:57 (UTC+0100):

    That depends on how you describe partitions in /etc/fstab. If you use
    the device name, then almost certainly yes. If you use the label or
    UUID, then no.

    Oh, that is cool, as I am using only UUID in fstab. Thus, just clone the drive
    will do the trick.

    Be sure not to reboot after cloning while both source and target remain enabled.
    --
    Evolution as taught in public schools is, like religion,
    based on faith, not based on science.

    Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

    Felix Miata

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew M.A. Cater@21:1/5 to Hans on Thu Jan 16 17:20:02 2025
    On Thu, Jan 16, 2025 at 04:17:29PM +0100, Hans wrote:
    Hi folks,

    I got a new notebook with an NVME drive.

    As all my BIOS never needed UEFI, my installation dula boot of Windows and Debian are all without UEFI.


    New machines may not have "legacy/MBR" options to boot any more.

    Thus, it was easy for me, cloning debian to any other hardware in the past to a ssd drive.

    Now I heard of, that a NVME drive will only get to full speed, if UEFI is activated in BIOS. Is this correct?


    As above, you may not have the choice. UEFI is fairly well tied into
    hardware.

    I am asking, because if NOT, than it would spare me a lot of work, to create an UEFI partituion, rewrite the bootloaders, fstab, configurations and so on.


    A straightforward new installation of Debian should create the ESP and appropriate means to install under UEFI. If you're installing Windows,
    then you will probably need to make sure that it will boot using UEFI -
    you can't mix UEFI and "legacy/MBR" booting.

    A clean install of Windows from .iso would probably be best - your new
    notebook will have different driver requirements from anything you've
    had previously. If you install Windows first, use Windows tools to reduce the size of the partition and then install Debian, it should work.

    Hope this helps - my opinion only, there may be other ways to do this.

    All the very best, as ever,

    Andrew Cater
    (amacater@debian.org)

    Speed of Windows is not so important for me, but speed of debian is more important for me.

    ---

    Another question, not really important: The device names, like "/dev/hdX", "/ dev/sdX" and now "/dev/nvmeX" - who is creating these? The kernel? Must /etc/ fstab be manually changed, when changing the kind of harddrive?


    As others have said, the installer for the OS will pick these up.

    ---

    A short answer is very enough!

    Thanks and best regards

    Hans



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Thu Jan 16 17:40:02 2025
    Be sure not to reboot after cloning while both source and target remain enabled.

    I always shut down the device completely. then wait a few seaconds. disconnect all drives (Lifefile usb drive and storage) and then start the machine again.

    In the past I never had any issues doing so.

    Cheers

    Hans

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Monnier@21:1/5 to All on Thu Jan 16 18:40:01 2025
    Now I heard of, that a NVME drive will only get to full speed, if UEFI is >>activated in BIOS. Is this correct?
    No, at least for linux; I can't speak to windows.

    +1


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)