LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-18-2019, 03:43 PM   #16
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,442

Rep: Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549

Quote:
I used the liveslak efi/boot/grub-embedded.cfg
did you edit the file to
Code:
 search --file --no-floppy --set=root efi/boot/SLACKERC
?
 
Old 07-18-2019, 04:23 PM   #17
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
no I used
Quote:
search --file --set=root /EFI/BOOT/SLACKERC
set prefix=($root)/EFI/BOOT/
 
Old 07-18-2019, 05:40 PM   #18
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,442

Rep: Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549
Congratulations, It works in efi mode both dd and on a fat32 partition. "If it works don't fix-it" is my motto

Last edited by colorpurple21859; 07-18-2019 at 06:06 PM.
 
1 members found this post helpful.
Old 07-18-2019, 05:46 PM   #19
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
awesome thank you very much!
oh, because I'm uncertain of the upload can you see if there is a sgd (super grub2 disk) in /boot/grub?
I meant to include this and did on latest iso
https://www.linuxquestions.org/quest...em-4175657567/

I wonder if sgd can be accessed thru isolinux/syslinux menu?
 
Old 07-18-2019, 06:14 PM   #20
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,442

Rep: Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549
This is all that is in /boot/grub: bootlogo.png fonts grub.cfg grubenv i386-pc locale themes x86_64-efi. In /boot:bootinst.bat extlinux.x64 hdkernel mbr.bin syslinux vmlinuz
bootinst.sh grub initrfs.img plpbt syslinux.com
extlinux.x32 grub.exe isolinux pxelinux.0 syslinux.exe
 
Old 07-18-2019, 07:54 PM   #21
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
ok sorry I mustve been rsyncing to sourceforge, the one now has the sdg stuff

also, when I used cp command to install to iso it shows this

Code:
Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1  *        0 5410815 5410816  2.6G  0 Empty
/dev/sdb2         476    3355    2880  1.4M ef EFI (FAT-12/16/32)

sdb      8:16   1  14.5G  0 disk 
├─sdb1   8:17   1   2.6G  0 part /run/initramfs/memory/data
└─sdb2   8:18   1   1.4M  0 part
weird huh?

Hey you installed to fat32 using rufus or what?
thanks Im gonna work on roninos bullseye now same as you said just editing
 
Old 07-18-2019, 08:24 PM   #22
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,442

Rep: Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549
I used rufus, for some reason syslinux seams to give me trouble otherwise for some reason or another.

Quote:
also, when I used cp command to install to iso it shows this I
I have seen something like that before with offical live isos
 
1 members found this post helpful.
Old 07-18-2019, 08:48 PM   #23
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
ok thanks colorpurple21859

when you used syslinux was it from a slackware install or other?

I wish I could figure out how to make roninos and slacker boot from iso via grub like the GRML isos using loop you know but so far no dice on any iso, isohybrid, isohybrid -u and when I try try to make a grub iso using grub-mkrescue it says missing something grub_strncpy and shows a grub command line, when I copy iso contents to usb fat32 or ext4 and install grub it works fine...

I want to make a all-in-one iso dd, cp, copy to fat32/ext4 usb, efi, loop boot from iso, etc
so far I've got grub, isolinux, syslinux, extlinux, efi now working

oh very important, when you booted in efi mode did it boot kernel/initrd from /EFI/BOOT or /boot ??
 
Old 07-18-2019, 10:55 PM   #24
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,442

Rep: Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549
Quote:
when you used syslinux was it from a slackware install or other?
Regardless of distro for me it is hit and miss on getting syslinux to work. I never really took the time to learn the ins and outs of syslinux, as I prefer grub2 as it more versatle in my opinion

Quote:
oh very important, when you booted in efi mode did it boot kernel/initrd from /EFI/BOOT or /boot ??
It is using the /EFI/BOOT/grub.cfg file loads kernel/initrd from /boot the best I can tell.

Last edited by colorpurple21859; 07-18-2019 at 10:58 PM.
 
1 members found this post helpful.
Old 07-18-2019, 11:09 PM   #25
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
thanks!
I just discovered how to boot iso from hard drive/usb using grub2 loop like GRML without extracting iso
I'll hit you up in morning with slackerc post on how I got it working
 
Old 07-18-2019, 11:19 PM   #26
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
ok I extracted from the GRML testing iso loopback.cfg, boot.img, grub.img put all that in /boot/grub and edited loopback.cfg to say
Quote:
## grub2 loopback configuration
source /boot/grub/grub.cfg
then added this entry to my hard drive grub.cfg

Code:
menuentry "Slackerc Loop" {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  8c93d1f6-eeff-4bba-a743-838f86fd114a
        else
          search --no-floppy --fs-uuid --set=root 8c93d1f6-eeff-4bba-a743-838f86fd114a
        fi
        iso_path="/boot/Slackerc-current-071919-x86_64.iso"
        export iso_path
        kernelopts="   "
        export kernelopts
        loopback loop "/boot/Slackerc-current-071919-x86_64.iso"
        set root=(loop)
        configfile /boot/grub/loopback.cfg
}
then it booted grub.cfg for iso
choose e for edit default slackerc boot then edit command line and say "from=/boot/Slackerc-current-071919-x86_64.iso"

and it boots off hard drive will be uploading new iso in morning

Last edited by linus72; 07-18-2019 at 11:21 PM.
 
Old 07-18-2019, 11:32 PM   #27
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
new iso loop efi all that uploading now 071919 colorpurple21859
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How To: Remastering Debian Stretch/Buster using Linux-live-debian-050419 into a Live CD/DVD/USB/HDD linus72 Debian 1 10-14-2019 01:25 PM
bullseye djk44883 Debian 2 07-10-2019 08:51 AM
LXer: Debian 11 "Bullseye" and Debian 12 "Bookworm" Are Coming After Debian 10 "Buster" LXer Syndicated Linux News 0 04-18-2018 12:26 PM
slax or slackware remastering saied Slackware 1 12-10-2005 10:20 AM
Slax remastering help cheetahman Slackware 48 08-16-2005 12:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration