USB Pendrive with 14.43 GiB
Partition 1 : exFAT, 11.32 GiB, label : Inukaze
Partition 2 : ext2, 100 MB, label : Inicio (boot on spanish)
Partition 3 : ext3, 3.00 GiB, label GNU_con_Linux (GNU with Linux on spanish, because GNU is the OS and Linux is just the kernel)
i had installed grub from Slackware 14.2 on the Pendrive, and i write manully my own configuration file of grub.
When i boot my porteus from usb, search for it configuration file, and found on /mnt/isoloop
the thing is when this is booted the partition for grub is /dev/sda3, but when porteus found his configuration file and before the modules be loaded, the partition change from /dev/sda3 to for example /dev/sdc3
currently the blkid output of pendrive partition :
Code: Select all
/dev/sdc1: LABEL="Inukaze" UUID="38C0-FCD0" BLOCK_SIZE="512" TYPE="exfat" PARTUUID="29504791-01"
/dev/sdc2: LABEL="Inicio" UUID="a0784a07-12ba-4131-a646-726a70ad6a55" BLOCK_SIZE="1024" TYPE="ext2" PARTUUID="29504791-02"
/dev/sdc3: LABEL="GNU_con_Linux" UUID="23b2374a-ee65-49dc-9abd-562449624a68" BLOCK_SIZE="4096" TYPE="ext3" PARTUUID="29504791-03"
Code: Select all
search --set root -u a0784a07-12ba-4131-a646-726a70ad6a55
set prefix=$(root)/grub
set have_grubenv=true
load_env
set timeout=60
menuentry_id_option=""
export menuentry_id_option
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
font=ter-u20b
if loadfont $font ; then
set gfxmode=640x480
load_video
insmod gfxterm
insmod gettext
fi
terminal_output gfxterm
search --set root -u a0784a07-12ba-4131-a646-726a70ad6a55
set locale_dir=$(root)/locale
set lang=es
insmod part_msdos
insmod ext2
insmod gfxterm
insmod gettext
insmod png
if [ -z "$bg" ]; then
background_image "/grub/images/Tux_640x480.png"
else
background_image "${prefix}/images/${bg}"
fi
if [ "$bg" = "Tux_640x480.png" ]; then
set menu_color_normal="light-cyan/black"
set menu_color_highlight="light-green/black"
set color_normal="light-cyan/black"
else
set menu_color_normal=light-green/black
set menu_color_highlight=light-cyan/black
fi
#Establecer Colores de la tipografia del menu GRUB :
set menu_color_normal="white/black"
set menu_color_highlight="light-green/black"
set color_normal="white/black"
#Establecer Colores de la tipografia del menu GRUB.
### Configuracion Grafica : INICIO ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
### Configuracion Grafica : FIN ###
submenu 'Porteus 5.0 [64 Bits]' {
if background_image "${prefix}/images/Porteus_640x480.png" ; then
set menu_color_normal="white/black"
set menu_color_highlight="light-green/black"
set color_normal="white/black"
else
set menu_color_normal="light-cyan/black"
set menu_color_highlight="light-green/black"
set color_normal="light-cyan/black"
fi
menuentry "Regresar al menú principal" {
configfile ${prefix}/grub.cfg
}
menuentry 'LXQT [REQ : 256 MB RAM]' {
load_video
insmod part_msdos
insmod linux
insmod gzio
insmod ext2
search --set=root --fs-uuid 23b2374a-ee65-49dc-9abd-562449624a68 --hint hd0,msdos3
UUID="23b2374a-ee65-49dc-0abd-562449624a68"
echo "Raiz = ($root)"
echo "UUID = ($UUID)"
echo "Iniciando Porteus 5.0 [64 Bits] - LXQT"
set isofile="/Porteus/Porteus-LXQT-v5.0-x86_64.iso"
export $isofile
loopback loop ($root)${isofile}
#Rebusque - Convertir "hd#,msdos#" en "sdX#" : INICIO
if [ "$root" == "hd0,msdos1" ]; then unset root ; root="sda1" ; fi
if [ "$root" == "hd0,msdos2" ]; then unset root ; root="sda2" ; fi
if [ "$root" == "hd0,msdos3" ]; then unset root ; root="sda3" ; fi
if [ "$root" == "hd0,msdos4" ]; then unset root ; root="sda4" ; fi
if [ "$root" == "hd0,msdos5" ]; then unset root ; root="sda5" ; fi
if [ "$root" == "hd0,msdos6" ]; then unset root ; root="sda6" ; fi
if [ "$root" == "hd0,msdos7" ]; then unset root ; root="sda7" ; fi
if [ "$root" == "hd0,msdos8" ]; then unset root ; root="sda8" ; fi
if [ "$root" == "hd0,msdos9" ]; then unset root ; root="sda9" ; fi
if [ "$root" == "hd1,msdos1" ]; then unset root ; root="sdb1" ; fi
if [ "$root" == "hd1,msdos2" ]; then unset root ; root="sdb2" ; fi
if [ "$root" == "hd1,msdos3" ]; then unset root ; root="sdb3" ; fi
if [ "$root" == "hd1,msdos4" ]; then unset root ; root="sdb4" ; fi
if [ "$root" == "hd1,msdos5" ]; then unset root ; root="sdb5" ; fi
if [ "$root" == "hd1,msdos6" ]; then unset root ; root="sdb6" ; fi
if [ "$root" == "hd1,msdos7" ]; then unset root ; root="sdb7" ; fi
if [ "$root" == "hd1,msdos8" ]; then unset root ; root="sdb8" ; fi
if [ "$root" == "hd1,msdos9" ]; then unset root ; root="sdb9" ; fi
if [ "$root" == "hd2,msdos1" ]; then unset root ; root="sdc1" ; fi
if [ "$root" == "hd2,msdos2" ]; then unset root ; root="sdc2" ; fi
if [ "$root" == "hd2,msdos3" ]; then unset root ; root="sdc3" ; fi
if [ "$root" == "hd2,msdos4" ]; then unset root ; root="sdc4" ; fi
if [ "$root" == "hd2,msdos5" ]; then unset root ; root="sdc5" ; fi
if [ "$root" == "hd2,msdos6" ]; then unset root ; root="sdc6" ; fi
if [ "$root" == "hd2,msdos7" ]; then unset root ; root="sdc7" ; fi
if [ "$root" == "hd2,msdos8" ]; then unset root ; root="sdc8" ; fi
if [ "$root" == "hd2,msdos9" ]; then unset root ; root="sdc9" ; fi
if [ "$root" == "hd3,msdos1" ]; then unset root ; root="sdd1" ; fi
if [ "$root" == "hd3,msdos2" ]; then unset root ; root="sdd2" ; fi
if [ "$root" == "hd3,msdos3" ]; then unset root ; root="sdd3" ; fi
if [ "$root" == "hd3,msdos4" ]; then unset root ; root="sdd4" ; fi
if [ "$root" == "hd3,msdos5" ]; then unset root ; root="sdd5" ; fi
if [ "$root" == "hd3,msdos6" ]; then unset root ; root="sdd6" ; fi
if [ "$root" == "hd3,msdos7" ]; then unset root ; root="sdd7" ; fi
if [ "$root" == "hd3,msdos8" ]; then unset root ; root="sdd8" ; fi
if [ "$root" == "hd3,msdos9" ]; then unset root ; root="sdd9" ; fi
if [ "$root" == "hd4,msdos1" ]; then unset root ; root="sde1" ; fi
if [ "$root" == "hd4,msdos2" ]; then unset root ; root="sde2" ; fi
if [ "$root" == "hd4,msdos3" ]; then unset root ; root="sde3" ; fi
if [ "$root" == "hd4,msdos4" ]; then unset root ; root="sde4" ; fi
if [ "$root" == "hd4,msdos5" ]; then unset root ; root="sde5" ; fi
if [ "$root" == "hd4,msdos6" ]; then unset root ; root="sde6" ; fi
if [ "$root" == "hd4,msdos7" ]; then unset root ; root="sde7" ; fi
if [ "$root" == "hd4,msdos8" ]; then unset root ; root="sde8" ; fi
if [ "$root" == "hd4,msdos9" ]; then unset root ; root="sde9" ; fi
if [ "$root" == "hd5,msdos1" ]; then unset root ; root="sdf1" ; fi
if [ "$root" == "hd5,msdos2" ]; then unset root ; root="sdf2" ; fi
if [ "$root" == "hd5,msdos3" ]; then unset root ; root="sdf3" ; fi
if [ "$root" == "hd5,msdos4" ]; then unset root ; root="sdf4" ; fi
if [ "$root" == "hd5,msdos5" ]; then unset root ; root="sdf5" ; fi
if [ "$root" == "hd5,msdos6" ]; then unset root ; root="sdf6" ; fi
if [ "$root" == "hd5,msdos7" ]; then unset root ; root="sdf7" ; fi
if [ "$root" == "hd5,msdos8" ]; then unset root ; root="sdf8" ; fi
if [ "$root" == "hd5,msdos9" ]; then unset root ; root="sdf9" ; fi
if [ "$root" == "hd6,msdos1" ]; then unset root ; root="sdg1" ; fi
if [ "$root" == "hd6,msdos2" ]; then unset root ; root="sdg2" ; fi
if [ "$root" == "hd6,msdos3" ]; then unset root ; root="sdg3" ; fi
if [ "$root" == "hd6,msdos4" ]; then unset root ; root="sdg4" ; fi
if [ "$root" == "hd6,msdos5" ]; then unset root ; root="sdg5" ; fi
if [ "$root" == "hd6,msdos6" ]; then unset root ; root="sdg6" ; fi
if [ "$root" == "hd6,msdos7" ]; then unset root ; root="sdg7" ; fi
if [ "$root" == "hd6,msdos8" ]; then unset root ; root="sdg8" ; fi
if [ "$root" == "hd6,msdos9" ]; then unset root ; root="sdg9" ; fi
if [ "$root" == "hd7,msdos1" ]; then unset root ; root="sdh1" ; fi
if [ "$root" == "hd7,msdos2" ]; then unset root ; root="sdh2" ; fi
if [ "$root" == "hd7,msdos3" ]; then unset root ; root="sdh3" ; fi
if [ "$root" == "hd7,msdos4" ]; then unset root ; root="sdh4" ; fi
if [ "$root" == "hd7,msdos5" ]; then unset root ; root="sdh5" ; fi
if [ "$root" == "hd7,msdos6" ]; then unset root ; root="sdh6" ; fi
if [ "$root" == "hd7,msdos7" ]; then unset root ; root="sdh7" ; fi
if [ "$root" == "hd7,msdos8" ]; then unset root ; root="sdh8" ; fi
if [ "$root" == "hd7,msdos9" ]; then unset root ; root="sdh9" ; fi
if [ "$root" == "hd8,msdos1" ]; then unset root ; root="sdi1" ; fi
if [ "$root" == "hd8,msdos2" ]; then unset root ; root="sdi2" ; fi
if [ "$root" == "hd8,msdos3" ]; then unset root ; root="sdi3" ; fi
if [ "$root" == "hd8,msdos4" ]; then unset root ; root="sdi4" ; fi
if [ "$root" == "hd8,msdos5" ]; then unset root ; root="sdi5" ; fi
if [ "$root" == "hd8,msdos6" ]; then unset root ; root="sdi6" ; fi
if [ "$root" == "hd8,msdos7" ]; then unset root ; root="sdi7" ; fi
if [ "$root" == "hd8,msdos8" ]; then unset root ; root="sdi8" ; fi
if [ "$root" == "hd8,msdos9" ]; then unset root ; root="sdi9" ; fi
if [ "$root" == "hd9,msdos1" ]; then unset root ; root="sdj1" ; fi
if [ "$root" == "hd9,msdos2" ]; then unset root ; root="sdj2" ; fi
if [ "$root" == "hd9,msdos3" ]; then unset root ; root="sdj3" ; fi
if [ "$root" == "hd9,msdos4" ]; then unset root ; root="sdj4" ; fi
if [ "$root" == "hd9,msdos5" ]; then unset root ; root="sdj5" ; fi
if [ "$root" == "hd9,msdos6" ]; then unset root ; root="sdj6" ; fi
if [ "$root" == "hd9,msdos7" ]; then unset root ; root="sdj7" ; fi
if [ "$root" == "hd9,msdos8" ]; then unset root ; root="sdj8" ; fi
if [ "$root" == "hd9,msdos9" ]; then unset root ; root="sdj9" ; fi
#Rebusque - Convertir "hd#,msdos#" en "sdX#" : FIN
linux (loop)/boot/syslinux/vmlinuz from=/mnt/"$root"/Porteus/Porteus-LXQT-v5.0-x86_64.iso kbd=es tz=localtime locale=es_VE.utf8 changes=EXIT:/mnt/"$root"/Porteus/Cambios/LXQT extramod=/mnt/"$root"/Porteus/Modulos copy2ram
echo "Cargando en la Memoria de Acceso Aleatorio..."
initrd (loop)/boot/syslinux/initrd.xz
}
menuentry 'PRUEBA -- LXQT [REQ : 256 MB RAM]' {
load_video
insmod part_msdos
insmod linux
insmod gzio
insmod ext2
search --set=root --fs-uuid 23b2374a-ee65-49dc-9abd-562449624a68 --hint hd0,msdos3
UUID="23b2374a-ee65-49dc-0abd-562449624a68"
echo "Raiz = ($root)"
echo "UUID = ($UUID)"
echo "Iniciando Porteus 5.0 [64 Bits] - LXQT"
#set isofile="($root)/Porteus/Porteus-LXQT-v5.0-x86_64.iso"
set isofile="/Porteus/Porteus-LXQT-v5.0-x86_64.iso"
export $isofile
loopback loop ($root)${isofile}
#Rebusque - Convertir "hd#,msdos#" en "sdX#" : INICIO
if [ "$root" == "hd0,msdos1" ]; then unset root ; root="sda1" ; fi
if [ "$root" == "hd0,msdos2" ]; then unset root ; root="sda2" ; fi
if [ "$root" == "hd0,msdos3" ]; then unset root ; root="sda3" ; fi
if [ "$root" == "hd0,msdos4" ]; then unset root ; root="sda4" ; fi
if [ "$root" == "hd0,msdos5" ]; then unset root ; root="sda5" ; fi
if [ "$root" == "hd0,msdos6" ]; then unset root ; root="sda6" ; fi
if [ "$root" == "hd0,msdos7" ]; then unset root ; root="sda7" ; fi
if [ "$root" == "hd0,msdos8" ]; then unset root ; root="sda8" ; fi
if [ "$root" == "hd0,msdos9" ]; then unset root ; root="sda9" ; fi
if [ "$root" == "hd1,msdos1" ]; then unset root ; root="sdb1" ; fi
if [ "$root" == "hd1,msdos2" ]; then unset root ; root="sdb2" ; fi
if [ "$root" == "hd1,msdos3" ]; then unset root ; root="sdb3" ; fi
if [ "$root" == "hd1,msdos4" ]; then unset root ; root="sdb4" ; fi
if [ "$root" == "hd1,msdos5" ]; then unset root ; root="sdb5" ; fi
if [ "$root" == "hd1,msdos6" ]; then unset root ; root="sdb6" ; fi
if [ "$root" == "hd1,msdos7" ]; then unset root ; root="sdb7" ; fi
if [ "$root" == "hd1,msdos8" ]; then unset root ; root="sdb8" ; fi
if [ "$root" == "hd1,msdos9" ]; then unset root ; root="sdb9" ; fi
if [ "$root" == "hd2,msdos1" ]; then unset root ; root="sdc1" ; fi
if [ "$root" == "hd2,msdos2" ]; then unset root ; root="sdc2" ; fi
if [ "$root" == "hd2,msdos3" ]; then unset root ; root="sdc3" ; fi
if [ "$root" == "hd2,msdos4" ]; then unset root ; root="sdc4" ; fi
if [ "$root" == "hd2,msdos5" ]; then unset root ; root="sdc5" ; fi
if [ "$root" == "hd2,msdos6" ]; then unset root ; root="sdc6" ; fi
if [ "$root" == "hd2,msdos7" ]; then unset root ; root="sdc7" ; fi
if [ "$root" == "hd2,msdos8" ]; then unset root ; root="sdc8" ; fi
if [ "$root" == "hd2,msdos9" ]; then unset root ; root="sdc9" ; fi
if [ "$root" == "hd3,msdos1" ]; then unset root ; root="sdd1" ; fi
if [ "$root" == "hd3,msdos2" ]; then unset root ; root="sdd2" ; fi
if [ "$root" == "hd3,msdos3" ]; then unset root ; root="sdd3" ; fi
if [ "$root" == "hd3,msdos4" ]; then unset root ; root="sdd4" ; fi
if [ "$root" == "hd3,msdos5" ]; then unset root ; root="sdd5" ; fi
if [ "$root" == "hd3,msdos6" ]; then unset root ; root="sdd6" ; fi
if [ "$root" == "hd3,msdos7" ]; then unset root ; root="sdd7" ; fi
if [ "$root" == "hd3,msdos8" ]; then unset root ; root="sdd8" ; fi
if [ "$root" == "hd3,msdos9" ]; then unset root ; root="sdd9" ; fi
if [ "$root" == "hd4,msdos1" ]; then unset root ; root="sde1" ; fi
if [ "$root" == "hd4,msdos2" ]; then unset root ; root="sde2" ; fi
if [ "$root" == "hd4,msdos3" ]; then unset root ; root="sde3" ; fi
if [ "$root" == "hd4,msdos4" ]; then unset root ; root="sde4" ; fi
if [ "$root" == "hd4,msdos5" ]; then unset root ; root="sde5" ; fi
if [ "$root" == "hd4,msdos6" ]; then unset root ; root="sde6" ; fi
if [ "$root" == "hd4,msdos7" ]; then unset root ; root="sde7" ; fi
if [ "$root" == "hd4,msdos8" ]; then unset root ; root="sde8" ; fi
if [ "$root" == "hd4,msdos9" ]; then unset root ; root="sde9" ; fi
if [ "$root" == "hd5,msdos1" ]; then unset root ; root="sdf1" ; fi
if [ "$root" == "hd5,msdos2" ]; then unset root ; root="sdf2" ; fi
if [ "$root" == "hd5,msdos3" ]; then unset root ; root="sdf3" ; fi
if [ "$root" == "hd5,msdos4" ]; then unset root ; root="sdf4" ; fi
if [ "$root" == "hd5,msdos5" ]; then unset root ; root="sdf5" ; fi
if [ "$root" == "hd5,msdos6" ]; then unset root ; root="sdf6" ; fi
if [ "$root" == "hd5,msdos7" ]; then unset root ; root="sdf7" ; fi
if [ "$root" == "hd5,msdos8" ]; then unset root ; root="sdf8" ; fi
if [ "$root" == "hd5,msdos9" ]; then unset root ; root="sdf9" ; fi
if [ "$root" == "hd6,msdos1" ]; then unset root ; root="sdg1" ; fi
if [ "$root" == "hd6,msdos2" ]; then unset root ; root="sdg2" ; fi
if [ "$root" == "hd6,msdos3" ]; then unset root ; root="sdg3" ; fi
if [ "$root" == "hd6,msdos4" ]; then unset root ; root="sdg4" ; fi
if [ "$root" == "hd6,msdos5" ]; then unset root ; root="sdg5" ; fi
if [ "$root" == "hd6,msdos6" ]; then unset root ; root="sdg6" ; fi
if [ "$root" == "hd6,msdos7" ]; then unset root ; root="sdg7" ; fi
if [ "$root" == "hd6,msdos8" ]; then unset root ; root="sdg8" ; fi
if [ "$root" == "hd6,msdos9" ]; then unset root ; root="sdg9" ; fi
if [ "$root" == "hd7,msdos1" ]; then unset root ; root="sdh1" ; fi
if [ "$root" == "hd7,msdos2" ]; then unset root ; root="sdh2" ; fi
if [ "$root" == "hd7,msdos3" ]; then unset root ; root="sdh3" ; fi
if [ "$root" == "hd7,msdos4" ]; then unset root ; root="sdh4" ; fi
if [ "$root" == "hd7,msdos5" ]; then unset root ; root="sdh5" ; fi
if [ "$root" == "hd7,msdos6" ]; then unset root ; root="sdh6" ; fi
if [ "$root" == "hd7,msdos7" ]; then unset root ; root="sdh7" ; fi
if [ "$root" == "hd7,msdos8" ]; then unset root ; root="sdh8" ; fi
if [ "$root" == "hd7,msdos9" ]; then unset root ; root="sdh9" ; fi
if [ "$root" == "hd8,msdos1" ]; then unset root ; root="sdi1" ; fi
if [ "$root" == "hd8,msdos2" ]; then unset root ; root="sdi2" ; fi
if [ "$root" == "hd8,msdos3" ]; then unset root ; root="sdi3" ; fi
if [ "$root" == "hd8,msdos4" ]; then unset root ; root="sdi4" ; fi
if [ "$root" == "hd8,msdos5" ]; then unset root ; root="sdi5" ; fi
if [ "$root" == "hd8,msdos6" ]; then unset root ; root="sdi6" ; fi
if [ "$root" == "hd8,msdos7" ]; then unset root ; root="sdi7" ; fi
if [ "$root" == "hd8,msdos8" ]; then unset root ; root="sdi8" ; fi
if [ "$root" == "hd8,msdos9" ]; then unset root ; root="sdi9" ; fi
if [ "$root" == "hd9,msdos1" ]; then unset root ; root="sdj1" ; fi
if [ "$root" == "hd9,msdos2" ]; then unset root ; root="sdj2" ; fi
if [ "$root" == "hd9,msdos3" ]; then unset root ; root="sdj3" ; fi
if [ "$root" == "hd9,msdos4" ]; then unset root ; root="sdj4" ; fi
if [ "$root" == "hd9,msdos5" ]; then unset root ; root="sdj5" ; fi
if [ "$root" == "hd9,msdos6" ]; then unset root ; root="sdj6" ; fi
if [ "$root" == "hd9,msdos7" ]; then unset root ; root="sdj7" ; fi
if [ "$root" == "hd9,msdos8" ]; then unset root ; root="sdj8" ; fi
if [ "$root" == "hd9,msdos9" ]; then unset root ; root="sdj9" ; fi
#Rebusque - Convertir "hd#,msdos#" en "sdX#" : FIN
#linux (loop)/boot/syslinux/vmlinuz from=${isofile} kbd=es tz=localtime locale=es_VE.utf8 changes=EXIT:/mnt/"$root"/Porteus/Cambios/LXQT extramod=/mnt/"$root"/Porteus/Modulos root=/dev/ram0 copy2ram
linux (loop)/boot/syslinux/vmlinuz from=${isofile} kbd=es tz=localtime locale=es_VE.utf8 changes=EXIT:/mnt/$root/Porteus/Cambios/LXQT extramod=/mnt/$root/Porteus/Modulos root=/dev/ram0 copy2ram
echo "Cargando en la Memoria de Acceso Aleatorio..."
initrd (loop)/boot/syslinux/initrd.xz
}
menuentry "Regresar al menú principal" {
configfile ${prefix}/grub.cfg
}
}
submenu "Cambiar Fondo" {
insmod regexp
insmod png
echo "Obteniendo lista de archivo de : \"($prefix)/grub/images\". Espera, por favor..."
for file in /grub/images/*; do
if ! test -f "$file"; then continue; fi
if [ "$file" == "/grub/images/${bg}" ]; then continue; fi
regexp -s filename "/grub/images/(.*)" "$file"
if [ -z "$havefile" ]; then set havefile="1"; fi
menuentry "${filename}" {
bg="$1"
background_image "${prefix}/images/${bg}"
save_env bg
#configfile ${prefix}/grub.cfg
}
done
if [ -z "$havefile" ]; then
echo "Por favor, coloque todos sus Fondos PNG, JPG & JPEG en la carpeta \"${prefix}/images\"."
else
unset havefile
menuentry "Regresar al menú principal" {
configfile ${prefix}/grub.cfg
}
fi
unset filename
}
submenu 'Antiguas Entradas (Solo quedan a modo de Ejemplo) [64 Bits]' {
menuentry "Regresar al menú principal" {
configfile ${prefix}/grub.cfg
}
menuentry 'Slacko 64 - Puppy Linux 7.0' {
insmod part_msdos
insmod ext2
insmod gzio
#el "UUID=33fbd5e1-3b92-4e34-bb28-8583270c644f"
#era de la particion "6" con etiqueta "PuppySlacko"
search --set root -u 33fbd5e1-3b92-4e34-bb28-8583270c644f
#Puppy va a buscar siempre sus archivos "vmlinuz" e "initrd.gz" en la particion
#que se le especifique como "raiz"
#Luego buscara los archivos restantes de la distro para iniciarla :
search.fs_uuid 33fbd5e1-3b92-4e34-bb28-8583270c644f
set gfxpayload=keep
linux /vmlinuz pfix=copy,fsck pmedia=usb psubdir=/
initrd /initrd.gz
}
menuentry 'Debian 8.0 - Nicolas ISO Personalizada (64 Bits)' {
load_video
insmod gzio
insmod ext2
insmod part_msdos
insmod loopback
insmod iso9660
search --set root -u 23b2374a-ee65-49dc-9abd-562449624a68
set isofile="Debian8Nicolas.iso"
set gfxpayload=keep
loopback loop (hd0,msdos7)/$isofile
echo 'Cargando Linux 3.16.0-6-amd64...'
linux (loop)/boot/vmlinuz-3.16.0-6-amd64 boot=live iso-scan/filename=$isofile noprompt noeject
echo 'Cargando imagen de memoria inicial...'
initrd (loop)/boot/initrd.img-3.16.0-6-amd64
}
menuentry "Regresar al menú principal" {
configfile ${prefix}/grub.cfg
}
}
if [ "$grub_platform" = "efi" ]; then
menuentry 'Iniciar desde el siguiente volumen' {
exit 1
}
menuentry 'UEFI - Configurar Firmware' {
fwsetup
}
else
menuentry 'Probar Memoria RAM' {
linux16 /boot/memtest86+.bin
}
fi
i am using the entry "PRUEBA -- LXQT [REQ : 256 MB RAM]"
and well i just gonna to make some test like delete my workaround for change root variable value from example (hd0,msdos3) to sda3, i need a better command for mount the third partition no matter if sda3, sdc3, sdz3 for make porteus automount the folders i need to use.
just ignore the entries like "Cambiar Fondo" is just for chage image background, in some point i lost the entry i was make to change the font and save the change.
i just need ideas for had a better form to mount the third partition of usb after porteus found it config file but before try to mount the modules folders