Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to copy a full "alien" HD to another
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Wed Aug 24, 2022 10:31 am    Post subject: How to copy a full "alien" HD to another Reply with quote

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 :D
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54407
Location: 56N 3W

PostPosted: Wed Aug 24, 2022 10:49 am    Post subject: Reply with quote

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
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Wed Aug 24, 2022 10:54 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54407
Location: 56N 3W

PostPosted: Wed Aug 24, 2022 11:02 am    Post subject: Reply with quote

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
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Wed Aug 24, 2022 11:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum