English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 24 February 2019, 10:05   #1
QkiZ
Registered User
 
QkiZ's Avatar
 
Join Date: Oct 2016
Location: Poland
Posts: 34
Creating hard disk image on Amiga

I'm looking for Linux dd command equivalent on Amiga. I want to create my old hard disk image on CF card connected to PCMCIA adapter. This old hard disk is Seagate ST9051A, I can't use it with IDE<>USB adapter, hard disk is not recognized. I tried to use TSGUI but partitions are broken and TSGUI can't make an image without partitions.
QkiZ is offline  
Old 24 February 2019, 10:19   #2
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
http://aminet.net/package/util/sys/dev-handler
kolla is offline  
Old 24 February 2019, 10:52   #3
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
If you have a PC You can connect the CF Card on WinUAE and from a special function quickly create the image, or more simply use on a PC the tool "USB Image Tool".
AMIGASYSTEM is offline  
Old 24 February 2019, 11:16   #4
QkiZ
Registered User
 
QkiZ's Avatar
 
Join Date: Oct 2016
Location: Poland
Posts: 34
Quote:
Originally Posted by kolla View Post
This is looks like dd command. I will check it.
Quote:
Originally Posted by AMIGASYSTEM View Post
If you have a PC You can connect the CF Card on WinUAE and from a special function quickly create the image, or more simply use on a PC the tool "USB Image Tool".
I don't want to make a CF image. CF card will be used to store image of hard disk.
QkiZ is offline  
Old 24 February 2019, 11:31   #5
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
Quote:
Originally Posted by QkiZ View Post
This is looks like dd command. I will check it.
I don't want to make a CF image. CF card will be used to store image of hard disk.
The image created with "USB Image Tool" is the same you would like to do "dd command", you can use it to rewrite a new CF, HD-USB, Pendrive etc.., but you can also use it on WinUAE or FS-UAE as a real Hardisk.
AMIGASYSTEM is offline  
Old 24 February 2019, 11:35   #6
QkiZ
Registered User
 
QkiZ's Avatar
 
Join Date: Oct 2016
Location: Poland
Posts: 34
Quote:
Originally Posted by AMIGASYSTEM View Post
The image created with "USB Image Tool" is the same you would like to do "dd command", you can use it to rewrite a new CF, HD-USB, Pendrive etc.., but you can also use it on WinUAE or FS-UAE as a real Hardisk.
Now back to first post and read. I'm asking of Amiga equivalent of dd command. Not Windows equivalent. I'm not using Windows.
QkiZ is offline  
Old 24 February 2019, 11:37   #7
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
All right, do as you please.
AMIGASYSTEM is offline  
Old 24 February 2019, 11:59   #8
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,026
Quote:
Originally Posted by QkiZ View Post
I tried to use TSGUI but partitions are broken and TSGUI can't make an image without partitions.
There is a menu option to select a device by driver.

Also try the latest beta version from my homepage: http://thomas-rapp.homepage.t-online...oads/tsgui.lha
thomas is offline  
Old 24 February 2019, 12:45   #9
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
If you are using Linux, another option is to have a kernel with RDB partition support, and then just use dd. I use mac myself, but run virtualbox with Linux, and let it take over the USB port when I want to mess with Amiga disks.
kolla is offline  
Old 24 February 2019, 16:58   #10
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,349
Using dd in Linux via USB adapter won't work since the ST9051A drive is CHS-only, meaning most USB-IDE converters only work with LBA-capable drives. However WinUAE has special handling for some USB-IDE converters meaning it can be used to create an image file of CHS-only drives. (Search for CHS LBA USB in threads on EAB.)
mark_k is offline  
Old 24 February 2019, 17:09   #11
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,349
Quote:
Originally Posted by thomas View Post
There is a menu option to select a device by driver.

Also try the latest beta version from my homepage: http://thomas-rapp.homepage.t-online...oads/tsgui.lha
Is there a separate thread about TSGUI? I had a quick look and have some questions:
- Can it use HD_SCSICMD for I/O, or does it only use CMD_READ/CMD_WRITE?
- How does it determine the full HDD image size? Most device drivers don't support TD_GETGEOMETRY (e.g. scsi.device, gvpscsi.device, ...). And in cases where READ CAPACITY via HD_SCSICMD is not possible it would be good to be able to manually specify the number of sectors.

Last edited by mark_k; 24 February 2019 at 17:29.
mark_k is offline  
Old 24 February 2019, 17:22   #12
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,349
If you install the Dev-Handler package, use a command like this to create an image file of your entire ST9051A drive:

Extract FROM DEV:scsi.device/0/0/0/0xFFFFFFFE/65536/83712/512 TO MyCF:image_file.bin IBS=65536 OBS=65536 COUNT=654

That's untested, I hope it works! Change the TO filename as appropriate.
mark_k is offline  
Old 09 March 2019, 08:59   #13
QkiZ
Registered User
 
QkiZ's Avatar
 
Join Date: Oct 2016
Location: Poland
Posts: 34
Quote:
Originally Posted by thomas View Post
There is a menu option to select a device by driver.



Also try the latest beta version from my homepage: http://thomas-rapp.homepage.t-online...oads/tsgui.lha
Like I said before this didn't work. TSGUI doesn't make image if it can't read partitions.

Quote:
Originally Posted by kolla View Post
If you are using Linux, another option is to have a kernel with RDB partition support, and then just use dd. I use mac myself, but run virtualbox with Linux, and let it take over the USB port when I want to mess with Amiga disks.
My Linux OS read without any problems affs file system. But this old harddisk isn't working well with USB adapter.

Quote:
Originally Posted by mark_k View Post
Using dd in Linux via USB adapter won't work since the ST9051A drive is CHS-only, meaning most USB-IDE converters only work with LBA-capable drives. However WinUAE has special handling for some USB-IDE converters meaning it can be used to create an image file of CHS-only drives. (Search for CHS LBA USB in threads on EAB.)
Thanks. I will look for this.
Anyway I made image with xfs package from Aminet and bcopy command (also from Aminet).
QkiZ is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
why cannot I boot hard drive directory or hard disk image jotd support.WinUAE 2 31 October 2017 18:00
Creating new HD image on PC for Win UAE problem eebuckeye support.WinUAE 11 07 May 2014 09:23
Creating HDF image with real Amiga. ElectroBlaster support.Hardware 3 26 July 2013 15:09
How to configure WinUAE to use hard disk image file mark_k support.WinUAE 10 07 June 2011 11:41
Newbie Question - Creating HD disk image from CF card edd_jedi support.OtherUAE 4 29 August 2010 17:57

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:38.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11481 seconds with 13 queries