Thread: Amix in WinUAE
View Single Post
Old 16 August 2013, 21:41   #90
Noth
Registered User
 
Noth's Avatar
 
Join Date: Aug 2013
Location: Lausanne, Switzerland
Posts: 184
Quote:
Originally Posted by mark_k View Post
Why the strange offset and sizelimit arguments? Aren't they supposed to be specified in bytes, not (512-byte) sectors?
Yeah they have to be in bytes (of kbytes or mbytes... just use K or M or G at the end of the statement). Thanks for that, too much late night activity. I'm able to mount the root partition doing this:

Code:
losetup -o 65536 --sizelimit 724566K /dev/loop1 /mnt/Documents\ and\ Settings/Public/Documents/Amiga\ Files/WinUAE/tapeamix.hdf

mount -o loop -o ufstype=old,ro -r -t ufs /dev/loop1 /mnt2/
For those who don't know the AMIX disk structure, the first 128 blocks are reserved for the RDB (Rigid Disk Block), hence the 65536 bytes offset, then you have your UNIX_Root partition (in this case mine is 724556K large), then the UNIX_Swap partition, then the UNIX_Boot partition that is always 2048k big. Anything after that are user created partitions, made after firstboot.
Noth is offline  
 
Page generated in 0.04522 seconds with 11 queries