2007-01-30: Bob Copeland dixit: > > Aha, that's good then. BTW, how can I get the zero partition > > in normal USB-storage mode? Of course I can dd a chunk of > > the whole /dev/sda, but how long should it be? and, for the > > first partition (sda1), it is enough to dd the whole of it? > > or is it better to dd a sufficiently large chunk of /dev/sda > > which encompasses both the zero partition and sda1? > > I don't think the karma even cares about sda1 except as the > content of the web server when you have it connected to the > network.
Right. For one moment I misstook sda1 for the /var directory of sda2... > The first partition starts at sector offset 0x820, so partition > zero is the first 1064960 bytes (including the partition > table). The first partition itself is 0x20000 sectors > (67108864 bytes). > > You could get a reasonably complete backup of a newly formatted > Karma by copying the first 75 megs or so, though of course > there are more space efficient ways (backup zero partition, > forget about sda1 or use mkomfs as needed for it, and use my > 1meg blank_karma_image.gz for sda2). O.K. I think I still have your blank_karma_image around. So I'll additionally dd the first 1064960 bytes of sda and hope I'll never need these files... > [...] Thanks for the clarifications. EV. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-karma-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-karma-devel
