[wellylug] Fsck'd Partitions... help?

Jo Booth thegeek at mangee.net.nz
Fri Apr 21 06:34:19 NZST 2006


On 21/04/2006, at 00:05 , Andrew Childs wrote:

>> jo at ubuntu:~$ sudo ./gpart.linux /dev/hdb
>>
>> Begin scan...
>> Possible partition(DOS FAT), size(517mb), offset(0mb)
>> Possible partition(Linux swap), size(86mb), offset(9711mb)
>> Possible partition(DOS FAT), size(9562mb), offset(9797mb)
>> Possible partition(DOS FAT), size(9264mb), offset(19359mb)
>> <snip>
>
> It seems like you've got it sorted now, but parted looks worth
> mentioning (haven't used it).
>
> http://www.gnu.org/software/parted/manual/html_mono/parted.html#SEC24
>
> Andrew
>

Yeah, I think it's probably about right, but i'm a little suspicious  
the possible partition table doesn't mention an extended partition.   
I'm trying to find a similar disk so i can backup the whole 30gig  
drive.... BEFORE "fixing" anything.
is parted the same as Gparted?  It seems to have a bunch of more cool  
stuff on command line that GUI app on Ubuntu 5.10 LiveCD doesn't.


On 20/04/2006, at 23:03 , David Antliff wrote:
> You can 'dd' a disk over a network, by either piping it through ssh  
> or netcat to another machine and store it as one big file. Then you  
> can use most block device utilities on this file instead. It means  
> you don't need to physically mirror the disk, just get the data off  
> it. Even the loopback device can mount filesystems from within a  
> file if you know the offsets of each partition.
>
> But yeah, make a good backup or two FIRST.

> dd if=/dev/hdb of=/dev/hdd bs=512 conv=noerror,sync


I suppose I could use something like
dd if=/dev/hdb of=/mnt/usbdisk/30gig-filesystem-in-a-file.img bs=512  
conv=noerror,sync

To write the whole 30 gig disk to a file on a usb drive?  how about a  
hfs usb drive? (my linux backup partition on the usb drive is only 20  
gig)

Can the file system support 30 gig files? or does anyone have a 30  
gig drive I could borrow or buy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20060421/a999b07b/attachment.pgp 


More information about the wellylug mailing list