1 (edited by siddharta 2014-05-02 17:08:15)

Topic: create live cd from scratch with added kernel module

Hi, I'm trying to create a GParted Live with the kernel module for my RAID controller built-in. The steps I've taken so far are

1) install build-essential and linux-headers
2) make install which properly compiles the driver and inserts it into /lib/modules/3.13-1-amd64/kernel/drivers/scsi
3) following the steps outlined in http://gparted.sourceforge.net/create-gparted-live.php, ending with

/usr/sbin/create-gparted-live -l en -b u -e e

Am I missing any steps there to have the driver properly baked into the Live ISO? Thanks for any feedback, I'm a bit in a pickle here.

edit: I seem to have more problems then this, the process ends not with an ISO but with a debian-live directory. The errors I see are

debconf: delaying package configuration, since apt-utils is not installed
E: unable to locate package f2fs-tools

I ran an apt-get install apt-utils f2fs-tools but that didn't resolve this issue - are these instructions still up to date? I'm booting GParted Live 0.18.0-2-amd64.

2 (edited by stevenshiau 2014-05-04 04:29:14)

Re: create live cd from scratch with added kernel module

I have updated the doc
http://gparted.org/create-gparted-live.php
BTW, it's recommended to specify some versions of packages, i.e. use the command like:
create-gparted-live -bt debootstrap -c 'main non-free' -k 'firmware-linux-free firmware-linux firmware-linux-nonfree firmware-bnx2 firmware-bnx2x firmware-qlogic firmware-ralink live-boot=3.0.1-1.drbl4 live-boot-initramfs-tools=3.0.1-1.drbl4 live-config=3.0.23-1.drbl8 live-config-sysvinit=3.0.23-1.drbl8 syslinux=3:6.03~pre11+drbl-1 extlinux=3:6.03~pre11+drbl-1 syslinux-common=3:6.03~pre11+drbl-1' -f 686-pae -b unstable -e unstable -d sid -m http://free.nchc.org.tw/debian -s http://free.nchc.org.tw/debian-security -g http://free.nchc.org.tw/drbl-core -y 6.03-pre11 -i 0.18.0-2-i686-pae -n 3.14-1 -x quiet

Debian Sid changes every day, so by doing this, the chance to create such a live CD will be higher.
BTW, actually in your case, it will be easier to insert the compiled modules on the filesystem.squashfs of the existing GParted live. You can refer to these 2 docs:
http://drbl.org/faq/fine-print.php?path … uashfs.faq
and
http://drbl.org/faq/fine-print.php?path … om_zip.faq

Steven.

3

Re: create live cd from scratch with added kernel module

Thank you Steven for updating the Create GParted Live page and providing additional information in this post.

4

Re: create live cd from scratch with added kernel module

Hi Steven, thanks for the comments and updated documentation. I hae been attacking my problem (using GParted and/or CloneZilla with my hardware RAID1 array) from two angles and have also tried http://clonezilla.org/fine-print-live-d … driver.doc to load the additional module. This seems like the most straightforward.

Unfortunately I can't get that work either. I have opened a thread on the CloneZilla forum for this (I'd link to the thread but I'm only allowed a single link per post). I will first attempt to get that to work, then try my hand again at building a GParted Live.

Thanks again.