55 reputation
10
bio website
location
age
visits member for 2 years, 9 months
seen 2 days ago

Jul
8
accepted better to mount storage using udev or fstab?
Jun
27
asked better to mount storage using udev or fstab?
Jun
16
comment Is there a way to display a countdown or stopwatch timer in a terminal?
Happy to help. But rather more importantly, thank you for the code :)
Jun
16
comment Is there a way to display a countdown or stopwatch timer in a terminal?
Just found this answer. I found putting the carriage return at the beginning of the echo statement in the stopwatch function was handy as it meant killing the stopwatch didn't overwrite the current stopwatch time: echo -ne "\r$(date -u --date @$((date +%s - $date1)) +%H:%M:%S)";
Sep
16
awarded  Benefactor
Sep
16
comment Manual clone/recreate virtual disk
I've awarded you the bounty, not explicitly because your answer solves my problem (I haven't awarded you the answer!) but because you were to receive half of it anyway, and just as a thanks for your clever thinking and your suggestion.
Sep
16
comment Manual clone/recreate virtual disk
Unfortunately I wasn't able to really get around to this until today. As it turns out, I can't actually get grub to install successfully from the live CD. I think it's a problem with some of the file system metadata. Thanks for your suggestion anyway.
Sep
15
revised Manual clone/recreate virtual disk
Amend the question to be slightly clearer due to a misunderstanding in one of the answers.
Sep
15
comment Manual clone/recreate virtual disk
The communication error is my own. Within the VCS repository, I need available all the information to create a working OVA. Ideally this will include a copy of the OS/data (as individual files), a very small "shell" VHD and a script to recombine the VHD and OS/data into a working VM. I think my question has the relevant information to deduce this requirement, however it is less explicit than it could be. I will update the question to reflect this. Thanks again for a clever idea and the effort you've put into answering the question, I really do appreciate it.
Sep
15
revised Manual clone/recreate virtual disk
Include further solution attempt
Sep
15
comment Manual clone/recreate virtual disk
Thank you for your answer. I apologise for the delay in responding. I may be mistaken, but I don't think this quite solves my problem. It will only store OS/data files in version control, not the VHD itself (correct me if I'm mistaken). I was trying to reconstruct the VHD because it must be in version control as well as the OS and data. As a "shell" containing basic partition information and the boot sector, it's a manageable size, but once ext4 metadata and(/or) OS files are on it, it's far too large. +1 for a clever idea in any case, thanks again.
Sep
15
comment Manual clone/recreate virtual disk
Thank you for your suggestion. I do indeed clone the UUIDs, and have confirmed that fstab references these instead of device names. Unfortunately, the VHD itself needs to be in the VCS repository, unless I've misunderstood your answer running git from inside the VM doesn't mitigate the problem arising from clone/checkout/diff of large binary files in the repository.
Sep
15
awarded  Commentator
Sep
15
comment Manual clone/recreate virtual disk
This by itself doesn't solve the problem of transferral of large files during checkout. However, using multiple VHDs containing different partitions might do. This might be a little dependent on my release requirements (which I'm not yet that clear about). Thank you, and +1 for your suggestion.
Sep
15
comment e2image restore file system metadata
In fact, for the record, file metadata is something I don't really want to keep, because I wanted to replace my files in the partition without consideration for their address on the device. So in conclusion, e2image is not really the tool I want to use. Thanks again for a clear answer, anyway.
Sep
15
accepted e2image restore file system metadata
Sep
15
comment e2image restore file system metadata
Hi, thanks a lot for your answer. I did come to this conclusion about metadata after doing some reading about file systems. And thanks for the clarification re: command-line switches.
Sep
10
revised Embedding Text File (Link to text file) in MS Word
Removed nonsensical words.
Sep
10
comment Manual clone/recreate virtual disk
Just wanted to mention that I've seen your update and comments and haven't had a time to take any action yet. I'll do some reading/experimentation as soon as I can. Thanks for that.
Sep
9
comment Manual clone/recreate virtual disk
Thanks @CanadianLuke, so do I! @harrymc, I hadn't considered using e2image -r because in my experience Windows doesn't make a very good job of storing sparse files, meaning a checkout of the repository would take a lot of space if a dev wants to use Windows. However, my aforementioned "experience" with sparse files in Windows is very limited, I have barely pursued this and it certainly appears to warrant further investigation; thanks very much for the suggestion, I'll have a look into it and let you know how it goes.