Hi.
My signature leads to a post containing links to all my programs. There you'll find the
Edit-initrd.gz application. A tool to open and edit the
initrd.gz ---> it needs the
devx loaded to work!
Here is the right-click application:
http://murga-linux.com/puppy/viewtopic. ... 126#652126
It's been downloaded and used a lot and the previous (GUI) version has been downloaded 414 times ---> no complaints so far.
GUI application is at the end of this post:
http://murga-linux.com/puppy/viewtopic. ... 255#575255
To edit the
initrd.gz the way I did, search for the line
in file
init. In LazY Puppy's
init it is at line 264.
This is the place where I've insert the first code at above post.
I hope such comment is in your init script. If not, send me your script and I'll search for the fitting location to modify.
---
This is how the full DISTRO_SPECS is looking:
Code: Select all
#------------------------------------------------------------------------------
# This is a modified DISTRO_SPECS for LazY Puppy 2.x
# 2012-04-05 RSH
# 2012-07-24 expanded: LP2_NETWORK_SFS, LP2_CP_SFS, LP2_RSH_SFS
#------------------------------------------------------------------------------
#One or more words that identify this distribution:
DISTRO_NAME='LazY Puppy'
#A three-digit numeric value, version number of this distribution:
DISTRO_VERSION='203'
#A two-digit numeric value, minor-version number of this distribution:
DISTRO_MINOR_VERSION=00
#The distro whose binary packages were used to build this distribution:
DISTRO_BINARY_COMPAT='ubuntu'
#Prefix for some filenames: exs: lupusave.2fs, lupu-528.sfs
DISTRO_FILE_PREFIX='RSHsLP2'
#The version of the distro whose binary packages were used to build this distro:
DISTRO_COMPAT_VERSION='lucid'
#the kernel pet package used:
DISTRO_KERNEL_PET='linux_kernel-2.6.33.2-tickless_smp_patched-L3.pet'
#16-byte alpha-numeric ID-string appended to vmlinuz, lupu_528.sfs, zl528332.sfs and devx.sfs:
DISTRO_IDSTRING='R203121205134913'
#Puppy default filenames...
# Note, the SFS files below are what the init script in initrd.gz searches for,
# partition, path and actual files loaded, is in PUPSFS and ZDRV in /etc/rc.d/PUPSTATE
# Main SFS for LazY Puppy 2.x
DISTRO_PUPPYSFS='RSHsLP2_203.sfs'
# Extension SFS for LazY Puppy 2.x
DISTRO_ZDRVSFS='RSHsLP2_Extension.sfs'
#------------------------------------------------------------------------------
# LazY Puppy 2.1 SFS Files boot options
#------------------------------------------------------------------------------
LP2_AUDIO_SFS='LP2_AudioStudio.sfs'
LP2_VIDEO_SFS='LP2_VideoStudio.sfs'
LP2_OFFICE_SFS='LP2_OfficeSuite.sfs'
LP2_GRAPHICS_SFS='LP2_GraphicsSuite.sfs'
LP2_NETWORK_SFS='LP2_Network.sfs'
LP2_INTERNET_SFS='LP2_Internet.sfs'
LP2_WEB_SFS='LP2_Internet.sfs'
LP2_PLAYER_SFS='LP2_MediaPlayer.sfs'
LP2_KDEOFFICE_SFS='LP2_KDEOfficeSuite.sfs'
LP2_OPENOFFICE_SFS='LP2_OpenOfficeSuite.sfs'
LP2_LIBREOFFICE_SFS='LP2_LibreOfficeSuite.sfs'
LP2_LAZARUS_SFS='LP2_LazarusFPCSuite.sfs'
LP2_TOOLS_SFS='LP2_Toolbox.sfs'
LP2_UTILITY_SFS='LP2_Utility.sfs'
LP2_WINE_SFS='LP2_Wine.sfs'
LP2_SCIENCE_SFS='LP2_Science.sfs'
LP2_TECH_SFS='LP2_Tech.sfs'
LP2_PHYTECH_SFS='LP2_PhyTech.sfs'
LP2_DEVX_SFS='LP2_DevX.sfs'
LP2_DEVXGAMBAS_SFS='LP2_DevX_Gambas.sfs'
LP2_KERNEL_SFS='LP2_Kernel26332.sfs'
LP2_USER1_SFS='LP2_UserExtension1.sfs'
LP2_USER2_SFS='LP2_UserExtension2.sfs'
LP2_USER3_SFS='LP2_UserExtension3.sfs'
LP2_USER4_SFS='LP2_UserExtension4.sfs'
LP2_USER5_SFS='LP2_UserExtension5.sfs'
LP2_CP_SFS='LP2_CPsExtension.sfs'
LP2_RSH_SFS='LP2_RSHsExtension.sfs'
#------------------------------------------------------------------------------
# End of modified DISTRO_SPECS for LazY Puppy 2.x
#------------------------------------------------------------------------------
Do not edit the
DISTRO_IDSTRING in DISTRO_SPECS ---> it's generated automatically at remaster.
If you get option to edit /tmp/etc at remaster process do copy the /etc/DISTRO_SPECS to /tmp/etc/
Here is the original Lucid 528-4 DISTRO_SPECS file:
Code: Select all
#One or more words that identify this distribution:
DISTRO_NAME='Lucid '
#A three-digit numeric value, version number of this distribution:
DISTRO_VERSION=528
#A two-digit numeric value, minor-version number of this distribution:
DISTRO_MINOR_VERSION=00
#The distro whose binary packages were used to build this distribution:
DISTRO_BINARY_COMPAT='ubuntu'
#Prefix for some filenames: exs: lupusave.2fs, lupu-528.sfs
DISTRO_FILE_PREFIX='lupu'
#The version of the distro whose binary packages were used to build this distro:
DISTRO_COMPAT_VERSION='lucid'
#the kernel pet package used:
DISTRO_KERNEL_PET='linux_kernel-2.6.33.2-tickless_smp_patched-L3.pet'
#16-byte alpha-numeric ID-string appended to vmlinuz, lupu_528.sfs, zl528332.sfs and devx.sfs:
DISTRO_IDSTRING='l528121019101928'
#Puppy default filenames...
#Note, the 'SFS' files below are what the 'init' script in initrd.gz searches for,
#for the partition, path and actual files loaded, see PUPSFS and ZDRV in /etc/rc.d/PUPSTATE
DISTRO_PUPPYSFS='lupu_528.sfs'
DISTRO_ZDRVSFS='zl528332.sfs'
I think, it's obviously what I've had changed. At editing the files DISTRO_SPECS is opened twice in geany (or leafpad). One is from the initrd.gz, the other is from the running system. Make sure both are saved with equal content.
Inside the remaster script (usually remasterpup2 in Puppy) search for this code (main thing is MKZDRV):
Code: Select all
eval m_16_1=\"$m_16_1\"
Xdialog --wrap --left --title "$m_01" --default-no --yesno "$m_16_1" 0 0
[ $? -eq 0 ] && MKZDRV="yes" || MKZDRV=""
and disable it (comment it out or remove) and add:
Also disable or remove the following code:
Code: Select all
if [ "$MKZDRV" = "yes" ]; then
rm -f $WKGMNTPT/$rebuilddir/$ZDRVSFS
mksquashfs /lib $WKGMNTPT/$rebuilddir/$ZDRVSFS -keep-as-directory -e /lib/[^m]* $ANOTHER_REMOVE
ANOTHER_REMOVE="/lib/modules"
fi
If you get option to edit /tmp/etc at remaster process do copy the /etc/DISTRO_SPECS to /tmp/etc/ ! ! !
I hope I didn't forget anything. Long time ago since I've made a manually remaster - because of the comfortable LazY Remaster Suite.
Otherwise come back here.