Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
50 user(s) are online (40 user(s) are browsing Forums)

Members: 0
Guests: 50

more...

Support us!

Headlines

 
  Register To Post  

Emergency Boot Partition
Just popping in
Just popping in


See User information
Hello.

I just installed AmigaOS 4.1 FE Update 3 in my new A1222 system. I bought Enhancer 2.2 but before messing with that, I want to be sure I have a backup.

So I have created a DH1 partition (SysBack) with the same size as my DH0 (System).

All I have to do to have an emergency boot backup is copy DH0 contents to DH1 an set the boot flag? What boot priority should I set for this backup partition?

DO I have to set something else in U-Boot?

Regards

PowerBook 5.8 MorphOS 3.19
A1222 Tabor AOS4.1 FE Update 3
Go to top
Re: Emergency Boot Partition
Home away from home
Home away from home


See User information
@emeck
On the backup boot partition create a text file
:Kickstart/BootDevice
with the content "DH1" (without quotes), and add
MODULE Kickstart/BootDevice
to it's :Kickstart/Kicklayout file.
That way if you load the kickstart modules from DH1: AmigaOS will be booted from DH1: as well, without it only the kickstart modules would be loaded from DH1: but AmigaOS would still boot from DH0: and use it as SYS:.

The boot priority of the backup boot partition has to be lower than the one of the main DH0: one in Media Toolbox.
For example if the boot priority of DH0: is 0 you can use -1 for DH1:.

In U-Boot make sure the boot menu is displayed, most of the firmwares do have something like a "quiet", and/or a "(menu) timeout", env variable, which skips displaying it's boot menu and directly boots from the partition with the highest boot priority, but I don't know the variable names used in the A1222+ version of U-Boot.

Go to top
Re: Emergency Boot Partition
Just popping in
Just popping in


See User information
@joerg

Thanks! I did as you wrote and also changed the label in the kicklayout file in DH1.

In U-Boot I can see both boot partitions, selected #2 for DH1 (the backup) and booted to AmigaOS in a different resolution and workbench backdrop that was set in the DH0 one.

So I guess it is working correctly.

Thanks again for the help.

Now to mess with Enhancer.

Regards

PowerBook 5.8 MorphOS 3.19
A1222 Tabor AOS4.1 FE Update 3
Go to top
Re: Emergency Boot Partition
Just can't stay away
Just can't stay away


See User information
@emeck

When creating the copy from your newly installed Update 3 partition to the Emergency backup, I'd recommend using the new Mirror command from Update 3 instead of a simple Copy. It will among other niceties preserve the links correctly, for instance in your SObjs dir.

Another thing you might want to check is whether you have any explicit references to your first partition (volume name or device name) in any saved prefs (e.g. WBPattern used to have this problem) or in your AmiUpdate prefs setup or places like WBStartup or AmiDock. You probably want those to refer to SYS: instead, so they correctly point to your new partition when you have booted that, and vice versa.

There may be other similar cases I forgot to mention, but you get the idea, I hope.

BTW, Mirror can also be useful if you have installed new stuff on your SYS:, tested and made sure you can still boot, and you then want your emergency copy freshened to have the same updates.


Best regards,

Niels

Go to top
Re: Emergency Boot Partition
Quite a regular
Quite a regular


See User information
@emeck
Quote:
I bought Enhancer 2.2 but before messing with that, I want to be sure I have a backup

I don’t own an A1222, but the ES2 comes bundled with it. I think you bought an extra copy unnecessarily.
When you purchased the system, you received a USB drive containing the installation version of the system. It is highly recommended that you make a backup copy of this USB drive.
There have been instances where the contents of the USB drive were accidentally damaged.
The UP3 update for the A1222 itself doesn’t contain many (critical) fixes. The AOS4 system for the A1222 was slightly ahead of the version for other platforms. UP3 brings all system components up to the same version.

If you have the opportunity and need to make a backup—do not back up the system to the same drive/partition. If possible, buy a new similar drive and make a 1:1 copy.
If I remember correctly, you can also make a system backup using a program by @joerg (sorry, I don’t remember the name, I think it’s the AmiDVD player)... there’s a description somewhere on the forum.

EDIT:
One more important note. The system that comes with the A1222 already includes ES2 components.
Some of these components are included in versions other than the clean AOS4 system from Hyperion.
It is not recommended to install the entire ES2 package after updating to UP3. It will overwrite important system files in the “other” versions.


Edited by smarkusg on 2026/5/8 22:17:53
Go to top
Re: Emergency Boot Partition
Just can't stay away
Just can't stay away


See User information
@smarkusg

Quote:
It is not recommended to install the entire ES2 package after updating to UP3. It will overwrite important system files in the “other” versions.
If you ask me, it is not recommended to install the entire ES package at all. I'd always only install the bits you really need/want. For me, that's normally just the RadeonHD/RX stuff (depending on the card I have in that machine) plus MultiViewer/MultiEdit and a few other utilities which I have tested and find useful and well-behaved. Certainly not any commands or preferences, as they overwrite the system versions with less well-tested versions which have in several cases been found to make trouble.

Unfortunately, to achieve this, you have to un-check, one by one, a lot of checkboxes in the installer, so only the section(s)/bit(s) you want are checked. It would have been easier if there were a function to "deselect all" in the installer, but unfortunately not.

Best regards,

Niels

Go to top
Re: Emergency Boot Partition
Quite a regular
Quite a regular


See User information
@nbache
So I guess I'd better put it this way .
If all the programs included in ES2 are working properly after the UP3 update, don't install anything from ES2.
Also, don’t update using the “updater” from AEON. I hope no one is checking it or running it.
The version for A1222 already includes everything important from AEON... @Emeck, don’t check it unless there’s a program on the list that you need to update or you’ve bought something.

Go to top
Re: Emergency Boot Partition
Just popping in
Just popping in


See User information
@nbache
Quote:
nbache wrote:@emeck

When creating the copy from your newly installed Update 3 partition to the Emergency backup, I'd recommend using the new Mirror command from Update 3 instead of a simple Copy. It will among other niceties preserve the links correctly, for instance in your SObjs dir.


Thanks for the tip. One problem I see with Mirror is that it replaces the Kicklayout file with the one in DH0 and deletes the BootDevice file in DH1.

I'll add a reminder for that in my "cheat sheet" for creating/updating my Emergency Boot Partition.

Quote:
nbache wrote:@emeck

Another thing you might want to check is whether you have any explicit references to your first partition (volume name or device name) in any saved prefs (e.g. WBPattern used to have this problem) or in your AmiUpdate prefs setup or places like WBStartup or AmiDock. You probably want those to refer to SYS: instead, so they correctly point to your new partition when you have booted that, and vice versa.


WBPattern and WBStartup OK. I had to change things in Amidock. Another check for the "cheat sheet".

I see some things in Env-Archive also use DHO, but I suppose those are harmless, right?

Regards

PowerBook 5.8 MorphOS 3.19
A1222 Tabor AOS4.1 FE Update 3
Go to top
Re: Emergency Boot Partition
Just popping in
Just popping in


See User information
@smarkusg
Quote:
smarkusg wrote:@emeck

I bought Enhancer 2.2 but before messing with that, I want to be sure I have a backup

I don't own an A1222, but the ES2 comes bundled with it. I think you bought an extra copy unnecessarily.
When you purchased the system, you received a USB drive containing the installation version of the system. It is highly recommended that you make a backup copy of this USB drive.
There have been instances where the contents of the USB drive were accidentally damaged.[/quote]

My A1222 is a "developer/early adopter" second hand system, so it didn't came with Enhancer.

I replaced the original SSD with one bigger and used a bootable USB drive with the installer succesfully.

Now I want a backup of System so I don't have to start from scratch again.

Quote:

If you have the opportunity and need to make a backup-do not back up the system to the same drive/partition. If possible, buy a new similar drive and make a 1:1 copy.


Yes, that is also a good idea. I may use the original SSD for that. That way I have 2 emergency disks/partitions.

If I remember correctly, you can also make a system backup using a program by @joerg (sorry, I don't remember the name, I think it's the AmiDVD player)... there's a description somewhere on the forum.

Quote:

EDIT:
One more important note. The system that comes with the A1222 already includes ES2 components.
Some of these components are included in versions other than the clean AOS4 system from Hyperion.
It is not recommended to install the entire ES2 package after updating to UP3.


I have unpacked the Enhancer package and I'm adding bit by bit what I think could be useful, without overwriting any file that is already in System. The sound driver for example and gadgets/images for getting Clock, Calendar, MultiEdit and Multiviewer working.

Now I'll have to do the same for the RadeonHD driver and Warp3DNova, etc.

PowerBook 5.8 MorphOS 3.19
A1222 Tabor AOS4.1 FE Update 3
Go to top
Re: Emergency Boot Partition
Just popping in
Just popping in


See User information
@nbache
Quote:
nbache wrote:@emeck

BTW, Mirror can also be useful if you have installed new stuff on your SYS:, tested and made sure you can still boot, and you then want your emergency copy freshened to have the same updates.


So the command for Mirror should be like this?

Mirror FROM System: TO SysBack: ALL UPDATE VERBOSE

PowerBook 5.8 MorphOS 3.19
A1222 Tabor AOS4.1 FE Update 3
Go to top
Re: Emergency Boot Partition
Just can't stay away
Just can't stay away


See User information
@emeck

Quote:
Thanks for the tip. One problem I see with Mirror is that it replaces the Kicklayout file with the one in DH0 and deletes the BootDevice file in DH1.

I'll add a reminder for that in my "cheat sheet" for creating/updating my Emergency Boot Partition.

True, these are (practically) unavoidable as far as I can see, good idea to keep a list of things to do after cloning.

Quote:
I see some things in Env-Archive also use DHO, but I suppose those are harmless, right?

Not necessarily, that depends on what they are. But e.g. your prefs files are also stored in ENVARC: (in the Sys subdir), and we already dealt with them (or some of them) above.

In general, if you have anything in ENVARC: containing the device name or volume name of your first boot partition, I'd change them to SYS: - that makes it unnecessary to include them on your cheat list.

Best regards,

Niels

Go to top
Re: Emergency Boot Partition
Just can't stay away
Just can't stay away


See User information
@emeck

Quote:
So the command for Mirror should be like this?

Mirror FROM System: TO SysBack: ALL UPDATE VERBOSE

Without having tested this exact line - yes, it looks right to me.

The VERBOSE switch is of course a matter of taste, I normally use QUIET.

And the UPDATE switch is of course not necessary to create the initial copy, where the destination is empty.

Best regards,

Niels

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project