Refracta Development, Scripts, etc.
Thu Aug 29, 2013 12:00 pm
Hi all
I have install my Livecd Squeeze6.0.7. created with Refractasnapshot, it ok.
I update with dpkg new kernel 3.10 the old kernel 2.6.xx, that remove through Synaptics,
and update-grub.
I launch RefractaSnapshot, but, after finish building livecd, in the file.iso created,
don't present: initrd.img and vmlinuz in live folder.
What could be the problem?
Thanks
Regards
Thu Aug 29, 2013 6:12 pm
The snapshot script copies the symlinks, /vmlinuz and /initrd.img, from the root directory. When you change the kernel, sometimes these get messed up. Make sure they exist and are pointing to the correct kernel. It's also possible to change this behavior by editing the config file to make it point to different files.
If you're going to use the iso file on a usb thumb drive, you can probably get away without making a new iso by adding them to the drive after running refracta2usb.
Thu Aug 29, 2013 7:22 pm
fsmithred wrote:The snapshot script copies the symlinks, /vmlinuz and /initrd.img, from the root directory. When you change the kernel, sometimes these get messed up. Make sure they exist and are pointing to the correct kernel. It's also possible to change this behavior by editing the config file to make it point to different files.
If you're going to use the iso file on a usb thumb drive, you can probably get away without making a new iso by adding them to the drive after running refracta2usb.
Ok, many thanks.
In which config file is can edit this?
Regards
Thu Aug 29, 2013 11:17 pm
In /etc/refractasnapshot.conf
You can either edit it before running snapshot or you can choose "Setup" from the first window, and then select that file in the next window. It will open in geany.
If geany is not installed, you'll need to edit it with another text editor, and while you're in there, you can set that text editor as the one to use next time.
Fri Aug 30, 2013 10:53 am
fsmithred wrote:In /etc/refractasnapshot.conf
You can either edit it before running snapshot or you can choose "Setup" from the first window, and then select that file in the next window. It will open in geany.
If geany is not installed, you'll need to edit it with another text editor, and while you're in there, you can set that text editor as the one to use next time.
Ok.
I made a softlink for initrd/vmlinuz in root /.
Launch snapshot, re-build livecd, but, also this time, don't copy initrd/vmlinuz in /live folder.
I'll try editing the file /etc/refracta.conf.
Thanks
Regards
Sun Sep 08, 2013 7:04 am
I encountered the same bug, but I hadn't changed the kernel.
As far as I can tell, the missing (or zero length) vmlinuz only occurs when destination: "whole partition, FAT32" is selected.
Thu Oct 24, 2013 6:25 pm
thwak wrote:I encountered the same bug, but I hadn't changed the kernel.
As far as I can tell, the missing (or zero length) vmlinuz only occurs when destination: "whole partition, FAT32" is selected.
The softlink in: / must have the same name that present in live.cfg and refractasnapshot.conf
initrd.img and vmlinuz.
- Code:
ln -s /boot/initrd-3.10.0.img /initrd.img
ln -s /boot/vmlinuz-3.10.0 /vmlinuz
Regards
Powered by phpBB © phpBB Group.
phpBB Mobile / SEO by Artodia.