- step-01: Create a new partition
You have to resize an existing partition and then create an empty ext2fs partition. Note: only ext2fs is supported at the moment.
# run_qtparted
I will suppose you now have an NTFS partition /dev/hda1 and an ext2 partition /dev/hda2. You have to update this to your setup.
- step-02: Mount the new partition
# mount /dev/hda2 /mnt/custom
- step-03: Extract the current files from the cloop image
# sysresccd-custom extract-nosizecheck
# \rm -rf /mnt/custom/customcd/isoroot
# mv /mnt/custom/customcd/files/* /mnt/custom
# \rm -rf /mnt/custom/customcd
- step-04: Copy the SystemRescueCD kernel
# cp /mnt/cdrom/isolinux/vmlinuz1 /mnt/custom/boot
- step-05: Customize setup to your hard disk
Add this line to /mnt/custom/etc/fstab file
/dev/hda2 / ext2 errors=remount-ro 0 1
Copy this file from /usr/share/sysresccd/hdinstall/lilo.conf.in to /mnt/custom/etc/lilo.conf
lba32
boot = /dev/hda
map = /boot/.map
prompt
install = /boot/boot-menu.b
delay = 50
vga = normal
default=win
image = /boot/vmlinuz1
root = /dev/hda2
label = sysrcd
read-only
other = /dev/hda1
label = win
table = /dev/hda
WARNING: do not forget to replace /dev/hda1 and /dev/hda2 with your values if you want your system to boot.
- step-06: Run lilo
# mount -t devfs none /mnt/custom/dev
# chroot /mnt/custom lilo
# umount /mnt/custom/dev
- step-07: Umount the new partition
# umount /mnt/custom