can haiku install application or hardware-driver-software into other disk?
for example.
i get two disks or partitions.
haiku live in disk A or partition A.
its application (bala bala…) install into disk B or partition B.
can it be Ok?
can haiku install application or hardware-driver-software into other disk?
for example.
i get two disks or partitions.
haiku live in disk A or partition A.
its application (bala bala…) install into disk B or partition B.
can it be Ok?
Installing Haiku applications is as easy as putting them in the packages folder,so yes,that works.
Mount the second disk or partition and copy the .hpkg file into its packages folder.
Just make sure that you also copy all dependencies that the application needs.
If you reboot to the second Haiku installation,it will automatically detect the new apps.
should i do some “link” stuff?
Not exactly sure what you mean.
Symlinks?
No,that wouldn’t work because the mount paths are different when you boot from the other disk/partition and the current boot partition may not be mounted at all there.
Just copy&paste the file,that’s the easiest solution and will work if all dependencies are there and the architecture is the same.
well, i want to install haiku into USB-device withq efi booting.
and, how about just to use the night building?
just need to change the application folder into the other partition of the same USB-decice.
is it a weird idea?
You can use the Installer application to do that.
It will copy all applications and your personal files to the new installation.
A Haiku executable will run from anywhere. The tricky bit is when it needs to find dependencies. I suppose you could replace /boot/home/config/packages with a symlink to a folder on the second drive. But you may end up installing libraries you already have.
the installer can not build Elf booting stuff.
it just get BIOS booting thing.
If you want to install Haiku to another partition on the same USB device,the EFI partition on that device already exists,nothing to do here.
The EFI bootloader will automatically boot the first bootable Haiku installation that it finds,so you may need to remove the partition from which you installed when you’re done.
If you’re installing to another device,you need to create a small FAT32 partition and copy the contents of the installers EFI partition to it.
For all other stuff you can still use the Installer.
I think the question is about having the operating system on one disk, and the applications in another. Basically making a “portable apps” setup as is commonly done for some other systems, where you can have your favorite apps on an usb drive, plug that to any computer running the same OS, and have your apps already set up and ready for use.
And I’d say the short answer to that is no, it’s not easily possible with applications packaged at hpkg files.
What would be needed to make it happen:
I’d say the second option (making it easy to create more package mountpoints) seems interesting. For example when experimenting with software packaging, it may be nice to not need to risk messing up the main package directory and know that if things go wrong, you can easily delete the experiment directory and start over.
well,well,well.
i dd the iso into my USB-device.
run the installer.
install haiku into the rest partition of the same USB-device.
then delete the first bfs partition.
so, i get the USB-device.
/dev/disk/usb/0/0/raw USB Sandisk 3.2Gen1 1.00 57.30 GiB
- Empty space 656.00 MiB
/dev/dev/disk/usb/0/0/0 FAT32 File System haiku esp 2.81 MiB 512
★ /dev/disk/usb/0/0/1 Be File System Haiku /boot 56.66 GiB 2048
Ok, shutmdown -r
it boot with Elf stuff.
well, you guys really should write some auto-script into the installer. and introduce the easy way in the handbook.
by the way, its PowerStatus be frozen( i take off the battery of the laptop) and take all system into half-frozen status.
it is hrev59053.
well, it is a very good answer.
i understand it.
![]()