I have been trying to remaster bionicpup32, however I am unable to change the menu.lst file during remastering. Could some tell me at which step I should change the menu.lst file so that it could be copied into my remastered version of the puppy linux ?
The remastering setup only gives me option to customize /root and /etc files how can I change files which are used during boot such as fsckme.flg menu.lst and menu_phelp.lst ?
How to change menu.lst of GRUB?(bionicpup32)[solved]
- mr-kumar-abhishek
- Posts: 38
- Joined: Tue 01 Oct 2019, 07:43
- Contact:
How to change menu.lst of GRUB?(bionicpup32)[solved]
Last edited by mr-kumar-abhishek on Thu 03 Oct 2019, 07:42, edited 1 time in total.
You can search for .lst files
or use pfind to search in the system files.
The files in /usr/share/g4dos/pcd/ might be what you want,
Often, a remaster script will stop and allow you to make changes to the file system before it creates the new sfs file.
If your remaster script does not let you make changes
or if it really only saves changes in /etc and /root
you could try a different remaster script.
Or you could save your .lst files somewhere that will be saved in the .sfs,
like /root/.config/kumar and copy them when Puppy boots.
You could add a line like this to /etc/rc.d/rc.local
or to a script in /root/Startup
Code: Select all
# find /usr/ -name *.lst
/usr/share/g4dos/pcd/menu.lst
/usr/share/g4dos/pcd/menu_phelp.lst
#
The files in /usr/share/g4dos/pcd/ might be what you want,
Often, a remaster script will stop and allow you to make changes to the file system before it creates the new sfs file.
If your remaster script does not let you make changes
or if it really only saves changes in /etc and /root
you could try a different remaster script.
Or you could save your .lst files somewhere that will be saved in the .sfs,
like /root/.config/kumar and copy them when Puppy boots.
You could add a line like this to /etc/rc.d/rc.local
Code: Select all
cp /root/.config/kumar/*.lst /usr/share/g4dos/pcd/
- mr-kumar-abhishek
- Posts: 38
- Joined: Tue 01 Oct 2019, 07:43
- Contact:
DISTRO_DESC and #distrodesc#
Thanks a lot for this info !!!williams2 wrote: The files in /usr/share/g4dos/pcd/ might be what you want,
From this I was also able to find
1) /usr/share/boot-dialog/isolinux.cfg
2) /usr/share/boot-dialog/grub.cfg
I have another small question though, where are the DISTRO_DESC and #distrodesc# are defined which are used in these files ?
- mr-kumar-abhishek
- Posts: 38
- Joined: Tue 01 Oct 2019, 07:43
- Contact:
Re: DISTRO_DESC and #distrodesc#
If I am correct these are defined in /etc/DISTRO_SPECS , correct?mr-kumar-abhishek wrote: I have another small question though, where are the DISTRO_DESC and #distrodesc# are defined which are used in these files ?
- mr-kumar-abhishek
- Posts: 38
- Joined: Tue 01 Oct 2019, 07:43
- Contact:
Thanks a lot I am this solved my problem
Thanks a lot this solved my problem
This is pure gold! Thank you!williams2 wrote:The files in /usr/share/g4dos/pcd/ might be what you want
I had a related problem. My system is in sda1 and I maintain a booteable backup of the former in sda4. I used to boot from one or the other without a hitch, until something "weird" happened: Every time I booted from the backup, the right partition was mounted but the backup system now accessed to the *main* savefile (correct operation used to be: backup system accessed to *backup* savefile).
As I said earlier, the only working solution I found was in those files you mentioned. Thanks again williams2!