New installation on Ubuntu without usb or CD, by grub

Post Reply
Message
Author
lujz-br
Posts: 5
Joined: Fri Nov 23, 2018 9:47 am

New installation on Ubuntu without usb or CD, by grub

#1 Post by lujz-br »

Hi,

I get antiX-17.2.1_x64-net.iso and tried edit /etc/grub.d/40_custom for a new installation... but it don't work...
I have HP Pavilion 11-n026br x360... whith UEFI. I put the iso file at /boot/grml/ and selected at boot, but I don't get no one message and it return to grub's menu...

Thanks for help!
Luiz

lujz-br
Posts: 5
Joined: Fri Nov 23, 2018 9:47 am

Re: New installation on Ubuntu without usb or CD, by grub

#2 Post by lujz-br »

At /etc/grub.d/40_custom I put:

menuentry "AntiX 2" {
set ISOfile="/home/luiz/baixados/2/antiX-17.2.1_x64-net.iso"
lookback loop (hd0,gpt8)$ISOfile
linuxefi (loop)/antiX/vmlinuz boot=live components config findiso=$ISOfile ip=frommedia toram=filesystem.squashfs union=overlay username=user
initrdefi (loop)/live/initrd.img
}

and get: command lookback not found...

User avatar
anticapitalista
Developer
Posts: 4167
Joined: Sat Jul 15, 2006 10:40 am

Re: New installation on Ubuntu without usb or CD, by grub

#3 Post by anticapitalista »

loopback not lookback
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
fehlix
Developer
Posts: 10378
Joined: Wed Apr 11, 2018 5:09 pm

Re: New installation on Ubuntu without usb or CD, by grub

#4 Post by fehlix »

lujz-br wrote: Fri Nov 23, 2018 10:10 am I get antiX-17.2.1_x64-net.iso and tried edit /etc/grub.d/40_custom for a new installation...
This might work:

Code: Select all

menuentry "antiX-17.2.1 x64-net 14 November 2018 fromiso" {
   set iso_path="/ISO/antiX-17.2/antiX-17.2.1_x64-net.iso"
   search --no-floppy --set=root --file $iso_path
   probe -u $root --set=buuid
   loopback loop $iso_path
   set root=(loop)
   linux  /antiX/vmlinuz quiet splash=v disable=lxd 3 buuid=$buuid fromiso=$iso_path lang=pt_BR 
   initrd /antiX/initrd.gz
}
Adjust iso_path and lang accordingly.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

lujz-br
Posts: 5
Joined: Fri Nov 23, 2018 9:47 am

Re: New installation on Ubuntu without usb or CD, by grub

#5 Post by lujz-br »

Thank you, anticapitalista and fehlix... I've made a few attempts and decided make bootable usb :)

Post Reply

Return to “antiX”