Refracta Development, Scripts, etc.
Post a reply
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## (SOLVED) uEFI build of grub.cfg

Sat Apr 08, 2017 8:23 pm

Hello.. using the refracta snapshot tool with uEFI and everything is working as it should with one notable exception
a new grub.cfg is created with the build and is placed here:

Code:
  `/home/work/iso/boot/grub/grub.cfg`

which is pulled from the /usr/lib/refractasnapshot/grub.cfg.template as dictated in /etc/refractasnapshot.conf and contains

Code:
  `linux /live/vmlinuz boot=live ip=frommedia username=vsido`

I need to add the following to that line

Code:
  `net.ifnames=0`

In the normal non uEFI build setup I use, this is handled perfectly by editing and adding it to

Code:
  `/usr/lib/refractasnapshot/iso/isolinux/live.cfg`

For whatever reasons, the addition of the additional grub features for uEFI adds one layer of complexity.. For a temp fix I simply edit the

Code:
  `/home/work/iso/boot/grub/grub.cfg`

Before I start the build and add the net.ifnames=0 parameter..
I would like to make this permanent so I do not have to add it each time with an edit
Last edited by vsido on Sun Apr 09, 2017 5:37 pm, edited 1 time in total.
fsmithred

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

## Re: uEFI build of grub.cfg

Sun Apr 09, 2017 11:01 am

Add it to /usr/lib/refractasnapshot/grub.cfg.template.
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: uEFI build of grub.cfg

Sun Apr 09, 2017 5:37 pm

Thanks.. I was not sure if that was a created or static file
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.