Opened 4 years ago

Closed 4 years ago

#16587 closed bug (fixed)

Cannot upgrade Haiku Nightly Installation to Latest Revision without formatting partition in VirtualBox

Reported by: jt15s Owned by: nielx
Priority: normal Milestone: Unscheduled
Component: Applications/Installer Version: R1/beta2
Keywords: Cc: nielx
Blocked By: Blocking:
Platform: All

Description

Hi there,

Upgrading A) Haiku Beta 2 in VirtualBox to a Haiku Nightly Revision and B) a Haiku Nightly Revision to a newer Nightly Revision requires the virtual hard disk (formatted to BeFS) to be unmounted and formatted as BeFS again. Otherwise, the installer throws a "directory does not exist" error. Thankfully, I haven't put anything in the VHD, so formatting the VHD is fine for me, but it might be inconvenient for users who have files stored in the VHD.

I have been upgrading Haiku Installations in VirtualBox by downloading the latest Nightly, unzipping the file and then loading and booting from the extracted ISO file.


My VirtualBox configuration is as follows:

  • Operating System: Other, 64-bit
  • System:
    1. Base Memory: 1024MB
    2. Boot Order: Floppy, Optical, Hard Disk
    3. Acceleration: VT-x/AMD-V, nested paging
  • Display:
    1. Video Memory: 36MB
    2. Scale-factor: 3.00
    3. Graphics Controller: VBoxVGA
    4. Remote Desktop Server & Recording: Disabled
  • Storage:
    1. Controller: IDE
    2. IDE Primary Master: Haiku.vdi (Normal, 4.00GB)
  • Audio:
    1. Host Driver: Windows DirectSound
    2. Controller: ICH AC97
  • Network:
    1. Adapter 1: Intel PRO/1000 MT Desktop (NAT)
  • USB:
    1. USB Controller: OHCI

Thanks!

Attachments (5)

Screenshot 2020-10-30 171238.png (117.1 KB ) - added by jt15s 4 years ago.
Screenshot 2020-10-30 171255.png (148.7 KB ) - added by jt15s 4 years ago.
What the Drive Partition tool shows for my VirtualBox setup.
Screenshot 2020-10-30 171323.png (98.9 KB ) - added by jt15s 4 years ago.
The error displayed by the installer.
beta2-files (49.8 KB ) - added by nielx 4 years ago.
File list of the target partition after wiping the drive and doing an install
hrev54782-files (44.4 KB ) - added by nielx 4 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 by jt15s, 4 years ago

Apologies for the misleading title: I meant "Virtual Hard Drive" instead of "Partition".

Thanks.

by jt15s, 4 years ago

by jt15s, 4 years ago

What the Drive Partition tool shows for my VirtualBox setup.

by jt15s, 4 years ago

The error displayed by the installer.

comment:2 by humdinger, 4 years ago

Not saying this isn't a bug in Installer, just pointing out: updating is usually done with pkgman/SoftwareUpdater after setting the desired repo with pkgman/Repository prefs. See https://www.haiku-os.org/guides/daily-tasks/updating-system

comment:3 by jt15s, 4 years ago

I've noticed updating Software fails too. The Software Updater downloads most packages and installs them, but the last few package updates fail for some odd reason, with an error message. IIRC, it says something like "This package could not be downloaded/installed".

comment:4 by diver, 4 years ago

Cc: nielx added
Component: - GeneralApplications/Installer
Keywords: Virtualbox Haiku Installation removed
Platform: x86-64All

comment:5 by nielx, 4 years ago

Owner: changed from nobody to nielx
Status: newin-progress

I'm going to try to reproduce this.

by nielx, 4 years ago

Attachment: beta2-files added

File list of the target partition after wiping the drive and doing an install

by nielx, 4 years ago

Attachment: hrev54782-files added

comment:6 by nielx, 4 years ago

The 'Clean Install' feature seems to behave as it should on a normal setup where the Disk is partitioned and has one Haiku partition. The next question is about the drive layout. From attachment:"Screenshot 2020-10-30 171255.png" it looks like the drive you are trying to install on, does not have any partition map. Instead it is a raw disk.

I tried to reinstall on a raw disk, and that scenario also worked. I did not see the error in attachment:"Screenshot 2020-10-30 171323.png".

So I cannot reproduce the issue. Could you use checkfs on your machine to try and see if the filesystem is working correctly?

comment:7 by jt15s, 4 years ago

Hello,

I tried installing Haiku on a new virtual machine. I first installed Beta2, then attempted to upgrade to a Nightly Image from October - that produced the problem I described above. I checked twice, and the disk shown in the partition setup and the screenshot I sent originally are correctly formatted - if you look in the File System column it says "BeFS".

Then I tried installing the latest Nightly Image - that worked fine with no issues at all. So, it looks like the issue has been fixed in the latest Nightly. Thus, I think we can consider this issue fixed and close the ticket.

Thanks for your help!

comment:8 by nielx, 4 years ago

Resolution: fixed
Status: in-progressclosed

Thanks for checking. The change that fixed the clean install was made on 16 November 2020 as hrev54713

Note: See TracTickets for help on using tickets.