View previous topic :: View next topic |
Author |
Message |
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Wed Aug 24, 2022 10:31 am Post subject: How to copy a full "alien" HD to another |
|
|
Hello,
Is it a way under Gentoo to copy an PATA disk to another ? (like dd or such).
Problems are :
- it's an Amiga disk, and I'm not sure that the partitioning information is compatible w/ PC world
- disk are not sharing the same geometries : Mechanical 52Mb -> SSD 128 Mb (I will extend last partition from Amiga world.
- Target disk has to be bootable (so it's why I'm looking for a low level copy).
Thanks
Laurent
ps : after 17 year being sleeping in my atic, I woke up my wonderful Amiga4000/040 ... and the magic is back |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54407 Location: 56N 3W
|
Posted: Wed Aug 24, 2022 10:49 am Post subject: |
|
|
destroyedlolo,
Code: | $ grep -i amiga /usr/src/linux/.config
# CONFIG_AMIGA_PARTITION is not set |
The kernel understands Amiga partition tables.
and maybe the filesystem too.
Code: | │ CONFIG_AFFS_FS: │
│ │
│ The Fast File System (FFS) is the common file system used on hard │
│ disks by Amiga(tm) systems since AmigaOS Version 1.3 (34.20). Say Y │
│ if you want to be able to read and write files from and to an Amiga │
│ FFS partition on your hard drive. |
Does that help ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Wed Aug 24, 2022 10:54 am Post subject: |
|
|
Thanks Neddy,
But is it able to do the partitioning ?
And this option is only for the FS, does it means it is enough to understand the paritioning ? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54407 Location: 56N 3W
|
Posted: Wed Aug 24, 2022 11:02 am Post subject: |
|
|
destroyedlolo,
The first option allows the kernel to understand the partition table.
The second option may allow it to read/write the filesystem.
Is it an AFFS filesystem?
If you can mount the filesystems, then all the usual commands will work.
dd will always work as it copies disk blocks without regard to content. Use bs=1M, to get the speed up
I know nothing of permissions on AFFS filesystems, so linux tools, other than dd, may not preserve them. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Wed Aug 24, 2022 11:41 am Post subject: |
|
|
Thanks, I'll have a try
For the permission, it's RWX like on unix + some extended ("Pure" for example to load and stay an executable in memory). There is even the room for Group and Other even if not used out of the box (will be used when adding networking). |
|
Back to top |
|
|
|