download the needed files here
md5sum:
365e3f3f8797c32e9c27ecb731bfb6b4 bootcd-0.0.1.tar.gz
feedback is welcome.
HowTo
Create a LiveCD of LinVDR 0.7
Attention:
Of course no guarantee on correctness,completeness an so on
I take no responsibility for any damage caused by this HowTo
You act on your own risk.
This is a short instruction on how to create a LiveCD from LinVDR 0.7
Part of the boot principle is taken from a knoppix CD.
To create a LiveCD you need a Linux system.
1. Preparations
create a directory Linvdr in your home directory
save LinVDR 0.7 into that directory
gunzip that file to retrieve the file linvdr-0.7.iso
~/Linvdr$ gunzip linvdr.iso.gz
that file (linvdr-0.7.iso) is mounted as loop device to /mnt
~/Linvdr$ sudo mount linvdr-0.7.iso /mnt -o loop
next you copy the file linvdr-0.7.tar.gz to ~/Linvdr
~/Linvdr$ cp /mnt/LinVDR/linvdr-0.7.tar.gz ~/Linvdr/
now unmount /mnt
~/Linvdr$ sudo umount /mnt
2. create the LinVDR Image for the boot CD
create a directory linvdr-0.7
~/Linvdr$ mkdir linvdr-0.7
next step is to untar (important: this is to be done as root because of the devices)
~/Linvdr$ sudo tar xzf linvdr-0.7.tar.gz -C linvdr-0.7
change into directory linvdr-0.7/etc
~/Linvdr$ cd linvdr-0.7/etc
there you delete everything in etc. The hole content of the etc directory is part of initrd you can now download
(important: make sure to be in the right directory. The command deletes everything without asking)
~/Linvdr/linvdr-0.7/etc$ sudo rm -rf ~/Linvdr/linvdr-0.7/etc/*
now you have to create the image for the content. Therefor change to directory ~/Linvdr
~/Linvdr/linvdr-0.7/etc$ cd ~/Linvdr
create the image with:
~/Linvdr$ dd if=/dev/zero of=LINVDR bs=1024 count=80000
now create a filesystem for the image
~/Linvdr$ sudo mke2fs -m 0 LINVDR
you will be asked if you really willing to do it, because it's no special block device, answer with y.
now mount the file
~/Linvdr$ sudo mount LINVDR /mnt -o loop
now all files left in the directory linvdr-0.7 are copied to /mnt.
therefore change directory to linvdr-0.7
~/Linvdr$ cd linvdr-0.7
next copy
~/Linvdr/linvdr-0.7$ sudo cp -a * /mnt/
unmount /mnt again
~/Linvdr/linvdr-0.7$ sudo umount /mnt
now you're half the way
go to directory ~/Linvdr
~/Linvdr/linvdr-0.7$ cd ~/Linvdr
download the file bootcd-0.0.1.tar.gz into ~/Linvdr
unpack
~/Linvdr$ tar xzf bootcd-0.0.1.tar.gz
you now have a new directory bootcd under ~/Linvdr
copy the file LINVDR into this directory
~/Linvdr$ cp LINVDR bootcd/
in the directory bootcd/boot/isolinux you find the modified kernel and the intird
modified kernel
to boot from cd it is important to have a kernel with ramdisk support, like initrd, hardcoded
the linvdr 0.7 kernel was supplied with this quality
intrd
the initrd is to be the later ROOT
it contains some directorys an symbolic links
now you're close the end
you've got 2 possibilities
1.
burn yourself a cd:
cahnge directory to ~/Linvdr/bootcd/
~/Linvdr$ cd bootcd
there should be a directory boot and a file LINVDR
~/Linvdr/bootcd$ ls -la
If they are there you can create the cd image
~/Linvdr/bootcd$ sudo mkisofs -hide-joliet-trans-tbl -J -R -hide-rr-moved -no-emul-boot -boot-load-size 4 \
-b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -boot-info-table -o ../bootcd.iso .
now you can burn the cd. it is advised to use an rewritable.
the image can be found in ~/Linvdr
~/Linvdr/bootcd$ cd ..
now burn the image a you usally do with a LinVDR image.
2.
make some settings in advance, like Plugin selection ...
Description still in progress
Now have fun trying out.
As allways all without guarantee!