Opened 15 years ago

Closed 12 years ago

Last modified 12 years ago

#5578 closed enhancement (fixed)

Implement the ability to mount Anyboot images

Reported by: mmadia Owned by: nobody
Priority: normal Milestone: R1
Component: - General Version: R1/Development
Keywords: Cc: degea@…
Blocked By: Blocking:
Platform: All

Description

With the addition of Anyboot Images to the build system & soon to the www.haiku-files.org, it would be useful for Haiku to be capable of mounting the anyboot images seamlessly.

Some information from mmlr: They include a valid partitioning system. So, they could be registered as file devices and then the individual partitions could be normally mounted.

Attachments (1)

syslog (22.3 KB ) - added by taos 12 years ago.
last part of syslog in hrev44599

Download all attachments as: .zip

Change History (7)

comment:1 by taos, 13 years ago

Mounting of anyboot images would be great - especially if haiku no longer distributes raw (alpha) images (can't find any on http://www.haiku-os.org/get-haiku at least).

A raw image file can be mounted and then chosen as source disk in Installer - a very easy and fast way to install Haiku if you have two partitions for testing purposes. With a raw image file it is also easy to disable (delete) a driver that would prevent your system from booting properly before haiku is installed - I remember a nasty wlan driver that would crash my system even in safe mode if not deleted.

As long as anyboot images can't be mounted in haiku raw images shouldn't be abandoned completely.

comment:2 by diver, 12 years ago

Apparently it was implemented quite some time ago, but wasn't added to HaikuImage:
http://cgit.haiku-os.org/haiku/tree/src/bin/diskimage.cpp

comment:3 by mmadia, 12 years ago

Resolution: fixed
Status: newclosed

hrev44575 is the addition of diskimage to the image, allows anyboot files (and other files) to be registered as a disk device.

Thanks luroh for testing and Ingo for writing it!

comment:4 by taos, 12 years ago

Using hrevr1alpha4-44579 and hrev44599.

I'm able to register an anyboot image as device via "diskimage register" in terminal. Unfortunately, it seems I can't get to mount it in any way I can think of (last part of syslog is attached). Apart from that, i would prefer to be able to mount an anyboot image in the same way as e.g. a raw or iso image file - just by double-clicking it.

by taos, 12 years ago

Attachment: syslog added

last part of syslog in hrev44599

comment:5 by ttcoder, 12 years ago

Cc: degea@… added

comment:6 by taos, 12 years ago

Using hrev44618.

I'm now able to mount the registered anyboot image via drivesetup.

Note: See TracTickets for help on using tickets.