Carl Karsten wrote: > Steven Shiau wrote: > >> Is that possible you can try to turn off the auto mount daemon on your >> Ubuntu box ? >> > > any idea how? > > Not sure, but maybe you can check if gnome-volume-manager process running ? If so, kill it. >> Or you can force to umount the target disk before you run ocs-sr. >> > > "and then as the partitions are created." = they get re-mounted while the > scrip > runs. > > something is doing "sfdisk -R /dev/sdb" which causes ubuntu to look for a fs, > and if it sees something it mounts it. > > this is only a problem when the new partition table is the same as the old > such > that the fs in the old partition shows up when the partition is recreated. > > I did come up with a dd command to wipe the first 100 bytes of each > partition, > but that's kinda scary - it happens before the "this is mounted!" check. > > I think the right solution is to turn off auto mount daemon - I just don't > know how. > > Carl K > > >> Steven. >> >> Carl Karsten wrote: >> >>> This is not really a cz problem... >>> >>> when I run ocs-sr on a ubuntu-desktop (full gui) box, (as in, open a >>> terminal >>> window and run the ocs-sr command, not boot the live cd and image a ubuntu >>> box): >>> >>> ubuntu automounts the partitions on the target drive, both when I plug it >>> in >>> (fine, don't care, I can unmount them) and then as the partitions are >>> created. >>> >>> which causes the partition to be 'in use' and so the rest of the script >>> cant >>> drop the fs image into the partition. >>> >>> how do I make this stop? >>> >>> Ideally I want things to automount and then have to be unmounted to free >>> them up >>> for being re-imaged, but for now just turning it off accross the board will >>> be >>> fine. working script and crippled system is better than script not working. >>> >>> Carl K >>> >>> ------------------------------------------------------------------------------ >>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >>> -Strategies to boost innovation and cut costs with open source participation >>> -Receive a $600 discount off the registration fee with the source code: SFAD >>> http://p.sf.net/sfu/XcvMzF8H >>> _______________________________________________ >>> Clonezilla-live mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/clonezilla-live >>> >>> >> > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Clonezilla-live mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/clonezilla-live >
-- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Clonezilla-live mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clonezilla-live
