LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 08-24-2015, 03:36 PM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
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.
 
Old 08-24-2015, 07:37 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
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.
 
Old 08-25-2015, 03:39 PM   #3
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
I use a Fedora 22 live system and that boots fine in UEFI mode.
 
Old 08-25-2015, 04:01 PM   #4
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by Head_on_a_Stick View Post
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.
 
Old 08-25-2015, 04:37 PM   #5
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
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.
 
Old 08-26-2015, 04:01 AM   #6
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by Timothy Miller View Post
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.
 
Old 08-26-2015, 10:28 AM   #7
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
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

Last edited by Xeratul; 08-26-2015 at 11:26 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A small distro that doesn´t use UEFI, live usb adolfoe Linux - Distributions 4 03-13-2015 12:03 PM
LXer: DoudouLinux 1.0 is released! Great debian based distro for Children LXer Syndicated Linux News 0 06-19-2011 05:41 PM
LXer: Debian Squeeze Alpha 1 live DVD images are available - it's a great way to dip LXer Syndicated Linux News 0 03-26-2010 09:50 AM
Linux is great, Windows is great but can you live without a computer? Mr-Bisquit General 49 03-08-2010 06:26 PM
any Live Distro with RAID support netwizio Linux - General 2 01-27-2004 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration