LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-22-2019, 06:53 PM   #1
mercersp
LQ Newbie
 
Registered: May 2019
Location: New Jersey
Distribution: Slackware
Posts: 5

Rep: Reputation: Disabled
I want to create a Slackware tools DVD that will boot BIOS and UEFI


I want to create a Slackware tools DVD that will boot BIOS and UEFI. I created a directory for staging and copied all of the slackwareX64 DVD into it excluding Slackware64 (all the packages). I then added by own directory of tools. I searched several threads on how to recreate the DVD. I then used mkisofs to create an ISO. After I burn it to DVD it will boot UEFI and I press ENTER to the “Slackware 14.2 huge.s kernel” message. I get the “Loading huge.s kernel and installer initrd. Please wait…”. After several seconds I get “error: failure reading sector 0x15ed0 from ‘cd0’.”
I have tried several examples from threads that give me the same result. I even downloaded xorriso and tried several examples from other threads. I think I must be missing some small detail but I can’t seem to get to the correct arguments for mkisofs or xorriso to make this work.
I’m using a Dell OptiPlex 3020 that boots the original SlackwareX64 DVD in both BOIS and UEFI.
can anyone point me to the correct arguments for mkisofs?
 
Old 05-22-2019, 07:28 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
https://www.linuxquestions.org/quest...6/#post5409238
http://www.playwithtransistors.com/i...efi-boot-stick
https://docs.slackware.com/howtos:sl..._uefi_hardware

The first link definitely works for me. The next two essentially say the same thing.
 
Old 05-22-2019, 07:56 PM   #3
mercersp
LQ Newbie
 
Registered: May 2019
Location: New Jersey
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: Disabled
unfortunately my end result needs to be a DVD

unfortunately my end result needs to be a DVD. i can't use any USB flash devices. i need to burn a DVD with these new tools on it. is it possible to create a DVD that will perform the same way
 
Old 05-22-2019, 08:41 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
This how to do the efi part of it with your /boot/syslinux and isolinux already setup. If your dvd already boots in legacy mode for efi mode extract the contents back out then:

1. Make A EfI/BOOT with your grub.cfg and a grub-embedded.cfg file
in the same directory your dvd boot directory is in.
2. Edited the EFI/BOOT/grub-embedded.cfg to search for a unique filename or directory similar to this
Code:
search --file --set=root /<unigue directory/filename
set prefix=($root)/EFI/BOOT/
so the when the dvd boots it can find EFI/BOOT. I've been helping linus72 with the slackerlive that linus72 has been working on to boot in efi mode, I used
Code:
search --file --set=root /Slacker/vmlinuz
set prefix=($root)/EFI/BOOT/
The Slackware64 install uses
Code:
search --file --set=root /kernels/huge.s/bzImage
set prefix=($root)/EFI/BOOT/
as examples

3. Download the /EFI/BOOT/make-grub.sh from Alien Bob liveslak repository and put it in the DVD EFI/BOOT/.

4. cd to the dvd EFI/BOOT and run the make-grub.sh. The make-grub.sh builds the /EFI/BOOT/bootx64.efi and creates a efiboot.img and copies it to /boot/syslinux/

5. use mkisofs with this
Code:
/usr/bin/mkisofs -o /home/live/slack/slackefi.iso -v -J -hide-rr-moved -R -d -N -A slackerefi -V slackerefi -no-emul-boot -boot-info-table -boot-load-size 4 -b boot/isolinux/isolinux.bin -c boot/isolinux/isolinux.boot -eltorito-alt-boot -eltorito-platform 0xEF -eltorito-boot boot/syslinux/efiboot.img -no-emul-boot
.

Run isohybrid twice on the iso. first with out any switches the second time isohybrid -u dvd.iso

Last edited by colorpurple21859; 05-23-2019 at 03:39 AM.
 
1 members found this post helpful.
Old 05-23-2019, 08:04 PM   #5
mercersp
LQ Newbie
 
Registered: May 2019
Location: New Jersey
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: Disabled
i started with a fresh "full" slackware install (wiping the old out). i created "/iso/disk1". i copied the entire slackwarex64 DVD into disk1. i created a script so that i can modify/repeat until i get it correct. i downloaded alian bob's make-grub.sh and put it in the root along with go.sh. i ran it capturing the output into output.txt. i kept the third option "unmodified" grub-embedded.cfg

i still get the same thing when booting. it produces this message several seconds after pressing ENTER to the grub menu: “error: failure reading sector 0x15ed0 from ‘cd0’.”

i'm not exactly a newbie. i started using slackware when it came out on floppies. this is the first time in 25 years i have needed extra help! i totally appreciate all your help

go.sh
#!/bin/bash

if [ "$1" == "setup" ]
then
# start clean
rm -fr /iso/disk1
mkdir /iso/disk1
read -p "insert the slackwarex64 DVD >" KBD
mount /dev/sr0 /mnt
# copy everything
cp -r /mnt/* /iso/disk1
umount /mnt
else
ls -l /iso/disk1
# copy alian bob's make-grub.sh
cp /make-grub.sh /iso/disk1/EFI/BOOT
cd /iso/disk1/EFI/BOOT
./make-grub.sh
ls -l ../../boot/syslinux

cd /iso/disk1
mkisofs -o ../disk1.iso \
-v -J \
-hide-rr-moved \
-R -d -N \
-A Slackerefi \
-V Slackerefi \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-b isolinux/isolinux.bin \
-c isolinux/isolinux.boot \
-eltorito-alt-boot -eltorito-platform 0xEF -eltorito-boot boot/syslinux/efiboot.img -no-emul-boot \
-x extra \
-x slackware64 \
-x slackbook \
.

isohybrid -v /iso/disk1.iso
isohybrid -v -u /iso/disk1.iso

cdrecord dev=/dev/sr0 -sao /iso/disk1.iso
fi

output.txt
total 2428
-rw-r--r-- 1 root root 10064 May 23 14:25 ANNOUNCE.14_2
-rw-r--r-- 1 root root 12785 May 23 14:25 CHANGES_AND_HINTS.TXT
-rw-r--r-- 1 root root 380398 May 23 14:25 CHECKSUMS.md5
-rw-r--r-- 1 root root 181 May 23 14:25 CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 17976 May 23 14:25 COPYING
-rw-r--r-- 1 root root 35147 May 23 14:25 COPYING3
-rw-r--r-- 1 root root 19573 May 23 14:25 COPYRIGHT.TXT
-rw-r--r-- 1 root root 616 May 23 14:25 CRYPTO_NOTICE.TXT
-rw-r--r-- 1 root root 342163 May 23 14:25 ChangeLog.txt
drwxr-xr-x 3 root root 4096 May 23 14:25 EFI
-rw-r--r-- 1 root root 462982 May 23 14:25 FILELIST.TXT
-rw-r--r-- 1 root root 1572 May 23 14:25 GPG-KEY
-rw-r--r-- 1 root root 704195 May 23 14:25 PACKAGES.TXT
-rw-r--r-- 1 root root 8564 May 23 14:25 README.TXT
-rw-r--r-- 1 root root 3654 May 23 14:25 README.initrd
-rw-r--r-- 1 root root 34463 May 23 14:25 README_CRYPT.TXT
-rw-r--r-- 1 root root 8751 May 23 14:25 README_LVM.TXT
-rw-r--r-- 1 root root 19658 May 23 14:25 README_RAID.TXT
-rw-r--r-- 1 root root 7929 May 23 14:25 README_UEFI.TXT
-rw-r--r-- 1 root root 202849 May 23 14:25 READ_DVD.TXT
-rw-r--r-- 1 root root 6166 May 23 14:25 RELEASE_NOTES
-rw-r--r-- 1 root root 13855 May 23 14:25 SPEAKUP_DOCS.TXT
-rw-r--r-- 1 root root 17294 May 23 14:25 SPEAK_INSTALL.TXT
-rw-r--r-- 1 root root 57632 May 23 14:25 Slackware-HOWTO
-rw-r--r-- 1 root root 6688 May 23 14:25 UPGRADE.TXT
drwxr-xr-x 3 root root 4096 May 23 15:02 boot
drwxr-xr-x 17 root root 4096 May 23 14:25 extra
-rw-r--r-- 1 root root 10556 May 23 16:45 go.out
-rwxr-xr-x 1 root root 897 May 23 16:45 go.sh
drwxr-xr-x 3 root root 4096 May 23 14:25 isolinux
drwxr-xr-x 5 root root 4096 May 23 14:25 kernels
drwxr-xr-x 3 root root 4096 May 23 14:25 pasture
drwxr-xr-x 3 root root 4096 May 23 14:25 slackbook
drwxr-xr-x 2 root root 4096 May 23 15:01 slackware64
drwxr-xr-x 4 root root 4096 May 23 14:29 testing
drwxr-xr-x 2 root root 4096 May 23 14:29 usb-and-pxe-installers

Building /EFI/BOOT/bootx64.efi and /boot/syslinux/efiboot.img.
>> gfxterm_background not found
>> disk not found
>> nativedisk not found
>> file not found
>> efifwsetup not found
1440+0 records in
1440+0 records out
1474560 bytes (1.5 MB, 1.4 MiB) copied, 0.00636897 s, 232 MB/s
mkfs.fat 3.0.28 (2015-05-16)

Done building /EFI/BOOT/bootx64.efi and /boot/syslinux/efiboot.img.
total 1440
-rw-r--r-- 1 root root 1474560 May 23 16:48 efiboot.img
Warning: creating filesystem that does not conform to ISO-9660.
Setting input-charset to 'ISO-8859-1' from locale.
3.01-fix-20151126 (x86_64-unknown-linux-gnu)
Scanning .
Scanning ./EFI
Scanning ./EFI/BOOT
Scanning ./usb-and-pxe-installers
Scanning ./kernels
Scanning ./kernels/huge.s
Scanning ./kernels/speakup.s
Scanning ./kernels/memtest
Excluded by match: ./slackbook
Scanning ./testing
Scanning ./testing/packages
Scanning ./testing/source
Scanning ./testing/source/linux-4.6-configs
Scanning ./testing/source/tmux
Scanning ./testing/source/efibootmgr
Scanning ./boot
Scanning ./boot/syslinux
Scanning ./pasture
Scanning ./pasture/source
Scanning ./pasture/source/xfce4-mixer
Scanning ./pasture/source/xfce4-volumed
Scanning ./pasture/source/apmd
Excluded by match: ./slackware64
Excluded by match: ./extra
Scanning ./isolinux
Excluded by match: ./isolinux/isolinux.boot
Scanning ./isolinux/sbootmgr
Using RAWRI000.EXE for ./isolinux/sbootmgr/RAWRITE13.EXE (RAWRITE12.EXE)
Writing: Initial Padblock Start Block 0
Done with: Initial Padblock Block(s) 16
Writing: Primary Volume Descriptor Start Block 16
Done with: Primary Volume Descriptor Block(s) 1
Writing: Eltorito Volume Descriptor Start Block 17
Size of boot image is 4 sectors -> No emulation
Size of boot image is 2880 sectors -> No emulation
Done with: Eltorito Volume Descriptor Block(s) 1
Writing: Joliet Volume Descriptor Start Block 18
Done with: Joliet Volume Descriptor Block(s) 1
Writing: End Volume Descriptor Start Block 19
Done with: End Volume Descriptor Block(s) 1
Writing: Version block Start Block 20
Done with: Version block Block(s) 1
Writing: Path table Start Block 21
Done with: Path table Block(s) 4
Writing: Joliet path table Start Block 25
Done with: Joliet path table Block(s) 4
Writing: Directory tree Start Block 29
Done with: Directory tree Block(s) 26
Writing: Joliet directory tree Start Block 55
Done with: Joliet directory tree Block(s) 23
Writing: Directory tree cleanup Start Block 78
Done with: Directory tree cleanup Block(s) 0
Writing: Extension record Start Block 78
Done with: Extension record Block(s) 1
Writing: The File(s) Start Block 79
6.72% done, estimate finish Thu May 23 16:48:04 2019
13.44% done, estimate finish Thu May 23 16:48:04 2019
20.14% done, estimate finish Thu May 23 16:48:04 2019
26.89% done, estimate finish Thu May 23 16:48:04 2019
33.59% done, estimate finish Thu May 23 16:48:04 2019
40.32% done, estimate finish Thu May 23 16:48:04 2019
47.02% done, estimate finish Thu May 23 16:48:04 2019
53.72% done, estimate finish Thu May 23 16:48:04 2019
60.42% done, estimate finish Thu May 23 16:48:04 2019
67.15% done, estimate finish Thu May 23 16:48:04 2019
73.85% done, estimate finish Thu May 23 16:48:04 2019
80.60% done, estimate finish Thu May 23 16:48:04 2019
87.30% done, estimate finish Thu May 23 16:48:04 2019
94.00% done, estimate finish Thu May 23 16:48:04 2019
Total translation table size: 2048
Total rockridge attributes bytes: 16825
Total directory bytes: 47104
Path table size(bytes): 342
Done with: The File(s) Block(s) 74249
Writing: Ending Padblock Start Block 74328
Done with: Ending Padblock Block(s) 150
Max brk space used 38000
74478 extents written (145 MB)
catalogue offset: 79
ve[0]: 1, cs: 1
ve[1]: 0, cs: 1
ve[2]: 0, cs: 1
ve[3]: 0, cs: 1
ve[4]: 0, cs: 1
ve[5]: 0, cs: 1
ve[6]: 0, cs: 1
ve[7]: 0, cs: 1
ve[8]: 0, cs: 1
ve[9]: 0, cs: 1
ve[10]: 0, cs: 1
ve[11]: 0, cs: 1
ve[12]: 0, cs: 1
ve[13]: 0, cs: 1
ve[14]: 21930, cs: 21931
ve[15]: 43605, cs: 65536
de_boot: 136
de_media: 0
de_seg: 0
de_sys: 0
de_mbz1: 0
de_count: 4
de_lba: 800
de_mbz2: 0
imgsize: 152530944, padding: 561152
random id: 174647845
sizeof(MBR): 512 bytes
0000 33 ed 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |3...............|
0016 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |................|
0032 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
0048 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
0064 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
0080 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
0096 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
0112 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
0128 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
0144 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |D.....f@.....f.>|
0160 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
0176 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
0192 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
0208 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
0224 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
0240 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
0256 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
0272 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
0288 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
0304 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
0320 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
0336 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0352 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0368 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0384 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0416 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0432 80 0c 00 00 00 00 00 00 25 ea 68 0a 00 00 80 00 |........%.h.....|
0448 01 00 17 3f 20 91 00 00 00 00 00 90 04 00 00 00 |...? ...........|
0464 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0496 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
catalogue offset: 79
ve[0]: 1, cs: 1
ve[1]: 0, cs: 1
ve[2]: 0, cs: 1
ve[3]: 0, cs: 1
ve[4]: 0, cs: 1
ve[5]: 0, cs: 1
ve[6]: 0, cs: 1
ve[7]: 0, cs: 1
ve[8]: 0, cs: 1
ve[9]: 0, cs: 1
ve[10]: 0, cs: 1
ve[11]: 0, cs: 1
ve[12]: 0, cs: 1
ve[13]: 0, cs: 1
ve[14]: 21930, cs: 21931
ve[15]: 43605, cs: 65536
de_boot: 136
de_media: 0
de_seg: 0
de_sys: 0
de_mbz1: 0
de_count: 4
de_lba: 800
de_mbz2: 0
imgsize: 153092096, padding: 0
id: 174647845
sizeof(MBR): 512 bytes
0000 33 ed 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |3...............|
0016 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |................|
0032 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
0048 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
0064 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
0080 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
0096 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
0112 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
0128 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
0144 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |D.....f@.....f.>|
0160 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
0176 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
0192 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
0208 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
0224 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
0240 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
0256 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
0272 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
0288 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
0304 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
0320 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
0336 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0352 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0368 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0384 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0416 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0432 80 0c 00 00 00 00 00 00 25 ea 68 0a 00 00 80 00 |........%.h.....|
0448 01 00 00 3f 20 91 00 00 00 00 00 90 04 00 00 fe |...? ...........|
0464 ff ff ef fe ff ff 40 01 00 00 40 0b 00 00 00 00 |......@...@.....|
0480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0496 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
Cdrecord-ProDVD-ProBD-Clone 3.01 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2015 Joerg Schilling
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'PLDS '
Identifikation : 'DVD+-RW DH-16AES'
Revision : 'DD11'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD/BD at speed 48 in real SAO mode for single session.
Last chance to quit, starting real write in 9 seconds. 8 seconds. 7 seconds. 6 seconds. 5 seconds. 4 seconds. 3 seconds. 2 seconds. 1 seconds. 0 seconds. Operation starts.cdrecord: WARNING: Drive returns wrong startsec (0) using -150

Track 01: Total bytes read/written: 153092096/153092096 (74752 sectors).
 
Old 05-23-2019, 09:58 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
What slackware64 dvd are you using? The slackware64-14.2 that I downloaded about a week ago doesn't have a /boot/syslinux directory that would have been copied to /iso/disk1. When I run the script manually I get
Code:
cannot move 'efiboot.img' to '../../boot/syslinux/': No such file or directory
at the
Code:
/make-grub.sh
line
Maybe edit the make-grub.sh to copy the efiboot.img to ../../isolinux
 
Old 05-23-2019, 10:29 PM   #7
mercersp
LQ Newbie
 
Registered: May 2019
Location: New Jersey
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: Disabled
alian bob's script had that directory so i manually created it. the mkisofs command also had that path so i kept it the same

ill have to wait until work tomorrow. ill chacge it as you suggested and run it again.

Last edited by mercersp; 05-23-2019 at 10:42 PM.
 
Old 05-24-2019, 01:30 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Everyone these days seems to borrow my "make-grub.sh" without bothering to look inside. It is a modification of the script with the same name in Slackware itself, for the purpose of getting it to work for my liveslak (Slackware Live Edition) scripts. If it works for your case, that is very nice. If not, just look inside the script to find what it does and where it gets / puts files. The script is fairly short.

Also, when you post hundreds of lines of computer output here on LQ, please use the CODE tags to make that post bearable and readable!

And finally, I am curious. Do you want to create a version of the Slackware installation DVD with extra tools added (which would only be useful during installation), or do you want a "live" environment of Slackware with extra tools available when you boot off the DVD? In the latter case, you could use my liveslak scripts to generate such a DVD Live ISO containing Slackware plus the additional tools you'd need
 
1 members found this post helpful.
Old 05-24-2019, 07:14 AM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Quote:
Warning: creating filesystem that does not conform to ISO-9660.
What is causing this error?
 
Old 05-24-2019, 08:54 AM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
What is causing this error?
One of the options used in the mkisofs command. But it's just a warning, don't worry about that.
 
Old 05-24-2019, 09:26 AM   #11
mercersp
LQ Newbie
 
Registered: May 2019
Location: New Jersey
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: Disabled
the warning: Warning: creating filesystem that does not conform to ISO-9660. is caused by arguments in mkisofs command. no mater what example i use this warning is produced.

as Alian Bob mentioned: yes i could use his live version. i would have to strip out most of what is in it.

the tool i am working with is a disk image installer. it was created in 1997 to install WIndows NT 4.0 on an internal asset in a VXI card cage. the image files i.e. .gz files are read from a mageto optical disk on VMS and FTPed to the internal asset. this imaging tool has come a long way since then. the only boot drive "other than the internal HD" is floppies. so i created, reworked, the Slackware boot floppies to run on the internal asset. this is currently in use today and will likly continue passed 2022.

i would prefer to keep going with my current boot CD. it is a striped down Slackware DVD. these are the only packages i use:
"file-5.25-i586-1,infozip-6.0-i486-3,sdparm-1.10-i586-1,cdrtools-3.01-i586-3,dvd+rw-tools-7.1-i486-2,lsscsi-0.28-i486-1,binutils-2.26-i586-3,gcc-5.3.0-i586-3,kernel-headers-4.4.14_smp-x86-1,glibc-2.23-i586-1,libmpc-1.0.3-i486-1".

when taking an image it burns CD, DVD or BDs. the first disk beinig bootable. as cyber security moves forward we are starting to use UEFI and fully encrypted hard drives. i have alwyse been two steps ahead of the cyber security gods.

i added aescrypt several versions ago. i just added shc to converted and scripts to binary. it is optional to encrypt the .gz files, for now.

i edited the make-grub.sh, removed /iso/disk1/boot and reran go.sh. the burned CD will not load. i still get the read error
 
  


Reply



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
[SOLVED] Trying to boot Ubuntu in UEFI mode, UEFI doesn't recognize boot devices Sarcutus Ubuntu 11 01-11-2019 07:14 PM
Mobo only supports uefi boot - how do I boot off a non-uefi cd? Ulysses_ Linux - Hardware 3 02-25-2016 08:06 PM
BIOS, UEFI & CSM Boot, GRUB and/or LILO and Windows/Linux Dual Boot rm_-rf_windows Linux - General 4 11-10-2014 08:30 AM
Help Creating UEFI A MENU For My Bootable (BIOS/UEFI) CDROM ssenuta Linux - Hardware 0 08-27-2012 09:11 PM

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

All times are GMT -5. The time now is 02:52 AM.

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
Open Source Consulting | Domain Registration