Writing Hard Disk Slices #457
Replies: 3 comments 2 replies
-
Hi @hubertushirsch, Thank you for bringing this up. I think you have made two very good points that should be incorporated into the User Guide. First is that you do not need to use Linux/MaxOS to take advantage of Second is that you can point directly to the RomWBW hd1k partition do do the slice manipulations. This is much safer and easier than pointing to the full faw disk. I am out of town this week, but will work on updating the documentation sometime next week. Thanks! Wayne |
Beta Was this translation helpful? Give feedback.
-
Hello Wayne, I don't expect you to include any scripts from me in the documentation. I just wanted to explain why I prefer to work in a Linux-like environment rather than with singular tools under Windows. So the message is: dd is also available under Windows, the user has a choice of several solutions. Just for your information:
Hubert |
Beta Was this translation helpful? Give feedback.
-
I have attempted to address this in commit b032694. Thanks, Wayne |
Beta Was this translation helpful? Give feedback.
-
Referring to section 7.2.4 in the RomWBW User Guide, Writing Hard Disk Slices, I would like to add the following.
This procedure also works under Windows.
I have installed the MSYS2 development environment (https://www.msys2.org/) on my Windows computer.
There I can work in an MSYS shell like under Linux and also have the 'dd' command available.
The media that Windows knows natively are mapped in the MSYS shell as /dev/sd{x} and can be accessed accordingly.
The medium in my card reader, which I am using here as an example, is mapped in MSYS as /dev/sdg.
The card was written with the hd1k combo image, which looks like this in MSYS fdisk:
To write a specific slice with an image, I proceed in the same way as described in 7.2.4, with one exception:
I do not address the entire device (/dev/sdg) as the outfile, but rather the RomWBW partition /dev/sdg1.
The advantage is:
Example 2 from the user guide then looks like this for me:
The seek=48 skips the first 48MB of the partition into which we are writing the image.
48 is calculated as (slice number * 8), where 8 is the size of a slice.
I have found that I do not need elevated rights to access the partition, no need to start the
MSYS shell with 'Run as Administrator'. I can work as a normal, unprivileged user.
To access the entire device (/dev/sdg) I must have elevated rights.
I cannot check on a native Linux system whether an unprivileged user can then do without 'sudo'.
Hubert
Beta Was this translation helpful? Give feedback.
All reactions