PDA

View Full Version : Changing boot variables for LiveCD spin


Thanster
13th February 2012, 10:28 PM
Hi,

I'm building a custom spin to meet an appliance requirement, I would like to edit various boot related options:

kernel command line (to revert to old style nic names)
boot timeout
etc etc.

I'm using live-cd-creator to generate my spin, but I cant work out how to edit this part of the CD/DVD as it is outside of the loopback filesystem, and is added later......

any pointers?


Chris

cazo
15th February 2012, 04:57 AM
The CD/DVD/USB image(s) built by livecd-creator normally use syslinux as the bootloader, so you can edit it's config file under /syslinux/syslinux.cfg (on the disc image).

Obviously you can't edit them once you burn the image to a CD/DVD, so you have to do it before. To do that, you can 'loop' mount it, with something like:

mount -o loop image.iso mount-point