How can I do this as all I get is the AmigaDOS SETPATCH: wrong number of arguments and when I type in ed s:startup-sequence and delete the line I added and click on top left nothing happens and I have turn the Amiga off and rebooted and the same screen comes back??
Instead of typing that, type the following:
info
Is your system partition write enabled? If not, then your machine needs to validate the partition. If it says "validating" in the status column, just leave it for a while and periodically re-check. You can't write to a partition that is being validated.
If the partition is writeable, type:
list s:startup-sequence
Pay attention to the protection bits. The flags for rwd should at least be present (readable, writeable, deletable). If any of these are missing, type:
protect +rwd s:startup-sequence
and then list the file again to make sure they were set.
At this stage, your startup sequence is both editable and your partition is valid. To prevent weirdness, set up a minimal working environment typing the following:
assign env: envarc:
assign t: ram:
Now edit your startup sequence:
ed s:startup-sequence
This time, save it by pressing esc to bring up Ed's internal command line prompt (an asterisk) and type:
sa/s:startup-sequence.new/
then hit enter. This should save your file as a new file with the name specified.
Confirm this by typing
list s:startup-sequence#?
You should see both files and your newly edited one should have a different size if you have made modifications to it.
Now type the following:
rename s:startup-sequence s:startup-sequence.old
rename s:startup-sequence.new s:startup-sequence
then reboot.
Assuming you have no other problems with your startup-sequence file, this should work fine.