Antwort: Re: Re (2): [Oberon] qemu:access existing partitions
Hi Jack, I did make /dev/hda writable and got the lack of information. Also If you want to find the current problem you don't need a Bluebottle partition. Partition.Show should also tell me about other partitions on my current disk if I mount it. Mit freundlichen Grüßen / Best regards Edgar Schwarz -- Edgar.Schwarz@marconi.com, Postf. 1920, D-71509 Backnang,+49 7191 13 3382, Make it as simple as possible, but not simpler (A.Einstein) Jack Johnson <knapjack@gmail An: ETH Oberon and related systems .com> <oberon@inf.ethz.ch> Gesendet von: Kopie: oberon-bounces@ Blindkopie: inf.ethz.ch Thema: Re: Re (2): [Oberon] qemu:access existing partitions 13.09.2004 04:58 Bitte antworten an Jack Johnson; Bitte antworten an ETH Oberon and related systems On Sun, 12 Sep 2004 23:40:20 +0200 (MEST), edgar@edgarschwarz.de <edgar@edgarschwarz.de> wrote:
Did that, but Partitions.Show didn't find anything about IDE#0. Is it necessary to be root ? When I tried it with root I got a black screen because it seems that root doesn't have an Xserver set up. So how did you succeed ?
I'm afraid I don't have a Bluebottle partition on the same box as Linux, but it should work. I'll try to fish up another drive and see what I can cobble together. I think you've caught the problem, though. Just as you had to make /dev/hda1 world-readable, you may need to do the same to /dev/hda. Or, try using sudo, if you have it installed and configured. If it's some locking/blocking problem accessing that device directly, I suspect you'll see something in kern.log or dmesg. -Jack -- Oberon@inf.ethz.ch mailing list for ETH Oberon and related systems https://www.mail.inf.ethz.ch/lists/listinfo/oberon
On Mon, 13 Sep 2004 08:03:23 +0200, Edgar Schwarz <edgar.schwarz@marconi.com> wrote:
Also If you want to find the current problem you don't need a Bluebottle partition. Partitions.Show should also tell me about other partitions on my current disk if I mount it.
Aha! OK, here's the trick: QEMU doesn't always pass the correct drive geometry to the guest OS, so you need to specify it manually. In my case, I did: sudo qemu -hda /dev/hdc -hdachs 77536,16,63 -cdrom ~/Downloads/ISOs/AosCD.iso -boot d and Partitions.Show correctly showed me my partition map. the CHS in the above command line is in LBA compatibility mode (it would have been '4865,255,63' otherwise, but that didn't seem to work). Also, there are some warnings in the QEMU FAQ against doing what I've proposed, but many people report success. I suspect it depends heavily on the OS (wouldn't want to share the swap space with another Linux instance). There's also a -snapshot option for the paranoid that is supposed to protect the disk from writes but still allow reads. Best of luck, -Jack
participants (2)
-
Edgar Schwarz -
Jack Johnson