I don't quite understand how it should work - what do I need to do so -hn0 will work?
Carl K Steven Shiau wrote: > Carl, > Good. Thanks. Now I know this prompt is especially for -hn0 or -hn1. > Actually it's not only with ntfs-3g, but also other prompts. I think > it's better to keep it. > > Regards, > Steven. > > Carl Karsten wrote: >> using live/vmlinuz1 kernel from clonezilla-live-20080914-intrepid.iso (see >> below for pxe configs) >> >> >> pxe boot box1, make image of drive (win2000 install) >> pxe boot box2, sudo -s; passwd; /etc/init.d/ssh start; >> ssh in so I can cut/paste: >> >> [EMAIL PROTECTED]:~$ ssh [EMAIL PROTECTED] >> [EMAIL PROTECTED]'s password: >> Last login: Fri Oct 3 15:33:49 2008 from 192.168.1.48 >> [EMAIL PROTECTED]:~# clonezilla >> device-image disk/partition to/from image >> │ nfs_server Use NFS server >> │ >> enter server IP (forgot to cut/paste...) >> Mount NFS server: │ >> /mnt/sdc1/__________________________________________________________________ >> │ >> mount -t nfs 192.168.1.91:/mnt/sdc1/ /home/partimag >> 192.168.1.91:/mnt/sdc1/ >> 466G 28G 439G 6% /home/partimag >> Press "Enter" to continue...... >> │ restoredisk Restore_an_image_to_local_disk >> │ >> Clonezilla advanced extra parameters >> │ [*] -hn0 PC Change MS Win hostname (based on IP address) after clone >> <Ok> >> Clonezilla advanced extra parameters >> │ <Ok> >> >> >> ┌───────────────────┤ You use using -hn0 or -hn1 ├───────────────────┐ >> │ │ >> │ You use using -hn0 or -hn1 to change the hostname of MS Win │ >> │ image directly under GNU/Linux. You have to make sure your │ >> │ GNU/Linux can write or modify files in the image MS Win. For FAT │ >> │ filesystem, it will be fine. If it is NTFS, you have to install │ >> │ some packages (such as ntfs-3g or ntfsmount from │ >> │ http://www.linux-ntfs.org) in this server and run drblpush again │ >> │ so that in client environment, Clonezilla can modify files in │ >> │ NTFS filesystem. │ >> │ WARNING! ***DO NOT USE THIS OPTION WITH ENCRYPTED FILE SYSTEM │ >> │ │ >> │ <Ok> │ >> │ │ >> └────────────────────────────────────────────────────────────────────┘ >> >> >> good steps? >> >> pxe server setup: >> mount iso: >> /var/lib/tftpboot/linux/clonezilla-live-20080914-intrepid.iso on >> /var/lib/tftpboot/linux/clonezilla type iso9660 (rw,loop=/dev/loop5) >> >> nfs export: >> [EMAIL PROTECTED]:# cat /etc/exports >> /var/lib/tftpboot/linux/clonezilla >> 192.168.1.0/255.255.255.0(async,no_root_squash,no_subtree_check,ro) >> >> pxe boot: >> [EMAIL PROTECTED]:/var/lib/tftpboot/pxelinux.cfg # grep clonez default >> label clonezilla >> kernel linux/clonezilla/live/vmlinuz1 >> append initrd=linux/clonezilla/live/initrd1.img boot=live union=aufs >> hostname=intrepid ocs_live_run="ocs-live-general" ocs_live_extra_param="" >> ocs_live_batch="no" ocs_lang="" ocs_live_keymap="NONE" ip=frommedia nolocales >> netboot=nfs nfsroot=192.168.1.7:/var/lib/tftpboot/linux/clonezilla/ >> >> >> Carl K >> >> >> >> Steven Shiau wrote: >> >>> Weird, >>> This should be shown in Clonezilla SE, not in Clonezilla live. >>> Please tell me more, especially the steps where you see it so that I can >>> fix it. >>> Thanks. >>> >>> Steven. >>> >>> Carl Karsten wrote: >>> >>>> Steven Shiau wrote: >>>> >>>> >>>>> Carl, >>>>> >>>>> Carl Karsten wrote: >>>>> >>>>> >>>>>> cz says: >>>>>> >>>>>> │ ... If it is NTFS, you have to install │ >>>>>> │ some packages (such as ntfs-3g or ntfsmount from >>>>>> │ >>>>>> │ http://www.linux-ntfs.org) in this server and run drblpush again >>>>>> │ >>>>>> │ so that in client environment, Clonezilla can modify files in >>>>>> │ >>>>>> │ NTFS filesystem. >>>>>> >>>>>> >>>>>> >>>>> Where did you find this ? >>>>> Thanks. >>>>> >>>>> >>>> um... I cut/pasted that from the screen. I think it is a result of "set >>>> windows >>>> host name from IP" >>>> >>>> is that enough, or should I get more details? >>>> >>>> Carl K >>>> >>>> >>>> >>>> >>>>> Steven. >>>>> >>>>> >>>>>> but those are already installed: >>>>>> >>>>>> [EMAIL PROTECTED]:~# which ntfsmount ntfs-3g >>>>>> /usr/bin/ntfsmount >>>>>> /bin/ntfs-3g >>>>>> >>>>>> [EMAIL PROTECTED]:~# sudo apt-get install ntfsprogs >>>>>> Reading package lists... Done >>>>>> Building dependency tree >>>>>> Reading state information... Done >>>>>> ntfsprogs is already the newest version. >>>>>> >>>>>> Carl K >>>>>> >>>>>> ------------------------------------------------------------------------- >>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>>>> challenge >>>>>> Build the coolest Linux based applications with Moblin SDK & win great >>>>>> prizes >>>>>> Grand prize is a trip for two to an Open Source event anywhere in the >>>>>> world >>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>>>> _______________________________________________ >>>>>> Clonezilla-live mailing list >>>>>> [email protected] >>>>>> https://lists.sourceforge.net/lists/listinfo/clonezilla-live >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------- >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>> challenge >>>> Build the coolest Linux based applications with Moblin SDK & win great >>>> prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in the world >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> _______________________________________________ >>>> Clonezilla-live mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/clonezilla-live >>>> >>>> >>> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Clonezilla-live mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/clonezilla-live >> > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Clonezilla-live mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clonezilla-live
