Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

Initrd/Vmlinuz not present in /live folder.

Refracta Development, Scripts, etc.

Initrd/Vmlinuz not present in /live folder.

Postby J.T.Kirk » 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 :roll:

Regards :)
J.T.Kirk
 
Posts: 32
Joined: Tue Sep 11, 2012 3:42 pm

Re: Initrd/Vmlinuz not present in /live folder.

Postby fsmithred » 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.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: Initrd/Vmlinuz not present in /live folder.

Postby J.T.Kirk » 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 :)
J.T.Kirk
 
Posts: 32
Joined: Tue Sep 11, 2012 3:42 pm

Re: Initrd/Vmlinuz not present in /live folder.

Postby fsmithred » 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.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: Initrd/Vmlinuz not present in /live folder.

Postby J.T.Kirk » 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 :)
J.T.Kirk
 
Posts: 32
Joined: Tue Sep 11, 2012 3:42 pm

Re: Initrd/Vmlinuz not present in /live folder.

Postby thwak » 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.
thwak
 
Posts: 165
Joined: Tue Nov 20, 2012 3:58 am

Re: Initrd/Vmlinuz not present in /live folder.

Postby J.T.Kirk » 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: Select all
ln -s /boot/initrd-3.10.0.img /initrd.img
ln -s /boot/vmlinuz-3.10.0  /vmlinuz


Regards :)
J.T.Kirk
 
Posts: 32
Joined: Tue Sep 11, 2012 3:42 pm


Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred