Building Blocks
Re: Building Blocks
So I take it you're just trying things out?
But what do you want to change?
I can't say for everyone, but for me Slackware's live script is lacking many critical things:
no copy2ram (and AlienBob stated that he's not interested in this feature)
modules from subdirectories aren't loaded and probably module names cannot contain spaces (I've added this for the initrd.img I posted here, but still)
no proprietary drivers now (as I understand, he was asked to remove it)
unable to use UUID to determine boot media
there's probably more, but these reasons were enough for me.
And it's being modified, so it's not a good idea to change something alongside (hope you understand what I'm trying to say =) )
But if I can be of assistance with adding some new feature or improving something, just tell me and I'll try... =)
But what do you want to change?
I can't say for everyone, but for me Slackware's live script is lacking many critical things:
no copy2ram (and AlienBob stated that he's not interested in this feature)
modules from subdirectories aren't loaded and probably module names cannot contain spaces (I've added this for the initrd.img I posted here, but still)
no proprietary drivers now (as I understand, he was asked to remove it)
unable to use UUID to determine boot media
there's probably more, but these reasons were enough for me.
And it's being modified, so it's not a good idea to change something alongside (hope you understand what I'm trying to say =) )
But if I can be of assistance with adding some new feature or improving something, just tell me and I'll try... =)
Suggestions/corrections/additions are always welcome.
-
- Full of knowledge
- Posts: 2104
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: Building Blocks
Hello Bogomips
I tried to download your iso.....speed: 30KB sec ~1.5 Hours...no way...will try again at weekend.
Hmmm....How about to make your iso "isohybrid" and then dd it onto a flash.
Should be the same as if one burn a real CD.
(if it isn't already in isohybrid format).
"Are the Drives recognized?": use
root@localhost:~# dmesg | grep sr
[ 1.122241] sr0: scsi3-mmc drive: 48x/16x cd/rw xa/form2 cdda tray
[ 1.122387] sr 4:0:0:0: Attached scsi CD-ROM sr0
[ 1.126768] sr1: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
[ 1.126890] sr 4:0:1:0: Attached scsi CD-ROM sr1
root@localhost:~#
I tried to download your iso.....speed: 30KB sec ~1.5 Hours...no way...will try again at weekend.
Hmmm....How about to make your iso "isohybrid" and then dd it onto a flash.
Should be the same as if one burn a real CD.
(if it isn't already in isohybrid format).
"Are the Drives recognized?": use
root@localhost:~# dmesg | grep sr
[ 1.122241] sr0: scsi3-mmc drive: 48x/16x cd/rw xa/form2 cdda tray
[ 1.122387] sr 4:0:0:0: Attached scsi CD-ROM sr0
[ 1.126768] sr1: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
[ 1.126890] sr 4:0:1:0: Attached scsi CD-ROM sr1
root@localhost:~#
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Building Blocks
In My Humble OpinionJack wrote:First off what dose IMHO mean I see it all the time?
What version of DOS did you start with?I been in computer or around them for 30 years and I even built computer.
Strangely enough I'm not sure most of the members here are "young", taking into account the word is relative. And I'll be a year older next month.I'm not young like most of the member here. I'll be a year older next week.

Well, the ISO does boot for me, up until the error which means the /boot/syslinux/vmlinux file inside the ISO is being read and executed and since it is being read I don't see why the rest of the ISO isn't being read regardless of the format of where it is stored. Your menu has root set to your hard drive, my menu has root set to the ISO itself. BTW My menu is for Grub4DOS which is similar to Legacy grub.Bogomips wrote:This is my Grub Legacy menu.lst:sda10 is on an ext2 file system. Starting small so only have support for ext2, ext3,ext4 and reiserfs. also isofs for cd/dvd. Should be able to find sign file on these systems. vfat not yet sorted. So if /ISOs/%ISOz% is on an ntfs system it will not work for the moment.Code: Select all
title Alien Bob Adaptation Iso Test root (hd0,0) kernel /bab/vmlinuz base_only noauto from=/dev/sda10/tmp/iso/abSlak.iso initrd /bab/initrd.img
And the ISO I downloaded does not have a /bab/ directory.
Re: Building Blocks
Jack
Sorry for misleading you on your laptop that uses F9 for bios boot order. Moderators should research and take more care but in case you can't tell I am close to 60 and others have elected not to tell you their age here as its a tiny bit off topic.......but I have not read anything recently when anyone including myself have attempted to be rude or treated you without respect. If for any reason you feel thats not true send a pm to a moderatior and they/I/we can get it sorted OK
We are all humans here so if I or others make mistakes we can live with it. We can berate each other for making mistakes but I think its better we can learn from our mistakes and pass it on to our grandchildren.
Although you have not asked and its offtopic here one link of some abbreviations...its not meant to be a full list.
http://slangit.com/terms/web_forums
cheers

Sorry for misleading you on your laptop that uses F9 for bios boot order. Moderators should research and take more care but in case you can't tell I am close to 60 and others have elected not to tell you their age here as its a tiny bit off topic.......but I have not read anything recently when anyone including myself have attempted to be rude or treated you without respect. If for any reason you feel thats not true send a pm to a moderatior and they/I/we can get it sorted OK
We are all humans here so if I or others make mistakes we can live with it. We can berate each other for making mistakes but I think its better we can learn from our mistakes and pass it on to our grandchildren.
Although you have not asked and its offtopic here one link of some abbreviations...its not meant to be a full list.
http://slangit.com/terms/web_forums
cheers

-
- Contributor
- Posts: 1955
- Joined: 09 Aug 2013, 14:25
- Distribution: Nemesis Cinnamon 64
- Location: USA
Re: Building Blocks
Ed_P wrote:In My Humble OpinionJack wrote:First off what dose IMHO mean I see it all the time?
I been in computer or around them for 30 years and I even built computer.
Thanks for the IMHO info.What version of DOS did you start with?
And as far as Dos I think was MS-Dos 2.0.
I try to remember. The memory what not sure of so it could be wrong, the years are close and the rest should be correct.
My first computer 1981 was a VIC-20 4kb of memory with tape drive,
Then 1885 it was a Color Computer 128kb of memory, 5.25" floppy drive and it ran OS-9.
Then 1987 I got my 80186 computer and ??mb of memory and my first HD was 5 megs and the 5.25" floppy drive.
A little history
Jack
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Building Blocks
@Bogomips
Same error booting with grub2.
Grub2 menu

Same error booting with grub2.
Code: Select all
Starting init script .....
searching for ptest.sgn
Code: Select all
menuentry "abSlak_030216.iso" --class slackware --class icon-porteus {
set iso=/ISOs/abSlak_030216.iso
search -f $iso --set=root
echo ISO root is: $root
echo ISO is: $iso
set porteus_parms="3"
echo Porteus parms are: $porteus_parms
echo
loopback loop $iso
sleep -v -i 17
echo "Loading Linux"
linux (loop)/boot/syslinux/vmlinuz from=$iso $porteus_parms
echo "Loading initrd"
initrd (loop)/boot/syslinux/initrd.img
}
Remember all the versions? MS DOS, IBM DOS, DR DOS, Compaq DOS. Writing .bat files to run on all the different versions with their unique caveats.Jack wrote:And as far as Dos I think was MS-Dos 2.0.
OS, the IBM future system to compete with MS's OS. If you need some floppies for that drive I have some upstairs.5.25" floppy drive and it ran OS-9.

Re: Building Blocks
@ Bogomips
Pre-amble ...I have a modern motherboard with secure boot disabled. I know my bios has legacy usb support enabled because keyboard inputs at the bios screen work.
burnt iso to cdrw
boots up to login prompt for darkstar
---I see no error messages for the sign key file so that is good.
attempting to input from USB keyboard no good.
attempting to press shift/pageup to try and read last messages other than those showing on the screen.....no good.
---messages on screen relate to the creation of a ssh key.
I am not sure what input method you have chosen?
Pre-amble ...I have a modern motherboard with secure boot disabled. I know my bios has legacy usb support enabled because keyboard inputs at the bios screen work.
burnt iso to cdrw
boots up to login prompt for darkstar
---I see no error messages for the sign key file so that is good.
attempting to input from USB keyboard no good.
attempting to press shift/pageup to try and read last messages other than those showing on the screen.....no good.
---messages on screen relate to the creation of a ssh key.
I am not sure what input method you have chosen?
-
- White ninja
- Posts: 16
- Joined: 17 Nov 2015, 21:06
- Distribution: Slackware
- Location: Eindhoven
Re: Building Blocks
A 'toram' boot option has been added in the liveslak-0.5.0 release which will be published this weekend. Note that this is useless (IMHO) when you boot anything else than the small XFCE variant, unless you have a hulk load of RAM in your computer.Kriss wrote:for me Slackware's live script is lacking many critical things:
no copy2ram (and AlienBob stated that he's not interested in this feature)
Currently I do not see why that should be a critical feature.modules from subdirectories aren't loaded
If you want to use files and directories with spaces you can consider sending me patches. If they are not invasive I will look at applying them. Rewriting large parts of my code will be considered "invasive". But actually anything containing spaces in its pathname is pretty awful. A real UNIX filesystem has no spaces, and I am old skool. So I might not consider such a patch as worth having eventually.and probably module names cannot contain spaces (I've added this for the initrd.img I posted here, but still)
I really wish you'd do your homework first.no proprietary drivers now (as I understand, he was asked to remove it)
Pat wanted the 'real' Slackware Live ISO (i.e. not the XFCE, or the PLASMA5, or the MATE variant) to contain only core distro packages. So I removed the Nvidia drivers from that ISO. The Nvidia drivers are still added by default (as a squashfs package) to the PLASMA5, MATE and CINNAMON variants.
If you add the nvidia .SXZ module to the 'optional' or 'addons' subdirectory of the SLACKWARE ISO variant, it will "just work" out of the box. The rc.local and rc.local_shutdown scripts will take care of configuring the Nvidia drivers when present.
Again, if you would like to see a feature, send a patch or even just mention it as a wish. Complaining here is not going to help. And what you're asking here is actually a minor edit in the script.unable to use UUID to determine boot media
Indeed...my Slackware Live Edition is different from Porteus and that is a good thing. I have no desire to become a clone of Porteus or to steal its userbase. You do your stuff and I do mine. If you are not happy with what I made then I am completely indifferent to your comments when you utter them here, and I will listen to you when you write them on my blog.there's probably more, but these reasons were enough for me
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Building Blocks
Thanks aus9. That's a relief. Could not understand how the data could not be found on cd. Fact that you have /dev/sr0.
@Ed_P With Grub 1, the kernel and the initrd, do not have to come from the iso. It's only the Porteus data coming from iso. As mentioned before, booting media for the moment limited to disk and cd, as yet no support for Porteus data being on usb. Sign file looked for only on disk ext2, ext3, ext4 and resierfs patitions, apart from /dev/sr0. Still to do: vfat and usb.
So if iso is on disk filesystem of above mentioned types, to make life easier, please try a:
@Kriss
Why not run the iso with copy2ram, and if not working, see if possible to fix the initrd?
FOLLOWING REQUEST FROM DOWN UNDER, WILL SHORTLY BE PUTTING UPDATES IN FIRST POST OF THREAD
@Ed_P With Grub 1, the kernel and the initrd, do not have to come from the iso. It's only the Porteus data coming from iso. As mentioned before, booting media for the moment limited to disk and cd, as yet no support for Porteus data being on usb. Sign file looked for only on disk ext2, ext3, ext4 and resierfs patitions, apart from /dev/sr0. Still to do: vfat and usb.
So if iso is on disk filesystem of above mentioned types, to make life easier, please try a:
Code: Select all
set iso=/dev/sdaXy/ISOs/abSlak_030216.iso
Why not run the iso with copy2ram, and if not working, see if possible to fix the initrd?
FOLLOWING REQUEST FROM DOWN UNDER, WILL SHORTLY BE PUTTING UPDATES IN FIRST POST OF THREAD
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Building Blocks
I understand that but when I boot ISOs everything comes from the ISO itself. And when I use to burn ISOs to CDs/DVDs the only files written to the media came from the ISO.Bogomips wrote:@Ed_P With Grub 1, the kernel and the initrd, do not have to come from the iso.
Thanks, I'll try that and get back to you.So if iso is on disk filesystem of above mentioned types, to make life easier, please try a:Code: Select all
set iso=/dev/sdaXy/ISOs/abSlak_030216.iso
Last edited by Ed_P on 05 Feb 2016, 18:58, edited 1 time in total.
-
- Contributor
- Posts: 1955
- Joined: 09 Aug 2013, 14:25
- Distribution: Nemesis Cinnamon 64
- Location: USA
Re: Building Blocks
@Bogomips and all
First off I want to say SORRY about everything.
@Bogomips,
Someone gave me 10 cd and that was the problem, but then I look at the CD I made and there was a bad spot or mark on the CD and that why it didn't boot up. I look at it before I burn another one and then I burn another copy and I look at it again to be sure it was OK and it was.
I put it back in my CD/DVD drive and turn my Laptop on and it booted up like it should. I wait for next release and test it.
Next time I burn a CD/DVD I will look at it before and after I make it. I don't burn many Data CD or DVD. I burn a few of Music CD for my Car CD player.
If you don't understand please tell me.
Jack
First off I want to say SORRY about everything.
@Bogomips,
Someone gave me 10 cd and that was the problem, but then I look at the CD I made and there was a bad spot or mark on the CD and that why it didn't boot up. I look at it before I burn another one and then I burn another copy and I look at it again to be sure it was OK and it was.
I put it back in my CD/DVD drive and turn my Laptop on and it booted up like it should. I wait for next release and test it.
Next time I burn a CD/DVD I will look at it before and after I make it. I don't burn many Data CD or DVD. I burn a few of Music CD for my Car CD player.
If you don't understand please tell me.
Jack
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Building Blocks
@Jack
No need to say sorry. You made everyone interested. Now I'll be putting UDF into the initrd, as it's only one module it seems
btw you know, you can log in as root (no PW hit Enter), and explore using Midnight Commander (mc). But just be careful.
@roadie Thanks for heads up (in pm). Would seem to confirm supposition that they are identical. At one fell swoop some 90 MB got rid of! Another Superuser strikes!!!
@au9
Kernel modules loaded at login to darkstar:Just the Modules loaded by initrd.
Kernel modules loaded at login to darkstar(porteusified following rootcopy re. Post of 3-2-16):Having all these modules loaded, there is good chance usb keyboard will work. 
The rootcopy thru' iso modification, will be putting up in 1st Post of thread around 00:00 UTC. Going out now for Reality Check. 8)
No need to say sorry. You made everyone interested. Now I'll be putting UDF into the initrd, as it's only one module it seems


Code: Select all
guest@porteus:~$ mkdir x
guest@porteus:~$ sudo mount /mnt/sda9/porteus/base/000-kernel.xzm x
mount: warning: x seems to be mounted read-only.
guest@porteus:~$ mkdir y
guest@porteus:~$ sudo mount /mnt/sda9/porteus/base/001-core.xzm y
mount: warning: y seems to be mounted read-only.
guest@porteus:~$ diff -qr y/lib/modules/4.1.15/ x/lib/modules/4.1.15/
diff: y/lib/modules/4.1.15/build: No such file or directory
diff: x/lib/modules/4.1.15/build: No such file or directory
diff: y/lib/modules/4.1.15/source: No such file or directory
diff: x/lib/modules/4.1.15/source: No such file or directory
@au9
Kernel modules loaded at login to darkstar:
Code: Select all
Module Size Used by
ipv6 322874 18
nls_utf8 1352 1
overlay 30198 1
vfat 10447 0
fat 54332 1 vfat
ext2 63745 4
mbcache 7115 1 ext2
reiserfs 230815 2
squashfs 32668 2
loop 18219 6
isofs 32862 2
Kernel modules loaded at login to darkstar(porteusified following rootcopy re. Post of 3-2-16):
Code: Select all
root@darkstar:~# lsmod
Module Size Used by
cfg80211 443381 0
rfkill 15626 1 cfg80211
hid_generic 1161 0
nouveau 1315437 1
evdev 11690 0
usbhid 37803 0
hid 102557 2 hid_generic,usbhid
ppdev 5846 0
mxm_wmi 1443 1 nouveau
kvm_amd 53819 0
wmi 8259 2 mxm_wmi,nouveau
snd_hda_codec_via 13826 1
snd_hda_codec_generic 58678 1 snd_hda_codec_via
kvm 420349 1 kvm_amd
video 13104 1 nouveau
snd_hda_intel 22097 0
snd_hda_controller 20472 1 snd_hda_intel
ttm 72844 1 nouveau
serio_raw 4689 0
snd_hda_codec 81582 4 snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
drm_kms_helper 93902 1 nouveau
drm 272154 4 ttm,drm_kms_helper,nouveau
snd_hda_core 21053 4 snd_hda_codec_via,snd_hda_codec_generic,snd_hda_codec,snd_hda_controller
agpgart 27124 2 drm,ttm
snd_hwdep 6218 1 snd_hda_codec
snd_pcm 82785 3 snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer 19393 1 snd_pcm
ohci_pci 3176 0
snd 60816 7 snd_hwdep,snd_timer,snd_hda_codec_via,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
shpchp 25618 0
k10temp 2964 0
ohci_hcd 28860 1 ohci_pci
soundcore 5347 1 snd
forcedeth 56747 0
i2c_algo_bit 5392 1 nouveau
i2c_nforce2 5303 0
i2c_core 37899 5 drm,drm_kms_helper,i2c_algo_bit,nouveau,i2c_nforce2
ehci_pci 3903 0
ehci_hcd 43914 1 ehci_pci
acpi_cpufreq 7138 0
button 4692 1 nouveau
processor 23895 1 acpi_cpufreq
thermal 8855 0
fan 3800 0
thermal_sys 27265 4 fan,video,thermal,processor
parport_pc 20026 0
parport 30421 2 ppdev,parport_pc
hwmon 3026 3 k10temp,nouveau,thermal_sys
overlay 30198 1
vfat 10447 0
fat 54332 1 vfat
ext2 63745 1
mbcache 7115 1 ext2
reiserfs 230815 0
squashfs 32668 2
loop 18219 4
isofs 32862 0

The rootcopy thru' iso modification, will be putting up in 1st Post of thread around 00:00 UTC. Going out now for Reality Check. 8)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
-
- Contributor
- Posts: 1955
- Joined: 09 Aug 2013, 14:25
- Distribution: Nemesis Cinnamon 64
- Location: USA
Re: Building Blocks
@Bogomips, This might be off topic.
I been using Midnight Commander for about 30 years now. I had it when I use MS-Dos 2.0. It the best tool I ever used. In fact when I put Porteus on a thumb drive from ISO that what I use is Midnight Commander.
Here how I make a bootable Porteus in Linux.
1. Open terminal in guest then type su password after in root type mc
2. Open ISO with Midnight Commander
3. Copy files to thumb drive using Midnight Commander
4. Change to boot directory on thumb drive using Midnight Commander
5. Hit F10 to quit Midnight Commander
6. At prompt in terminal type sh Porteus-installer-for-Linux.com
7. Answer question type OK and then press ENTER
8. Close all programs and shut down
9. Reboot thumb drive in to Porteus
That has work for me for years. It might not be the right way but it works.
Jack
I been using Midnight Commander for about 30 years now. I had it when I use MS-Dos 2.0. It the best tool I ever used. In fact when I put Porteus on a thumb drive from ISO that what I use is Midnight Commander.
Here how I make a bootable Porteus in Linux.
1. Open terminal in guest then type su password after in root type mc
2. Open ISO with Midnight Commander
3. Copy files to thumb drive using Midnight Commander
4. Change to boot directory on thumb drive using Midnight Commander
5. Hit F10 to quit Midnight Commander
6. At prompt in terminal type sh Porteus-installer-for-Linux.com
7. Answer question type OK and then press ENTER
8. Close all programs and shut down
9. Reboot thumb drive in to Porteus
That has work for me for years. It might not be the right way but it works.
Jack
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Building Blocks
Same results with all 3 "Starting init" then "waiting for ptest.sgn file".Bogomips wrote: So if iso is on disk filesystem of above mentioned types, to make life easier, please try a:Code: Select all
set iso=/dev/sdaXy/ISOs/abSlak_030216.iso
Code: Select all
set ISOz=abSlak_030216.iso
:
:
title abSlak 1 \n 316MB\n %ISOz%
find --set-root /ISOs/%ISOz%
map --heads=0 --sectors-per-track=0 /ISOs/%ISOz% (0xff)
map --hook
root (0xff)
kernel /boot/syslinux/vmlinuz from=/ISOs/%ISOz% 3
initrd /boot/syslinux/initrd.img
title abSlak 2 \n 316MB\n %ISOz%
find --set-root /ISOs/%ISOz%
map --heads=0 --sectors-per-track=0 /ISOs/%ISOz% (0xff)
map --hook
root (0xff)
kernel /boot/syslinux/vmlinuz iso=/ISOs/%ISOz% 3
initrd /boot/syslinux/initrd.img
title abSlak 3 \n 316MB\n %ISOz%
find --set-root /ISOs/%ISOz%
map --heads=0 --sectors-per-track=0 /ISOs/%ISOz% (0xff)
map --hook
root (0xff)
set iso=/dev/sda5/ISOs/abSlak_030216.iso
kernel /boot/syslinux/vmlinuz from=/ISOs/%ISOz% 3
initrd /boot/syslinux/initrd.img
FWIW In the initrd.img file there is an empty /porteus directory that might be contributing to the problem.
Re: Building Blocks
well I must hasten back to my precious distro-that-can-not-be-named-here
......warning that was a joke! as I can name it but prefer not to.
good luck in developing
@ Bogomips
have you seen this post about the Neko initrd?
viewtopic.php?f=75&t=4788&start=120#p41576

good luck in developing
@ Bogomips
have you seen this post about the Neko initrd?
viewtopic.php?f=75&t=4788&start=120#p41576