Is it possible to use NTFS as a boot-drive filesystem for Clonezilla Live on an external USB hard drive? I've had issues formatting larger drives with a FAT32 filesystem (I've used the FastFAT32Formatter utility with mixed results), and would love to be able to use the NTFS filesystem. I've obtained an updated version of SYSLINUX.EXE that works with NTFS partitions, and have successfully created my pre-seed job options (shown below) that allow me to create a one-button backup menu entry IF I use a FAT32 partition. Is it possible to change these pre-seed options to accomodate an NTFS filesystem?
I'm dealing solely with a single-hard drive workstation (/dev/sda) that will allow me to boot Clonezilla from a removable second hard drive (USB) (/dev/sdb) as well as store my Clonezilla images on the same /dev/sdb.
My existing FAT32 working backup preseed commands are:
but this fails as any shares available on /dev/sdb have been mounted as read-only and the ntfs-3g driver does not seem to currently support remounting in a read/write mode.
Is booting CloneZilla live from an NTFS external drive possible?
Please advise.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This allows my user to select a single menu entry "Backup workstation" that will prompt the user for a backup-set name and have the backup automatically placed on the attached USB hard drive.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Cool! Thanks for sharing that.
Actually syslinux does not support NTFS, so that's the problem. However, with grub2, you can. So if you want to do that, switching to use grub2 as the boot loader on USB flash drive is another solution.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The version of syslinux I'm using does in fact support NTFS filesystems, but it's definitely in beta. It seems to me that my drive becomes unbootable after each time I write data to it, and I need to re-run the SYSLINUX installation routine to re-enable bootability.
How involved would the switch from syslinux to grub2 be? Is it a drop-in replacement, or are the changes more involved than that?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Firstly if you use grub2 and debian based clonezilla you will have problems with vga mode as listed here Therefore I recommend you use a ubuntu based clonezilla with grub2 if you need high screen resolution.
Install grub2 to your drive. It will write to the MBR and create a folder which contains grub.cfg. Text edit grub.cfg and add entries like I have here.
Note this is my personal laptop which has grub2 installed and I use to multiboot. I use clonezilla to backup/restore windows XP which lives on sda1. The clonezilla images are stored into sda2/backup/clonezilla. You will need to modify parts to suit your needs but this will give you the basic premise as well as list differences between debian and ubuntu based versions.
sda1 - NTFS - winxp first 5GB
sda2 - NTFS - shared data partition
Is it possible to use NTFS as a boot-drive filesystem for Clonezilla Live on an external USB hard drive? I've had issues formatting larger drives with a FAT32 filesystem (I've used the FastFAT32Formatter utility with mixed results), and would love to be able to use the NTFS filesystem. I've obtained an updated version of SYSLINUX.EXE that works with NTFS partitions, and have successfully created my pre-seed job options (shown below) that allow me to create a one-button backup menu entry IF I use a FAT32 partition. Is it possible to change these pre-seed options to accomodate an NTFS filesystem?
I'm dealing solely with a single-hard drive workstation (/dev/sda) that will allow me to boot Clonezilla from a removable second hard drive (USB) (/dev/sdb) as well as store my Clonezilla images on the same /dev/sdb.
My existing FAT32 working backup preseed commands are:
append initrd=/live/initrd.img boot=live union=aufs config noswap nolocales edd=on noprompt nomodeset ocs_prerun="mount -o remount,rw /live/image" ocs_prerun2="sudo rm -r /home/partimag" ocs_prerun3="cd /home" ocs_prerun4="sudo ln -s /live/image/home/partimag partimag" ocs_live_run="ocs-sr -q2 -c -j2 -z1p -i 2000 -p true savedisk ask_user sda" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=788 ip=frommedia
I've tried (with extremely limited Linux knowledge/experience) a menu entry with:
append initrd=/live/initrd.img boot=live union=aufs config noswap nolocales edd=on noprompt nomodeset ocs_prerun="sudo mount -t ntfs-3g /dev/hdb1 /live/image" ocs_prerun2="sudo rm -r /home/partimag" ocs_prerun3="cd /home" ocs_prerun4="sudo ln -s /live/image/home/partimag partimag" ocs_live_run="ocs-sr -q2 -c -j2 -z1p -i 2000 -p true savedisk ask_user sda" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=788 ip=frommedia
but this fails as any shares available on /dev/sdb have been mounted as read-only and the ntfs-3g driver does not seem to currently support remounting in a read/write mode.
Is booting CloneZilla live from an NTFS external drive possible?
Please advise.
I resolved this by loading CloneZilla into RAM, then using my pre-seed options to mount my USB hard drive.
My updated syslinux.cfg menu option is as follows:
append initrd=/live/initrd.img boot=live config noswap nolocales edd=on nomodeset noprompt ocs_prerun="sudo rm -r /home/partimag" ocs_prerun1="sudo ntfs-3g /dev/sdb1 /live/image" ocs_prerun2="cd /home" ocs_prerun3="sudo ln -s /live/image/home/partimag partimag" ocs_live_run="ocs-sr -q2 -c -j2 -z1p -i 2000 -p true savedisk ask_user sda" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=788 toram=filesystem.squashfs ip=frommedia nosplash
This allows my user to select a single menu entry "Backup workstation" that will prompt the user for a backup-set name and have the backup automatically placed on the attached USB hard drive.
Cool! Thanks for sharing that.
Actually syslinux does not support NTFS, so that's the problem. However, with grub2, you can. So if you want to do that, switching to use grub2 as the boot loader on USB flash drive is another solution.
Steven.
Steven-
The version of syslinux I'm using does in fact support NTFS filesystems, but it's definitely in beta. It seems to me that my drive becomes unbootable after each time I write data to it, and I need to re-run the SYSLINUX installation routine to re-enable bootability.
How involved would the switch from syslinux to grub2 be? Is it a drop-in replacement, or are the changes more involved than that?
johnathanshay,
Firstly if you use grub2 and debian based clonezilla you will have problems with vga mode as listed here Therefore I recommend you use a ubuntu based clonezilla with grub2 if you need high screen resolution.
Install grub2 to your drive. It will write to the MBR and create a folder which contains grub.cfg. Text edit grub.cfg and add entries like I have here.
Note this is my personal laptop which has grub2 installed and I use to multiboot. I use clonezilla to backup/restore windows XP which lives on sda1. The clonezilla images are stored into sda2/backup/clonezilla. You will need to modify parts to suit your needs but this will give you the basic premise as well as list differences between debian and ubuntu based versions.
sda1 - NTFS - winxp first 5GB
sda2 - NTFS - shared data partition
sda2 folder structure
/vboot/clonezilla/debian - contains vmlinuz, initrd.img, filesystem.squashfs
/vboot/clonezilla/precise - contains vmlinuz, initrd.img, filesystem.squashfs
/backup/clonezilla - images stored in here
As always please let us know how you get on and share with the community what works for you!
@johnathanshay,
Yes, grub2 is a better choice.
@nottaken37,
Thanks for sharing that.
Steven.