Hello ; If this can help you, here is my script to make this.
Jean-Francois Rousval http://jean-francois.rousval.com $NEW_PARTITION= <------------------- your partition (in ext3 for me) echo "Copy of file system" mkdir -p /mnt/disk mount -t ext3 $NEW_PARTITION /mnt/disk mkdir -p /mnt/squashfs mount -t squashfs -o loop /live/image/live/filesystem.squashfs /mnt/squashfs cp -a /mnt/squashfs/* /mnt/disk umount /mnt/squashfs rmdir /mnt/squashfs cp -a /live/cow/etc/* /mnt/disk/etc grub-install --root-directory=/mnt/disk $NEW_PARTITION --no-floppy LIVE_GRUB=/live/image/boot/grub/menu.lst HD_GRUB="/mnt/disk/boot/grub" echo "timeout 3" > $TMP_FILE_1 echo "default 0" >> $TMP_FILE_1 echo "title That you want" >> $TMP_FILE_1 echo -n "kernel /boot/" >> $TMP_FILE_1 cat $LIVE_GRUB | grep "vmlinuz-" > $TMP_FILE_2 while read LINE1 do echo -n `echo $LINE1 | cut -d ' ' -f2,2 | cut -d '/' -f3,3` >> $TMP_FILE_1 break done < $TMP_FILE_2 echo -n " root=$NEW_PARTITION" >> $TMP_FILE_1 echo " locale=fr_FR.UTF-8 keyb=fr vga=771" >> $TMP_FILE_1 echo -n "initrd /boot/" >> $TMP_FILE_1 cat $LIVE_GRUB | grep "initrd.img-" > $TMP_FILE_2 while read LINE1 do echo -n $LINE1 | cut -d ' ' -f2,2 | cut -d '/' -f3,3 >> $TMP_FILE_1 break done < $TMP_FILE_2 mkdir -p $HD_GRUB cp $TMP_FILE_1 $HD_GRUB"/menu.lst" rm -f $TMP_FILE_1 rm -f $TMP_FILE_2 umount /mnt/disk reboot XayOn X a écrit : > I want to install my custom live distro in a hard disk, I've followed > the wiki info but I think some things are not clear. > I wanna make the installer as easy as possible, so... > The only issues I've had are with bootloader: > First of all I dont like to have to edit manually menu.lst ¿Is there any > way to do it automagically? > And the same about device.map... _______________________________________________ debian-live-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

