seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2020/08/12, 15:17:42


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Question - How i can boot iso directly from Grub2 / Burg ???  (Read 6115 times)

0 Members and 1 Guest are viewing this topic.

Offline inukaze

  • Newbie
  • Posts: 1
Someone can help me , How i make lines inside the "grub.cfg"  from boot directly from iso ? , i try with the follow lines

menuentry ‘Siduction 14.1.0 (Live ISO)’ –class debian –class gnu-linux –class gnu –class os –group group_main {
recordfail
insmod gzio
insmod ext2
insmod part_msdos
set root=’(hd1,1)’
echo “Iniciando Siduction 14.1.0 – Modo Live ISO”
set isofile=”/ISOS/Linux/siduction-14.1.0-paintitblack-lxqt-amd64-201405081704.iso”
loopback loop (hd1,1)$isofile
linux (loop)/boot/vmlinuz0.amd locale=es_ES bootkbd=es console-setup/layoutcode=es quiet splash
iso-scan/filename=$isofile noprompt noeject
echo “Introduciendome en la memoria Ram …”
initrd (loop)/boot/initrd0.amd
}

But i got this - http://tinypic.com/3ia3wjd3

BusyBox , I can't Boot Live Mode . Someone can help me , what i must fix in the lines ???

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.022
    • Land of the Buckeye
I cannot say what is wrong with your menu entry, but I can say that it does not look a lot like the guidance and examples that I can find, which happen to be for Ubuntu.  You should manually mount and examine the paintitblack iso that you have, and examine the contents to confirm whether it is similar or different in structure to the Ubuntu examples.


Here is a different approach, using Unetbootin to automatically write the grub menu entry.  The thought of that makes me nervous -- better back up grub.cfg first.  But you might be braver than me. :D
« Last Edit: 2014/05/17, 22:48:38 by dibl »
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS

Offline melmarker

  • Global Moderator
  • User
  • *****
  • Posts: 2.800
    • g-com.eu
i don't care whats wrong with the entry, because every time i try to set this up by hand i make mistakes  - therefore i would suggest our package grub2-fll-fromiso instead of reinventing the wheel.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline piper

  • Global Moderator
  • User
  • *****
  • Posts: 1.787
  • we are the priests ... of the temples of syrinx
Quote from: melmarker
i don't care whats wrong with the entry, because every time i try to set this up by hand i make mistakes  - therefore i would suggest our package grub2-fll-fromiso instead of reinventing the wheel.
+1

then use 40_custom and enter something like (you will have to modify to match where the iso is)

Quote
menuentry "Siduction-Live-lxqt" {
    insmod iso9660
    insmod part_msdos
    insmod reiserfs
    set root='hd1,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 --hint='hd1,msdos5'  ecf8c612-b748-4c4c-8ac6-d983ab0504ec
    else
      search --no-floppy --fs-uuid --set=root ecf8c612-b748-4c4c-8ac6-d983ab0504ec
    fi
    loopback loop /siduction/siduction-14.1.0-paintitblack-lxqt-amd64-201405082315.iso
    linux (loop)/boot/vmlinuz0.amd fromhd=UUID=ecf8c612-b748-4c4c-8ac6-d983ab0504ec fromiso=/siduction/siduction-14.1.0-paintitblack-lxqt-amd64-201405082315.iso boot=fll lang=en_US tz=America/New York quiet noeject toram
    initrd (loop)/boot/initrd0.amd
}
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.022
    • Land of the Buckeye
.
.
.
........ tz=America/New York ...
.





Heh heh heh -- and I thought Ferdi was the Devil!   ;D
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS

Offline piper

  • Global Moderator
  • User
  • *****
  • Posts: 1.787
  • we are the priests ... of the temples of syrinx
lol :)
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline melmarker

  • Global Moderator
  • User
  • *****
  • Posts: 2.800
    • g-com.eu
@piper - one can simply change the /etc/default/grub2-ffl-fromiso like that:

Code: [Select]
# Defaults for grub2-fll-fromiso update-grub helper
# sourced by grub2's update-grub
# installed at /etc/default/grub2-fll-fromiso by the maintainer scripts

#
# This is a POSIX shell fragment
#

# specify where to look for the ISO
# default: /srv/ISO
#FLL_GRUB2_ISO_LOCATION="/srv/ISO"

# array for defining ISO prefices --> siduction-*.iso, non-recursive
# default: "siduction- fullstory-"
FLL_GRUB2_ISO_PREFIX="siduction- debian- "

# set default language
# default: en_US
FLL_GRUB2_LANG="de_DE"

# override the default timezone.
# default: UTC
FLL_GRUB2_TZ="Europe/Berlin"

# additional cheatcodes
# default: quiet noeject
FLL_GRUB2_CHEATCODE="quiet noeject"

update-grub will then do the magic
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline piper

  • Global Moderator
  • User
  • *****
  • Posts: 1.787
  • we are the priests ... of the temples of syrinx
Quote from: melmarker
@piper - one can simply change the /etc/default/grub2-ffl-fromiso like that:

Code: [Select]# Defaults for grub2-fll-fromiso update-grub helper
# sourced by grub2's update-grub
# installed at /etc/default/grub2-fll-fromiso by the maintainer scripts

#
# This is a POSIX shell fragment
#

# specify where to look for the ISO
# default: /srv/ISO
#FLL_GRUB2_ISO_LOCATION="/srv/ISO"

# array for defining ISO prefices --> siduction-*.iso, non-recursive
# default: "siduction- fullstory-"
FLL_GRUB2_ISO_PREFIX="siduction- debian- "

# set default language
# default: en_US
FLL_GRUB2_LANG="de_DE"

# override the default timezone.
# default: UTC
FLL_GRUB2_TZ="Europe/Berlin"

# additional cheatcodes
# default: quiet noeject
FLL_GRUB2_CHEATCODE="quiet noeject"

update-grub will then do the magic
Yes, that works also, that is how I used to do it, using custom_40, nothing changes when/if grub updates (colors, names, grub screen, etc ...) and I also purge os prober.

I do recommend that way (grub2-fll-fromiso) to anyone who hasn't used fromiso and wants a true easy way to do it.

I still have an old copy ;)

Quote
# Defaults for grub2-fll-fromiso update-grub helper
# sourced by grub2's update-grub
# installed at /etc/default/grub2-fll-fromiso by the maintainer scripts

#
# This is a POSIX shell fragment
#

# specify where to look for the ISO
# default: /srv/ISO
FLL_GRUB2_ISO_LOCATION="/media/disk2part5/siduction"

# array for defining ISO prefices --> siduction-*.iso, non-recursive
# default: "siduction- fullstory-"
FLL_GRUB2_ISO_PREFIX="aptosid-2012-01-thanatos-kde-full-i386-amd64-201212010120 siduction-12.2.0-ridersonthestorm-lxde-amd64-201212092122 siduction-12.2.0-ridersonthestorm-xfce-amd64-201212092126 siduction-12.2.0-ridersonthestorm-rqt-amd64-201212092240 siduction-13.0.5 PaintItBlack-kde-amd64-201308031300"

# set default language
# default: en_US
FLL_GRUB2_LANG="en_US"

# override the default timezone.
# default: UTC
FLL_GRUB2_TZ="America/New York"

# additional cheatcodes
# default: quiet noeject
FLL_GRUB2_CHEATCODE="quiet noeject toram"

Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck