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:
- Base Memory: 1024MB
- Boot Order: Floppy, Optical, Hard Disk
- Acceleration: VT-x/AMD-V, nested paging
- Display:
- Video Memory: 36MB
- Scale-factor: 3.00
- Graphics Controller: VBoxVGA
- Remote Desktop Server & Recording: Disabled
- Storage:
- Controller: IDE
- IDE Primary Master: Haiku.vdi (Normal, 4.00GB)
- Audio:
- Host Driver: Windows DirectSound
- Controller: ICH AC97
- Network:
- Adapter 1: Intel PRO/1000 MT Desktop (NAT)
- USB:
- USB Controller: OHCI
Thanks!
Attachments (5)
Change History (13)
comment:1 by , 4 years ago
by , 4 years ago
Attachment: | Screenshot 2020-10-30 171238.png added |
---|
by , 4 years ago
Attachment: | Screenshot 2020-10-30 171255.png added |
---|
What the Drive Partition tool shows for my VirtualBox setup.
by , 4 years ago
Attachment: | Screenshot 2020-10-30 171323.png added |
---|
The error displayed by the installer.
comment:2 by , 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 , 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 , 4 years ago
Cc: | added |
---|---|
Component: | - General → Applications/Installer |
Keywords: | Virtualbox Haiku Installation removed |
Platform: | x86-64 → All |
comment:5 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → in-progress |
I'm going to try to reproduce this.
by , 4 years ago
Attachment: | beta2-files added |
---|
File list of the target partition after wiping the drive and doing an install
by , 4 years ago
Attachment: | hrev54782-files added |
---|
comment:6 by , 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 , 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 , 4 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Thanks for checking. The change that fixed the clean install was made on 16 November 2020 as hrev54713
Apologies for the misleading title: I meant "Virtual Hard Drive" instead of "Partition".
Thanks.