Results 1 to 6 of 6

Thread: Portable installed system that boots in UEFI as well as in BIOS mode

  1. #1
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,041

    Portable installed system that boots in UEFI as well as in BIOS mode

    I wanted an installed system as a good alternative to a persistent live system that boots new computers with and without UEFI. So I made one, which is described in this link

    https://help.ubuntu.com/community/In.../UEFI-and-BIOS

    But I have tested it in only two computers, my Toshiba laptop, where I made it, and in my son's HP Elitebook laptop, so I don't know how portable it is.

    The method is described in detail, and there is a compressed image of an Ubuntu 12.04.4 system available at

    http://phillw.net/isos/linux-tools/uefi-n-bios

    I think the method is at least as important to test as the compressed image, if and how it works in other computers.

    So now, that we have finished testing beta 2, maybe there is time for you to try the method and make an UEFI-and-BIOS pendrive with your favourite flavour of Ubuntu Trusty beta 2.
    Last edited by sudodus; 3 Days Ago at 10:13 AM. Reason: tested in two computers

  2. #2
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,423
    Distro
    Ubuntu Development Release

    Re: Portable installed system that boots in UEFI as well as in BIOS mode

    I was just experimenting with a ready-made saucy pendrive install and it works just fine on UEFI and non-UEFI.

    Code:
    ventrical@ventrical-MS-7798:~$ lspci
    00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
    00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
    00:02.1 Display controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
    00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02)
    00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
    00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
    00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
    00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
    00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
    00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
    00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
    00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
    00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
    00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
    00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
    00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
    00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
    00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
    00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02)
    00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA Controller [IDE mode] (rev 02)
    00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
    00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA Controller [IDE mode] (rev 02)
    03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101/6102 single-port PATA133 interface (rev b2)
    06:03.0 FireWire (IEEE 1394): LSI Corporation FW322/323 [TrueFire] 1394a Controller (rev 70)
    ventrical@ventrical-MS-7798:~$
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  3. #3
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,423
    Distro
    Ubuntu Development Release

    Re: Portable installed system that boots in UEFI as well as in BIOS mode

    OK .. I think I am not on the same topic here. I just merely <enabled> UEFI in BIOS and booted to an already existing install from a pendrive. I tried some of your code from the link and it does not report that I am in UEFI mode.
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,041

    Re: Portable installed system that boots in UEFI as well as in BIOS mode

    Quote Originally Posted by ventrical View Post
    OK .. I think I am not on the same topic here. I just merely <enabled> UEFI in BIOS and booted to an already existing install from a pendrive. I tried some of your code from the link and it does not report that I am in UEFI mode.
    An Ubuntu desktop 64-bit install DVD or USB drive can boot into both systems (UEFI - grub, BIOS - syslinux), and with my method an installed system is tweaked to boot via grub in both UEFI and BIOS by activating different paths to booting.

    In my Toshiba, it is not possible to boot a system made for BIOS, when I enable UEFI. And it is not possible to boot a system made for UEFI, when I disable UEFI by selecting 'CSM', which means enabling old style BIOS mode.

    UEFI Compatibility Support Module (CSM) provides compatibility support for traditional legacy BIOS. This allows allows the booting an operating system that requires a traditional option ROM support, such as BIOS Int 10h video calls.
    I think that the UEFI systems are not standardized, but vary a lot, which can make the experience different between computers.

    -o-

    The system, that you can expand from

    http://phillw.net/isos/linux-tools/u...S-7.8GB.img.xz

    boots clearly differently for me when I set the computer in UEFI mode and BIOS (CSM) mode. The grub menu is rendered differently, so it is easy for me to identify. But the same installed Ubuntu system is running after grub.

  5. #5
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,041

    Re: Portable installed system that boots in UEFI as well as in BIOS mode

    This UEFI-n-BIOS booter was developed in my Toshiba

    http://www.toshiba.se/laptops/satell...-pro-c850-19w/

    and today I tested it in a Dell Latitude E5430 non-vPro with the following specs according to lshw
    Code:
    computer
        description: Laptop
        product: Latitude E5430 non-vPro (Latitude E5430 non-vPro)
        vendor: Winbond Electronics
        version: 01
        serial: [REMOVED]
        width: 64 bits
        capabilities: smbios-2.7 dmi-2.7 vsyscall32
        configuration: boot=normal chassis=laptop sku=Latitude E5430 non-vPro uuid=[REMOVED]
      *-core
           description: Motherboard
           product: 0MYF02
           vendor: Winbond Electronics
           physical id: 0
           version: A00
           serial: [REMOVED]
         *-firmware
              description: BIOS
              vendor: Winbond Electronics
              physical id: 0
              version: A11
              date: 05/20/2013
              size: 64KiB
              capacity: 13MiB
              capabilities: pci pnp upgrade shadowing cdboot bootselect socketedrom edd int13flop
    py1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer a
    cpi usb smartbattery biosbootspecification netboot
         *-cpu
              description: CPU
              product: Intel(R) Core(TM) i3-3120M CPU @ 2.50GHz
              vendor: Intel Corp.
              physical id: 53
              bus info: cpu@0
              version: Intel(R) Core(TM) i3-3120M CPU @ 2.50GHz
              slot: SOCKET 0
              size: 1200MHz
    :
              capacity: 2500MHz
              width: 64 bits
              clock: 100MHz
              capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx f16c lahf_lm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms cpufreq
              configuration: cores=2 enabledcores=2 threads=4
    ...
         *-memory
              description: System Memory
              physical id: 46
              slot: System board or motherboard
              size: 2GiB
    ...
    Pressing F12 at boot, I arrived at a boot menu, with one entry to boot from the USB pendrive in BIOS (legacy) mode and another entry to boot the pendrive in UEFI mode (along with all the other entries including booting Windows).

    And the computer could run this portable installed system in UEFI as well as in BIOS mode.

    Edit: But it does not run in UEFI secure mode, not even in the Toshiba, where it was developed.
    Last edited by sudodus; April 14th, 2014 at 03:26 PM.

  6. #6
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Portable installed system that boots in UEFI as well as in BIOS mode

    I have seen users with many different options.

    A few have no UEFI/BIOS options, it tries UEFI and if no efi partition tries BIOS.
    Some have settings that are UEFI or BIOS, but you can set either or both.
    Some have to have UEFI/BIOS setting to exact mode they want to use to boot and have to turn on/off UEFI and/or turn on/off BIOS.

    I think all have to turn off secure boot to get any other options as BIOS is not secure boot.

    For those that can boot either way the one time boot key if available should show both options.

    With a new Dell and Haswell processor, the suggestion was to turn on BIOS mode but boot in UEFI mode to fix some bug in the Haswell/Intel chip & software. Do not know how that would be related, thought UEFI & BIOS were totally separate?
    Last edited by oldfred; April 14th, 2014 at 03:48 PM.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Bookmarks

Posting Permissions

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