knapjack@gmail.com wrote
<edgar@edgarschwarz.de> wrote:
How can I find the LBA parameters of my drive ? Using Oberon, Linux, Windows ? Using Linux I use fdisk: # fdisk -l /dev/hda Disk /dev/hda: 30.0 GB, 30005821440 bytes 16 heads, 63 sectors/track, 58140 cylinders I did that and also installed sudo doing your example command. I booted from a Bluebottle ISO CD image. But I couldn't see more than a IDE#2 cdrom with Partitions.Show later. So my question is: did you manage to mount an existing AosFS partition on a HD with write access booting Bluebottle with qemu ? If yes could you give me a detailed description please ? Also what did you put in /etc/sudoers ? What Unix did you use ?
Another question is whether Felix and Guenter have time to work on a Linux port of Bluebottle ? This would be preferable naturally. Cheers, Edgar -- edgar@edgarschwarz.de, Running Bluebottle www.edgarschwarz.de Make it as simple as possible, but not simpler ! Albert Einstein www.edgar-schwarz.de/cgi-bin/moin/ www.edgar-schwarz.de/cgi-bin/moin/SwOberon
On Tue, 26 Oct 2004 21:51:29 +0200 (MEST), edgar@edgarschwarz.de <edgar@edgarschwarz.de> wrote:
So my question is: did you manage to mount an existing AosFS partition on a HD with write access booting Bluebottle with qemu ?
I never got that far, but only for lack of trying. I now have a second workstation I can experiment with. Let me repartition, burn a disc or two and find something to write with and I'll let you know how I managed. -Jack
On Tue, 26 Oct 2004 20:24:13 -0700, Jack Johnson <knapjack@gmail.com> wrote:
I'll let you know how I managed.
Alright! OK, in my particular instance, I took a 4GB disk and erased all the partitions. I did a nice, standard Bluebottle install, creating a 258MB 1st partition, setting it active, and following the steps from the installation text. I did *not* install the Bluebottle boot manager. Then, I installed Ubuntu Linux, a nice Debian variant. I let it use the remaining free space and install GRUB as the bootloader. Then I installed QEMU. Now, we need to let GRUB know that Bluebottle can be booted. It's much like dual-booting Windows, and GRUB makes this easy, so I just added a few lines to /boot/grub/menu.lst: ### END DEBIAN AUTOMAGIC KERNELS LIST title Bluebottle Oberon root (hd0,0) chainloader +1 and I tested a reboot, which works fine, and I can dual-boot into Bluebottle. Now, Ubuntu uses QEMU version 0.5.5, so your command line switches may vary. I want Oberon to boot from the same hard drive as my Linux installation (even though this may be dangerous according to the documentation -- I suspect it's fine given that we're using a separate partition). But, QEMU wants the drive parameters in LBA format, so I need some info from my drive first: jack@tlon:~ $ sudo fdisk /dev/hda Command (m for help): p Disk /dev/hda: 4325 MB, 4325529600 bytes 255 heads, 63 sectors/track, 525 cylinders If the number of heads is 255, I know that I need to do some math. To turn this cylinder, head, and sector data into LBA format I take the number of heads and multiply it by the number of cylinders, then divide by my "new" LBA head count of 16 and round down: 525 * 255 = 8367.1875 * 16 so now I feed my "new" cylinder count of 8367 to QEMU. I need root access to the hard drive device so I can write disk changes, and both Ubuntu and I like sudo, so: sudo qemu -hdachs 8367,16,63 /dev/hda and voila, I'm booting Bluebottle inside QEMU inside Linux, and I can dual-boot either OS. Which is great, because this particular workstation has an unsupported NIC, and I've run out of pennies. Good luck! -Jack
Another question is whether Felix and Guenter have time to work on a Linux port of Bluebottle ? This would be preferable naturally. At the moment I'm still occupied with my thesis and will be until end of
Hi Edgar, this year. But I still have plans to do (parts of) a port of Bluebottle to Linux next year, depending on if the community is still longing for it (in view of the existence of qemu) and if the authors, in particular Guenter, permit (or even support) an extension of their code. Main task is to port AosActive (with all its implications), the graphics display shouldn't be that hard. Since Guenter has already provided a support of threads it should roughly work as it did for WinAos. Felix.
participants (3)
-
edgar@edgarschwarz.de -
Felix Friedrich -
Jack Johnson