* [Qemu-devel] it works !
@ 2004-03-25 19:56 vaise
2004-03-26 9:03 ` Jean-Michel POURE
0 siblings, 1 reply; 3+ messages in thread
From: vaise @ 2004-03-25 19:56 UTC (permalink / raw)
To: qemu-devel
Here is a little trick to allow "already installed" partitions to boot.
(As I said, with only "dd if=/dev/hda of=file.img count=6M" and "qemu
file.img", bootloaders crash)
1- create and install the partition in "normal mode", ( on hda1 for example )
(do not do the same mistake as me, prepare a linux boot disk before !!!)
make a copy of hda1 under linux, skiping the first 63 blocks :
dd if=/dev/hda of=original.img count=6M skip=63
2- prepare the file "qemu_hd.img" with qemu .fdisk. format it, and install the
OS too. after the reboot, it should fail, complaining about a memory
allocation problem. Don't care, shut down.
3- use the option "seek" on the two files :
dd if=original.img of=qemu_hd.img seek=63
(qemu_hd.img must already have been created, as said before)
4- qemu -hda=qemu_hd.img -boot c
Youpi !
notice : harware detection does not work yet.
notice 2 : block size on mandrake 10 is 512, not 1024 !
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] it works !
2004-03-25 19:56 [Qemu-devel] it works ! vaise
@ 2004-03-26 9:03 ` Jean-Michel POURE
2004-03-26 12:18 ` Richard Zidlicky
0 siblings, 1 reply; 3+ messages in thread
From: Jean-Michel POURE @ 2004-03-26 9:03 UTC (permalink / raw)
To: qemu-devel
Le jeudi 25 Mars 2004 20:56, vaise@votreservice.com a écrit :
> Here is a little trick to allow "already installed" partitions to boot.
Thanks for the info. I did a normal installation on SuSE 8.2 too and booted in
Qemu without problem. But it takes a long time. Wouldn't it be easier to
install GNU/Linux directly in qemu using a CD-ROM installer?
Installers for Mandrake 10, Mandrake 9.x, RedHat 9.x or even Fedora RC-2 are
derived from a RedHat base. In all cases, installation in text mode fails
because of CD-ROM recognition problems (see my screenshots on
http://am.xs4all.nl/phpwiki/index.php/Qemu).
Is there a way of loading the CDROM module manually, with IRQ and hardware
address (like it is the case for the "ne" network driver)?
Cheers,
Jean-Michel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] it works !
2004-03-26 9:03 ` Jean-Michel POURE
@ 2004-03-26 12:18 ` Richard Zidlicky
0 siblings, 0 replies; 3+ messages in thread
From: Richard Zidlicky @ 2004-03-26 12:18 UTC (permalink / raw)
To: jm, qemu-devel
On Fri, Mar 26, 2004 at 10:03:08AM +0100, Jean-Michel POURE wrote:
> Le jeudi 25 Mars 2004 20:56, vaise@votreservice.com a écrit :
> > Here is a little trick to allow "already installed" partitions to boot.
>
> Thanks for the info. I did a normal installation on SuSE 8.2 too and booted in
> Qemu without problem. But it takes a long time. Wouldn't it be easier to
> install GNU/Linux directly in qemu using a CD-ROM installer?
>
> Installers for Mandrake 10, Mandrake 9.x, RedHat 9.x or even Fedora RC-2 are
> derived from a RedHat base. In all cases, installation in text mode fails
> because of CD-ROM recognition problems (see my screenshots on
> http://am.xs4all.nl/phpwiki/index.php/Qemu).
>
> Is there a way of loading the CDROM module manually, with IRQ and hardware
> address (like it is the case for the "ne" network driver)?
there are various kernel parameters that might help. From my head I recall
ideX=base,ctrl,irq
hdX=ide-cd|ide-scsi
Some docs are directly in the kernel source.
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-03-26 14:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-25 19:56 [Qemu-devel] it works ! vaise
2004-03-26 9:03 ` Jean-Michel POURE
2004-03-26 12:18 ` Richard Zidlicky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).