LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Linux LIVE Distro with great UEFI Support !! (debian like) (https://www.linuxquestions.org/questions/linux-distributions-5/linux-live-distro-with-great-uefi-support-debian-like-4175551619/)

Xeratul 08-24-2015 03:36 PM

Linux LIVE Distro with great UEFI Support !! (debian like)
 
Hello

I have tried debian installed xfce and it has a great uefi support. I can install debian without any single problem.

However DEBIAN LIVE has no support of UEFI. You cannot see the pendrive into the menu bios to boot!

I just tried makululinux and again the same. A live without uefi.

A particularity to boot well with UEFI is the ISO (image) live with 2 partitions (such as debian installer stable).


Well, if you know, any please help us !!!!!!!!!!!

looking forward having a nice answer to not found results.

jefro 08-24-2015 07:37 PM

http://gentoo.mirrors.tds.net/pub/ge...l-20140826.iso

The problem with booting to uefi dvd sometimes is you have to select a uefi source if that is possible on your system.

There are many web pages on uefi and non are exactly the same some suggest that you do this or that on your uefi settings but as far as I've seen, there are no two uefi systems alike.

Head_on_a_Stick 08-25-2015 03:39 PM

I use a Fedora 22 live system and that boots fine in UEFI mode.

Xeratul 08-25-2015 04:01 PM

Quote:

Originally Posted by Head_on_a_Stick (Post 5411091)
I use a Fedora 22 live system and that boots fine in UEFI mode.

thank you. It actually narrowly depends the bios version. The AMT bios of various machines are more or less different. Some of them are fine with UEFI. Today I could boot the last mint distro with uefi without a problem, however if you use another pc, this same flashdisk will not be detected by the bios boot menu.

You know, ... I did a live with SYSLINUX and UEFI, and it sounds even better than the LIVE of Mint.

Syslinux vs grub2, actually syslinux is comfortable and could boot even better and it is more reliable on uefi's.

Timothy Miller 08-25-2015 04:37 PM

From my experience with getting UEFI to work, probably comes down to if hybrid is turned on by default in the firmware version. With hybrid turned on, most live images will try to boot as a legacy system, even though while it allows for legacy booting, it's not in any way easy to get legacy booting. Needs to be fully legacy boot, or fully UEFI with the hybrid option/allow legacy roms option turned off so that it will ONLY do UEFI boot. Again, that's just what I've seen in everything I've used.

Xeratul 08-26-2015 04:01 AM

Quote:

Originally Posted by Timothy Miller (Post 5411116)
From my experience with getting UEFI to work, probably comes down to if hybrid is turned on by default in the firmware version. With hybrid turned on, most live images will try to boot as a legacy system, even though while it allows for legacy booting, it's not in any way easy to get legacy booting. Needs to be fully legacy boot, or fully UEFI with the hybrid option/allow legacy roms option turned off so that it will ONLY do UEFI boot. Again, that's just what I've seen in everything I've used.



This is exactly the problem! The big aim is to make it seen for all computer during the boot of the machine by the BIOS (F12,...) to select which device/media/.. to boot/start.

Xeratul 08-26-2015 10:28 AM

Hi Guys!

All the trick is here to be seen by the bios during the power up of the machine.

Code:



DETECTED BY BIOS !!!!
Disk debian-8.1.0-i386-xfce-CD-1.iso: 676 MB, 676331520 bytes
255 heads, 63 sectors/track, 82 cylinders, total 1320960 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x639f344e

                          Device Boot      Start        End      Blocks  Id  System
debian-8.1.0-i386-xfce-CD-1.iso1  *          0    1320959      660480    0  Empty
debian-8.1.0-i386-xfce-CD-1.iso2            8428        9067        320  ef  EFI (FAT-12/16/32)




NOT DETECTED BY BIOS !!!!
Disk live/linuxmint-17.2-xfce-32bit.iso: 1474 MB, 1474297856 bytes
64 heads, 32 sectors/track, 1406 cylinders, total 2879488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5a5982d9

                            Device Boot      Start        End      Blocks  Id  System
live/linuxmint-17.2-xfce-32bit.iso1  *          0    2879487    1439744  17  Hidden HPFS/NTFS

https://www.adayinthelifeof.nl/2011/...l-disk-images/




Some possible eventual idea:
Code:

Device Boot      Start        End            Blocks  Id  System
linuxmint-17.2-xfce-32bit.iso1  *          0              2879487    1439744  17  Hidden HPFS/NTFS
     
dd if=/dev/zero of=linux-image.img  bs=1024 count=1724288

Device Boot      Start        End      Blocks  Id  System
linux-image.img1            2048    2879487    1438720  83  Linux
linux-image.img2        2879488    3448575      284544  83  Linux

    2048    2879487
 => 106496
=>  1474297344

  2879488    3448575 
2879488        gives 1474297856
3448575        gives 1765670400

then create loopback devices:
 mknod -m0660 /dev/loop5 b 7 5

losetup -o 106496 --sizelimit 1474297344  /dev/loop2  linux-image.img
losetup -o 1474297856 --sizelimit 1765670400  /dev/loop3  linux-image.img

mkfs.ext2 /dev/loop2
mkfs.ext2 /dev/loop3


fdisk  linux-image.img

Command (m for help): p

Disk linux-image.img: 1765 MB, 1765670912 bytes
255 heads, 63 sectors/track, 214 cylinders, total 3448576 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8133a058

          Device Boot      Start        End      Blocks  Id  System
linux-image.img1  *        2048    2879487    1438720  83  Linux
linux-image.img2        2879488    3448575      284544  83  Linux

 no!! => dd if=linuxmint-17.2-xfce-32bit.iso  of=/dev/loop2

../debian-8.1.0-i386-xfce-CD-1.iso2            start8428        9067        320  ef  EFI (FAT-12/16/32)

Device Boot      Start        End      Blocks  Id  System
linuxmint-17.2-xfce-32bit.iso1  *          start0    end 2879487    1439744  17  Hidden HPFS/NTFS

8428        ->        4315136
9067        ->        4642304
mint:
2879487        ->        1474297344
 


mknod -m0660 /dev/loop17 b 7 17

losetup -o 0 --sizelimit 1474297344  /dev/loop17  linuxmint-17.2-xfce-32bit.iso

losetup  -a

dd if=/dev/loop17 of=/dev/loop2
1474297344 bytes (1.5 GB) copied, 106.027 s, 13.9 MB/s


losetup -o  4315136  --sizelimit 4642304  /dev/loop18  ../debian-8.1.0-i386-xfce-CD-1.iso   

 dd if=/dev/loop18 of=/dev/loop3

/dev/sdg1: LABEL="Linux Mint 17.2 Xfce 32-bit" TYPE="iso9660"
/dev/loop2: LABEL="Linux Mint 17.2 Xfce 32-bit" TYPE="iso9660"
/dev/loop3: SEC_TYPE="msdos" UUID="F3A3-0529" TYPE="vfat"
/dev/loop17: LABEL="Linux Mint 17.2 Xfce 32-bit" TYPE="iso9660"
/dev/loop18: SEC_TYPE="msdos" UUID="F3A3-0529" TYPE="vfat"

 dd if=linux-image.img  of=/dev/sdg



All times are GMT -5. The time now is 08:11 PM.