Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi I'm trying to insert a clonezilla-live option into my ubuntu grub menu. I put the clonezilla .iso file in the root directory and then updated the /etc/grub.d/40_custom file with the folowing entry:
I then ran update-grub2, rebooted and selected clonezilla-live from the grub menu. The clonezilla .iso file must have been found because a clonezilla screen was displayed but it was the "second screen" (utf-8 options) instead of the "first screen" ( GNU Grub Menu with 800x600 options). If anyone has any ideas at all as to why this is happening I'd greatly appreciate it. Much thanks in advance! krplun
Since the advent of KMS many many moons ago, vga=788 in linux boot cmdlines for most generic kernels only lasts for a few seconds before KMS kicks on, then running in the display's native mode unless something is done to configure otherwise, or if EDID is broken. For framebuffer consoles' text modes, an arbitrary mode can be set using video=<mode>. For X sessions, video= is ignored except if using the intel DDX display driver. If you want X to run in a particular mode with other display drivers, you can set it via various DE tools, or xrandr, or /etc/X11/xorg.con*. I'm not privy to how Clonezilla might do differently from Debian, but likely it doesn't differ at all.
Much appreciate you responding Mrmazda! This stuff seems to be above my pay grade so to speak. I took the vga parm out but got the same result. Assuming Clonezilla is like Debian are you thinking that all I might have to do is put the video=<mode> parm in the menuentry definition and it might fix my problem?
Interesting note here. If I put the same clonezilla .iso file on a ventoy usb stick and boot up from it the first screen does shows up! So why is clonezilla working as it should here but not when selected from the grub2? krplun –
Krplun
With Grub, it's a simple thing to test boot parameters at run time by striking the E key when its menu appears, removing vga=, and appending video= parameter before proceeding. If it works as desired, simply make the same change in /etc/default/grub, then regenerate grub.cfg with update-grub.
I've never used Clonezilla, so can't help with anything specific to it. I clone usually with DFSee, sometimes using ddrescue or dd.
Nomodeset is primarily a troubleshooting parameter, designed to give a crude lowfi GUI experience when optimal drivers aren't working. I missed noticing your use of it previously. It almost certainly needs to go for a proper GUI experience. Probably some of the other parameters you included can go as well. The kernel's rather smart about what's need or not without so much interference from startup options.
I keep a small debian partition for recovery purposes. You can install clonezilla with apt. Then it's just another bootable partition with full distro capabilities
Well it appears I have it partially working. Clonezilla has it's own grub2 menu so I took the menuentry from that and put it into the 40_custom file and added the isofile entry parms (see menuentry below). When I reboot and select that entry it finds the clonezilla.iso file and does the backup unattended as I want. What happens though is it backs up partition 1 (dev) and 2 (/boot/efi) sucessfully but ignores partition 3 (my filesystem). I'm thinking maybe it's because that's where the clonezilla.iso file resides. Does that make sense to anyone? Thanks in advance...
Seems like a lot of work, not sure of the use case . Personally I just keep a boot-able Clonezilla Live on a cheap thumb drive handy. When I need to run it, I just plug it in and use the 'boot select menu' (F12 key to get to it on my machines) to boot into CloneZilla. Simple . In fact just used a couple of weeks ago to migrate two machines from Linux OS 500GB SSD to 2TB SSD drive. Once done, tuck the thumb drive away for next time. Both systems booted on the new drives no problem.
It worked for me! I tried a variation of this and it didn't work. Something must have been slightly off. Thank you Verndog for taking the time to share - much appreciated!
BTW Verndog when you run Clonezilla from the grub menu this way which Clonezilla screen shows up first for you? For me the 1st one that shows up is the start Clonezilla screen rather than the Clonezilla grub menu screen (with the 800x600 screen option on it). Got any idea as to why? krplun
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.