#1364 closed bug (fixed)
Bootloader can't find boot volume, booting from 'cdrom-raw' under vmware
Reported by: | aldeck | Owned by: | axeld |
---|---|---|---|
Priority: | low | Milestone: | R1 |
Component: | System/Boot Loader | Version: | R1/pre-alpha1 |
Keywords: | Cc: | mattmadia@… | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
hrev21847, real hardware and vmware, http://haikubeat.free.fr/files/testing/livecd_cue.zip (created on R5 with pauloestrela's script)
The bootloader loads well but can't find any boot volume on the cd (it finds them on harddrives though)
See attached serial log (real hardware, only the cd drive is plugged)
Attachments (5)
Change History (37)
by , 17 years ago
Attachment: | haikuSerial.log added |
---|
comment:1 by , 17 years ago
Component: | - General → System/Boot Loader |
---|
What exactly do you mean by "the cd drive is plugged"? :-)
comment:2 by , 17 years ago
that is, in this serial log, the harddrive was unplugged :-)
btw, sorry for the "HTML preview not available" on the attachment, first time it does this
comment:4 by , 17 years ago
Ok, hrev24211 fixes loading of modules from the floppy. It still doesn't find the partition though.
comment:6 by , 17 years ago
I still have the problem with some of my test machines and vmware. I'd like to test a bit further.
follow-up: 18 comment:7 by , 17 years ago
Ok, i re-tested, i got it to work on 3 real hardware machines. Good work Francois :)
It still doesnt work under vmware though, i'm seeing a (ultra fast) message before the bootloader starts:
"no boot path found, scan for all partitions..." "Could not locate any supported boot device!"
See attached serial log.
PS: mmu_man, can you add a haiku-cd.cue example or file somewhere, for us poor windows burners? :-) (see attached cue file)
by , 17 years ago
Attachment: | serialLog.txt added |
---|
by , 17 years ago
Attachment: | haiku-cd.cue added |
---|
follow-up: 10 comment:9 by , 17 years ago
As for the serial log, it doesn't seem to find the tgz data... maybe your BIOS doesn't like 1.44 floppy emulation... IIRC some work with 2.88 only. Try changing the count=1440 to count=2880 in build/jam/ImageRules.
comment:10 by , 17 years ago
Replying to mmu_man:
Try changing the count=1440 to count=2880 in build/jam/ImageRules.
Tried that without success.
comment:12 by , 17 years ago
Ok, just tested a few more things:
- booting from the hd bootloader, i can't continue booting on cd (even on a cd with a one track image only)
1b. continuing to boot on hd. both the bootimg and full image are found and automounted by tracker.
df gives: /boot bfs 100.0M 3.7M QAM-P-W /dev/disk/ata/0/master/raw /bootimg iso9660 3.2M 0M ----P-- /dev/disk/atapi/1/master/0 /Haiku1 bfs 100.0M 5.0M QAM-P-- /dev/disk/atapi/1/master/1
- booting from the cd bootloader, continuing boot on hd. You can see below that the haiku image from the cd is not there.
df gives: /boot bfs 100.0M 3.7M QAM-P-W /dev/disk/ata/0/master/raw /bootimg iso9660 3.2M 0M ----P-- /dev/disk/atapi/1/master/raw
Hope this helps
follow-up: 14 comment:13 by , 17 years ago
About VMWare: are you sure that VMWare emulates multi-track CD-Roms correctly at all? In fact, when using an image file of a CD there is no way to tell where one track starts or ends. This is due to the fact that this information is stored in the TOC of the CD, which is not part of images (hence why you have to use a CUE-Sheet to burn, as the application cannot know either). Under Bochs or QEMU, when emulating a CD from an image, a single track CD with the full size of the image is emulated because of that. I hacked in the -cdtoc option in the BeOS version of QEMU to specify the starting sectors of tracks to circumvent that. When emulating using a real CD as a source though, they will read and use the TOC of that CD. So if you are using VMWare with a CD image you might not be able to get this to work. What you can try to test whether or not the multi track CD is emulated correctly is to boot Haiku from the HD image and have the CD image attached and then see if you have both, the iso9660 and the BFS track available in the mount menu.
comment:14 by , 17 years ago
Replying to mmlr:
About VMWare: are you sure that VMWare emulates multi-track CD-Roms correctly at all?
I'm testing with a real cd (which works on real hw), ide1:0.deviceType = "cdrom-raw" in the .vmx file.
[...] boot Haiku from the HD image and have the CD image attached and then see if you have both, the iso9660 and the BFS track available in the mount menu.
That's what i just tested in my previous comment. Sorry if i wasn't clear, and thanks for the infos :-)
follow-up: 16 comment:15 by , 17 years ago
You can also just use the floppy image and use the bfs image as a single track CD. For qemu: qemu -cdrom generated/haiku.image -fda generated/haiku-boot-floppy.image -boot a
comment:16 by , 17 years ago
Replying to mmu_man:
You can also just use the floppy image and use the bfs image as a single track CD. For qemu: qemu -cdrom generated/haiku.image -fda generated/haiku-boot-floppy.image -boot a
François, i'm not sure you're replying to me, but if you read carefully my previous comment, i've basically tried this already to see if it could help you, besides i'm talking about running from the normal two tracks cd under vmware not qemu :-/
comment:17 by , 17 years ago
I was talking about testing cd images, as said it's not easy or even supported on qemu and vmware. So using a floppy image + haiku.image as single track cd instead should have the same functional behaviour, for testing, which avoids burning a cd.
comment:18 by , 17 years ago
Replying to aldeck:
It still doesnt work under vmware though, i'm seeing a (ultra fast) message before the bootloader starts:
"no boot path found, scan for all partitions..." "Could not locate any supported boot device!"
I kinda have the same message, but in real hardware:
"No boot path found, scan for all partitions *panic* mmu_free: asked to unmap out of range region (0x8010b000, size 1000) Press any key to reboot"
Tried with rev24521 built from Haikuware.
comment:20 by , 16 years ago
Milestone: | R1/alpha1 → R1 |
---|---|
Priority: | normal → low |
Summary: | Bootloader can't find boot volume, booting from cd → Bootloader can't find boot volume, booting from 'cdrom-raw' under vmware |
Created a fresh dual track cd with, jam haiku-boot-cd, jam haiku-image, burnt with the .cue file under linux with Brasero.
It still works on real hardware. Although the issue on vmware is still there (reading from the raw cdrom drive).
Changing the title as part of issue was fixed back then, still a quite unlikely test-case but might help iron out things. Removing from milestone R1/alpha.
comment:21 by , 16 years ago
Also note with the upcoming fs layer atop ISO it might not be a problem anymore.
comment:22 by , 16 years ago
Note it has never been a "problem" for me :) The question is do we want that to work or not?
Similar issue with an iso9660 created with jam haiku-cd, hrev29242 (tested booting ok on real hardware), not finding any boot volume (vmware with the real cd 'cdrom-raw')
Same when booting from the iso image file (ie: with ide0:0.deviceType = "cdrom-image", ide0:0.fileName = "haiku-cd.iso")
QEMU boots ok though: qemu -cdrom haiku-cd.iso
comment:23 by , 16 years ago
Blocking: | 3451 added |
---|
comment:23 by , 16 years ago
Blocking: | 3451 removed |
---|
quoting diver from duplicate #3451 "Vmware server can't boot off ISO, the same iso is working just fine in vbox"
comment:25 by , 14 years ago
Replying to luroh:
aldeck: want to keep this one around still?
Depends if the bug is around still :) I personally don't give a damn, but on principle i guess it doesn't hurt to keep it if someone is investigating a related issue in the future, did anyone test recently?
comment:27 by , 14 years ago
If this is a bug in Haiku then yes it's still present in hrev39815. Tested with gcc2 versions of haiku.image + haiku-boot-cd.iso. CD burned in Linux with Brasero + cue file (cdrdao required). Tested in VMware Player 3.1.3, screenshot and serial output attached.
The same CD boots fine on real hardware, but hangs at the red rocket in Vbox 3.2.12.
by , 14 years ago
Attachment: | screenshot_39815.png added |
---|
by , 14 years ago
Attachment: | serial_39815.txt added |
---|
comment:28 by , 14 years ago
Can you recheck this with a recent Haiku build? Can you test it with both the nightly anyboot and then the CD ISO images burned to CDs and let us know how the testing goes?
comment:29 by , 14 years ago
Blocking: | 7665 added |
---|
comment:30 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Seems fixed. Tested with gcc2 hrev44849 versions of haiku.image + haiku-boot-cd.iso. CD burned in Linux with Brasero + cue file (cdrdao required). Tested in VMware Player 5.0.1. The CD also boots fine on real hardware.
comment:31 by , 6 years ago
Blocking: | 7665 removed |
---|
serial log