# refracta.freeforums.org

place to talk about refracta

Skip to content

Welcome
Welcome to refracta You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

## Building UEFI ISO with refracta on Testing.

Ask your questions here.
Post a reply
37 posts • Page 3 of 4 • 1, 2, 3, 4

### Re: Building UEFI ISO with refracta on Testing.

by miraculix » Sun Feb 22, 2015 7:05 pm

It was the first time I've seen a real grub2, not the transitional package 1.99. So it's not strange, it's simply real grub2 and I've to follow it to be up to date and allow coexistance. For the transitional package the installer is tested already. Give me a few days more to fix the "real grub 2" issue. Changing the grub-directory is not a good idea; if you look into Ubuntu it looks the same as in Jessie.
My own distro is based on "Wheezy" and the refractainstaller-yad (that is being tested on my bios-firmware based development computer) ported it succeccfully to uefi-firmware. The Wheezy-ISOs themselves will successfully install on uefi, if you choose the 64bit (amd64) versions. My uefi-notebook had Windows 8.1 preinstalled and after installing "debian-7.5.0-amd64-DVD-1.iso" a landed with a perfect dual-booting system.
So in the worst case install Windows 8.1, followed by Wheezy and you'll be ready.

miraculix
  Posts: 13
  Joined: Sun Oct 05, 2014 7:02 pm

Top

### Re: Building UEFI ISO with refracta on Testing.

by raymerjacque » Sun Feb 22, 2015 7:07 pm

ok cool, thnx for assisting, i was about to throw my PC out the window

raymerjacque
  Posts: 111
  Joined: Sun Nov 03, 2013 9:37 am

Top

### Re: Building UEFI ISO with refracta on Testing.

by miraculix » Sun Feb 22, 2015 7:14 pm

I forgot one important thing. If you going to install on uefi you n e e d to turn off "Secure Boot" in your firmware-settings.

miraculix
  Posts: 13
  Joined: Sun Oct 05, 2014 7:02 pm

Top

### Re: Building UEFI ISO with refracta on Testing.

by raymerjacque » Wed Feb 25, 2015 11:33 am

Can someone please tell me how to remove the refracta text at the very top of this screenshot, or atleast if it cant be removed how to make it look better ? I designed this nice looking boot screen and i have this ugly white text right on top, i dont see it in any of the cfg files anywhere ...
Last edited by raymerjacque on Wed Feb 25, 2015 3:30 pm, edited 1 time in total.

raymerjacque
  Posts: 111
  Joined: Sun Nov 03, 2013 9:37 am

Top

### Re: Building UEFI ISO with refracta on Testing.

by fsmithred » Wed Feb 25, 2015 12:49 pm

You have to edit the boot menu files in /usr/lib/refractasnapshot/iso/isolinux/. Or create a separate iso directory with your own menu files, and specify that directory in the config file (near the end.) Look at the isolinux menu files of other distros for ideas. Or check the syslinux wiki. It's all configurable. I've just never bothered to try to make it look better.

Code: Select all
  `grep Refracta /usr/lib/refractasnapshot/iso/isolinux/*`

to find all instances.
The one you want is in isolinux/menu.cfg

Code: Select all
  `menu title Refracta
  include stdmenu.cfg
  include live.cfg
  label help
  `

Note: if you create a separate iso dir with your own files, they won't be overwritten if you install a newer version of refractasnapshot. You'll just need to edit the config file again to point to that iso dir.

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: Building UEFI ISO with refracta on Testing.

by fsmithred » Wed Feb 25, 2015 7:27 pm

Better way to do it, and it probably won't get wiped out with the next upgrade - unless I come up with a better idea, this will be official.
In /usr/bin/refractasnapshot-gui around line 670, and refractasnapshot line 540, make the section look like this. (Add the sed command for menu.cfg and comment out the last one for CONFIGS)

Code: Select all
  `# Create the boot menu unless iso_dir or boot_menu is not default.
  if [[ -n "$DISTRO" ]] ; then
  live_config_version=$(dpkg -l live-config | awk '/live-config/ { print $3 }' | cut -d. -f1)
  if [[ $live_config_version -gt 3 ]] ; then
  CONFIGS="components"
  else
  CONFIGS="config"
  fi
  sed -i "s:\${DISTRO}:$DISTRO:g" "$work_dir"/iso/isolinux/"$boot_menu"
  sed -i "s:\${DISTRO}:$DISTRO:g" "$work_dir"/iso/isolinux/menu.cfg
  # sed -i "s:\${CONFIGS}:$CONFIGS:g" "$work_dir"/iso/isolinux/"$boot_menu"
  fi
  `

Edit /usr/lib/refractasnapshot/iso/isolinux/menu.cfg and change

Code: Select all
  `menu title Refracta`

to

Code: Select all
  `menu title ${DISTRO}`

.
That'll do it.

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: Building UEFI ISO with refracta on Testing.

by raymerjacque » Wed Feb 25, 2015 7:30 pm

ah, thank you

raymerjacque
  Posts: 111
  Joined: Sun Nov 03, 2013 9:37 am

Top

### Re: Building UEFI ISO with refracta on Testing.

by fsmithred » Fri Feb 27, 2015 12:17 am

Here's a cli installer that pauses right before grub-install, so you can do stuff manually in another terminal. Also added grub-efi to the deps, so apt won't try to remove it when you install grub-efi.
http://sourceforge.net/projects/refract ... b/download
I had one unsuccessful attempt at installing from an iso I made that included the boot, efi and offline folders from the solydx64 iso I downloaded. One thing I noticed is that 'fdisk -l' shows those isos as one partition, while the official debian isos and the ones made with the 10.0beta refractasnapshot contain two partitions. And you'll probably need to be online - the grub-efi debs in offline were not enough. I had to run apt-get update and install grub-efi from the repo, because it needed other packages.
Another thing I noticed about the solydx files is that the md5sum on the efi.img was not the same on the one I downloaded from solydx and the one from your dropbox. Each matched what was listed in the respective md5sum file, and the dates were the same, but the sums were different. Not sure what to make of that. I'll try downloading again.

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: Building UEFI ISO with refracta on Testing.

by raymerjacque » Fri Feb 27, 2015 2:27 pm

is there a way to disable the popup during install asking to replace the grub ?
The reason i ask is because i use the LMDE installer, not the refracta installer and it does not popup unless i run install from terminal, so instead it just hangs... Can it be disabled to just skip that step ?

raymerjacque
  Posts: 111
  Joined: Sun Nov 03, 2013 9:37 am

Top

### Re: Building UEFI ISO with refracta on Testing.

by fsmithred » Fri Feb 27, 2015 7:34 pm

Which popup? The one that asks if you want to install grub in the mbr, partition or not at all?

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

Previous Next Display posts from previous:
Sort by

Post a reply
37 posts • Page 3 of 4 • 1, 2, 3, 4

Return to Help

Jump to:

### Who is online

Users browsing this forum: No registered users and 0 guests

Donate Now
ProNight Style by ModphpBB3
Hosted by © 2017 FreeForums.org | Create a free forum | Powered by phpBB
A Member of the Crowdgather Forum Community
About FreeForums | Legal | Advertise Here | Investors | Contact FreeForums.org
Report Violation
suspicion-preferred