Hi Paul, Probably yes, I was curious how original RISC.ing was produced as it has only used sectors in it, some 321? So the creator must have had some fairly good guess, and I want to do the same. Tomas On Fri, 14 Apr 2017 13:45:17 +0100 Paul Reed <paulreed@paddedcell.com> wrote:
Hi Tomas,
I think Chris' method is safer. If the Kernel reports 921 sectors in use, it doesn't necessarily mean they are contiguous.
Cheers, Paul
Hi Christopher,
Thank you, I have in the end resorted to: $ dd if=/dev/sdc of=OBERON1.FS bs=1K skip=265K count=65K
`System.Watch' reports 921 sectors used, so I tempted to try $ dd if=/dev/sdc of=OBERON1.FS bs=1K skip=265K count=921, instead.
Which goes very fast on RPI here.
Tomas
On Thu, 13 Apr 2017 20:43:16 +0200 Tomas Kral <thomas.kral@email.cz> wrote:
Hi,
EDIT, at the end EDIT(2), at the end
Reading some earlier post by Paul Read, I look for `dd' syntax to save and restore my work on uSD card.
Providing uSD card is formatted as 256MB FAT + 65MB OBERON.
Restore my work indexed as `1' may work like this, $ dd if=OBERON1.FS of=/dev/sdc bs=1024 seek=262145
By how about saving the work first, $ dd if=/dev/sdc of=OBERON1.FS bs=1024 skip=262145 count=???
What count should I use? `System.Watch' may give a clue, but does not seem exact.
EDIT, correction
I could also use a fixed value of the whole 65MB Oberon partition, but not sure if below is correct $ dd if=/dev/sdc of=OBERON1.FS bs=1024 skip=262145 count=$((65*1024))
EDIT(2), correction
Reading `dd' manual, allows for suffixes, $ dd if=/dev/sdc of=OBERON1.FS bs=1K skip=265K count=65K Correct?
Many thanks. Tomas -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon