Re: [Hampshire] Spinning rust

2012-07-21 Thread Jacqui Caren
On 20/07/2012 11:28, hants...@googlemail.com wrote: In my experience, and I have bought a lot from them over the years, Novatech does not leave people out in the cold. I would be interested to know what had happened to get your acquaintance into this situation. Ditto I buy ALL my camera/phone

Re: [Hampshire] Spinning rust

2012-07-21 Thread Vic
This was the only copy of the backup data I had. I managed to recover the data by attempting to repair the filesystem (ext4) using fsck which put the data in lost+found. The only snag was that all the (thousands of) directory names (about 10 years of accumulated data) have been replaced by

Re: [Hampshire] Spinning rust

2012-07-21 Thread Dr A. J. Trickett
On Saturday 21 Jul 2012, Jacqui Caren wrote: On 20/07/2012 11:28, hants...@googlemail.com wrote: In my experience, and I have bought a lot from them over the years, Novatech does not leave people out in the cold. I would be interested to know what had happened to get your acquaintance into

Re: [Hampshire] Spinning rust

2012-07-21 Thread Dr A. J. Trickett
On Friday 20 Jul 2012, Imran Chaudhry wrote: BTW, I have good backups of my data...! This. Also, what I've learnt recently is to periodically archive your backup - either to another HDD or to some other media. That's what I do. I recently had some bad luck whereby my backup USB HDD

[Hampshire] Partition resizing

2012-07-21 Thread Leo
I've a .img file containing two partitions. I'd like to shrink one partition (that is ext4) and so create a smaller .img file to burn to an SD card that is smaller than the current .img file. There is sufficient space for the reduction. However I can't work out how to shrink it when it is

Re: [Hampshire] Partition resizing

2012-07-21 Thread Chris Dennis
On 21/07/12 11:29, Leo wrote: I've a .img file containing two partitions. I'd like to shrink one partition (that is ext4) and so create a smaller .img file to burn to an SD card that is smaller than the current .img file. There is sufficient space for the reduction. However I can't work out how

Re: [Hampshire] Partition resizing

2012-07-21 Thread Leo
I found out how to do it in the end by using losetup to associated it with a device, but in an unmounted state. I could then run resize2fs. Unfortunately I couldn't then work out how to shrink the img file :( So, working from what you said Chris, I created a new img file from scratch and

Re: [Hampshire] Spinning rust

2012-07-21 Thread Victor Churchill
Getting OT , but prompted by the title ... (and by the fact I am just dismantling an old HDD :) ... now that disks are shiny presumably they aren't 'spinning rust' any more! I do recall the old swappable disk platters the size of posh restaurant dinner plates, which were that characteristic brown

Re: [Hampshire] Spinning rust

2012-07-21 Thread Imran Chaudhry
I've had a few such issues with ext4. I'm looking at moving all my systems back to ext3 - it might not be as fast, but it does seem a whole lot more resilient... I thought the same (go back to ext3 or maybe bite the bullet and try btrfs) but in fairness this is the only time it's happened. I

Re: [Hampshire] Partition resizing

2012-07-21 Thread Tim Brocklehurst
Dependant on what you're trying to do, you may find it easier to copy the data to a new partition, then re-build the MBR if you need GRUB etc. I don't know if this will work on a FAT16/32/NTFS partition, but for all things Linux (including the linux root file system) cp -av whatever wherever

Re: [Hampshire] Partition resizing

2012-07-21 Thread Leo
I've downloaded ArchLinux for the Raspberry Pi, but it's a 2GB image. I've a 1GB SD, which the content should fit on, so I'm trying to resize it. I've now got to the point where I can create an image file with two partitions totalling 1GB that mount fine. But after I've dd-ed it to the SD

Re: [Hampshire] Partition resizing

2012-07-21 Thread Jonathan Hudson
On Sat, 21 Jul 2012 18:40:45 +0100, Leo wrote: I've downloaded ArchLinux for the Raspberry Pi, but it's a 2GB image. I've a 1GB SD, which the content should fit on, so I'm trying to resize it. I've now got to the point where I can create an image file with two partitions totalling 1GB that