WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: UEFI Boot  (Read 90591 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14506
Re: UEFI Boot
« Reply #75 on: October 11, 2012, 04:45:13 AM »
Code: [Select]
$ sudo grub-install --target=x86_64-efi --boot-directory=/mnt/sdb1/EFI/BOOT --efi-directory=/mnt/sdb1 --removable
How did this command work?  Some of the options ("--target=x86_64-efi", "--efi-directory=/mnt/sdb1" and "--removable") were not valid arguments.

I believe you need at least grub-2.00 - I think I used grub-2.00-beta-6

aus9

  • Guest
Re: UEFI Boot
« Reply #76 on: October 13, 2012, 05:15:34 PM »
hi boot TC thru a grub2 version 1.99-23 onto a 32 bit TC but have normal msdos partitions sorry.

You may be interested in some other wikis?

https://wiki.archlinux.org/index.php/GRUB2#Install_to_UEFI_SYSTEM_PARTITION

https://help.ubuntu.com/community/UEFIBooting

http://wiki.gentoo.org/wiki/GRUB2

in particular

Quote
Note: To do this, you need to boot using UEFI and not the BIOS. If you booted by just copying the ISO file to the USB drive, you will need to follow this guide or grub-install will show errors

and that link takes you to
https://wiki.archlinux.org/index.php/UEFI#Create_UEFI_bootable_USB_from_ISO

hope that helps someone, because one day UEFI is going bite me as well

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: UEFI Boot
« Reply #77 on: October 13, 2012, 05:46:41 PM »
To boot a 32bit EFI you'll need to compile a 32bit GRUB 2

To boot a 64bit architecture, you'll need to compile a 64 bit GRUB 2, additionally use the modded 64bit 3.0.21 kernel with EFI support, which Juanito  kindly compiled for us, and core64
« Last Edit: October 13, 2012, 05:48:29 PM by coreplayer2 »

Offline flatop0315

  • Newbie
  • *
  • Posts: 2
Re: UEFI Boot
« Reply #78 on: February 11, 2013, 11:09:20 PM »
"modded 64bit 3.0.21 kernel with EFI support, which Juanito  kindly compiled for us, and core64"


Hello Juanito or Coreplayer2, how can I obtain the modded 64bit 3.021 kernel with EFI support?

I would like to make a usb drive that will boot Tiny Core on the majority of intel mac computers and then try to get nwipe to work with Tiny Core.


Offline cURIOUSgEORGE

  • Full Member
  • ***
  • Posts: 140
Re: UEFI Boot
« Reply #79 on: February 16, 2013, 10:27:29 PM »
I can't boot ANY thing off of usb, but most of the distros I've tried work off of  cd, not all distros though. Tinycore off of cd works for me, but not ubuntu (it freezes at boot).

I had to change security settings in bios (UEFI) though.

aus9

  • Guest
Re: UEFI Boot
« Reply #80 on: May 14, 2013, 06:40:21 PM »
I found a very informative UEFI with linux article from a commercial linux magazine online

if interested google  and take the first hit

Coping with the UEFI Boot Process

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14506
Re: UEFI Boot
« Reply #81 on: December 30, 2013, 04:28:43 AM »
tinycore-5.x update

The tinycore-5.x kernel supports (u)efi boot without the need for any kernel modifications.

An example corepure64 grub-2 config for a usb stick that boots on both pc and mac might look like this:
Code: [Select]
loadfont unicode
insmod efi_gop
set gfxterm=auto
terminal_output gfxterm

search --no-floppy --fs-uuid --set=root f8422ac1-fef4-48ce-b79e-abce5a598e8a

menuentry "corepure64" {
  linux /boot/vmlinuz64 quiet noswap tce=UUID=f8422ac1-fef4-48ce-b79e-abce5a598e8a waitusb=10:UUID=f8422ac1-fef4-48ce-b79e-abce5a598e8a tz=GMT-4 blacklist=bcma blacklist=ssb blacklist=b43
  initrd /boot/rootfs64.gz /boot/modules64.gz
}

menuentry "corepure64_base" {
  linux /boot/vmlinuz64 quiet noswap tce=UUID=f8422ac1-fef4-48ce-b79e-abce5a598e8a waitusb=10:UUID=f8422ac1-fef4-48ce-b79e-abce5a598e8a tz=GMT-4 blacklist=bcma blacklist=ssb blacklist=b43 base norestore
  initrd /boot/rootfs64.gz /boot/modules64.gz
}

Note:

* The first four lines are required if you need a screen display between choosing a "menuentry" <cr> and the graphics-KERNEL extension loading.
* The UUID is the linux partition containing the tce folder.
* The above config works with both pc and mac 64-bit (u)efi without modification.
* Use "corepure64_base" to perform e2fsck and then "sudo tce-setup" to load tinycore.
* Substitute "rootfs.gz" for rootfs64.gz for a core64 installation.