I'm using clonezilla live 3.1.1-22
I'm running a virtual machine...
trying to add some preconfigured menu items to make my life easier when exporting or importing an image
but no matter what I change, it always shows me the basic default menu that would show up if you didnt edit it
I have even tried simple things like just changing vesamenu.c32 to just menu.c32 and cant get it to change
I even tried just changing a menu name and nothing else in case it was something to do with the ocs-sr options or some other menu sructure thing
I have edited both syslinux.cfg and grub.cfg...
and no luck with either
VMware machine is set up as bios (not as UEFI)
picture attached is the only menu that shows up no matter what I edit or try to say in the menus..
ok... I just figured out what the issue was...
its using the isolinux file not the syslinux file...
with this... I now can edit the menu... I just cant figure out how to mount my smb share in the isolinux.cfg file
I've tried
ocs_prerun1="sudo mount -t cifs -o user='WindowsUserNameHere',password=1234abcd //192.168.1.130/windows-images /home/partimag"
but it gives me an error
I can manually mount the smb if I go thru the menu's like normal
what am I missing?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here is mine that works to mount guessing my only difference is mine doesnt have the sudo and i dont have the ' in the username
"mount -t cifs -o user=admin,password=changeme //10.0.4.10/bkup /home/partimag"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ok try this as before your current mount
ocs_prerun1="dhclient -v eth0"
and then rename your ocs_prerun1 as ocs_prerun2 for your mount
The prerun1 will enable your ethernet and will allow the connections to mount @scott
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using clonezilla live 3.1.1-22
I'm running a virtual machine...
trying to add some preconfigured menu items to make my life easier when exporting or importing an image
but no matter what I change, it always shows me the basic default menu that would show up if you didnt edit it
I have even tried simple things like just changing vesamenu.c32 to just menu.c32 and cant get it to change
I even tried just changing a menu name and nothing else in case it was something to do with the ocs-sr options or some other menu sructure thing
I have edited both syslinux.cfg and grub.cfg...
and no luck with either
VMware machine is set up as bios (not as UEFI)
picture attached is the only menu that shows up no matter what I edit or try to say in the menus..
Last edit: Scott 2023-10-08
apparently the picture didnt attach when I posted, so I just added it to the main post
I've edited it down to this... and I still get the full menu in the pic in post 1...
ok... I just figured out what the issue was...
its using the isolinux file not the syslinux file...
with this... I now can edit the menu... I just cant figure out how to mount my smb share in the isolinux.cfg file
I've tried
ocs_prerun1="sudo mount -t cifs -o user='WindowsUserNameHere',password=1234abcd //192.168.1.130/windows-images /home/partimag"
but it gives me an error
I can manually mount the smb if I go thru the menu's like normal
what am I missing?
Here is mine that works to mount guessing my only difference is mine doesnt have the sudo and i dont have the ' in the username
"mount -t cifs -o user=admin,password=changeme //10.0.4.10/bkup /home/partimag"
the ' in the user name is because the actual username has a space in it.....so it has to have that
oops, double reply
Last edit: Scott 2023-10-09
ok try this as before your current mount
ocs_prerun1="dhclient -v eth0"
and then rename your ocs_prerun1 as ocs_prerun2 for your mount
The prerun1 will enable your ethernet and will allow the connections to mount
@scott
Thank you
that seems to have worked....