old distribution (yggdrasil) on qemu

Linux (various distributions) running under QEMU

old distribution (yggdrasil) on qemu

Postby sacarde on Tue Sep 08, 2009 8:25 pm

hi,
I tried to install yggdrasil on qemu, I download:

http://www.ibiblio.org/pub/historic-lin ... 94.tar.bz2

I make iso from directory: mkisofs -J -l -o ygg.iso ./Yggdrasil-1994
I use boot floppy-image ...

and then I run:

qemu-kvm -m 500 -hda ./prova.qcow -cdrom ./ygg.iso -fda ./bootflpy.144 -no-kvm -boot a

but floppy boot stopps like : http://sacarde.interfree.it/yggdrasil-floppy2.png


thanks for help
sacarde
 
Posts: 7
Joined: Thu Jan 26, 2006 2:27 pm

Re: old distribution (yggdrasil) on qemu

Postby stevet on Thu Feb 11, 2010 8:55 pm

I recently installed an old slackware 2.0.1 distribution under qemu 0.9.1with only minor difficulties. In brief:

Create a 512MB file with dd.
Partition it with fdisk; yes this works, but you have to set the geometry manually in the expert menu. I chose 4096/16/16.

The following script starts everything (was changed to work with 0.12.2):

#!/boot/bin/sh
#zcat modern.gz >floppy0.img
zcat scsinet.gz >floppy0.img
/etc/qemu-ifup tap0
/system/virtual/bin/qemu \
-no-acpi \
-M pc-0.10 -cpu 486 -m 32 \
-drive file=/system/tmp/201/hda.512M.img,if=ide,index=0,media=disk,cyls=4096,heads=16,secs=16 \
-drive file=/system/tmp/201/floppy0.img,if=floppy,index=0,cache=off \
-startdate 1995-01-02 \
-net nic,model=ne2k_isa -net user net tap,ifname=tap0,script=no \
-vga std -boot c

/etc/qemu-ifdown tap0
----------------------------------------

Before it loads the kernel, you have the option to enter kernel command-line parameters. I used:

ramdisk hd=4096,16,16

This is necesary for the 1.0.9 kernel because its ST-506 driver isn't all that smart. During the install I also set the qemu machine type to 'isapc'.

When the kernel is loaded, it asks for the root disk, I simply go 'zcat color144.gz >floppy0.img' and then continue. When it finishes loading, configure the network interface and mount the install disks via NFS and then run 'setup'.

All in all, an interesting excercise in retro-linux masochism.
stevet
 
Posts: 0
Joined: Thu Feb 11, 2010 8:36 pm

Re: old distribution (yggdrasil) on qemu

Postby murdo on Sat May 29, 2010 6:59 pm

I got my first ever slackware (2,1.0) running after a certain amount of difficulty. I just used qemu-img create to do a 400 megabyte hard drive. the qemu defaults worked OK. I had the same problem with the 'unexpected return of 0 bytes' . However on the cdrom there was an even older disk image old1118 IE the 1.1.18 kernel rather than the 1.1.59 kernel which DID boot. Using this I was able to install slackware but would subsequently have to boot with the old floppy image. So I recompiled the 1,1.59 kernel replaced the line in floppy.c where it says
printk("FDC init: VERSION: unexpected return of %d bytes.\n", r);
return FDC_UNKNOWN;
to instead have
return FDC_NONE;
which means I have no floppy at all but was then able to boot from the hard drive. But it runs, Though gpm crashes and X crashes.
murdo
 
Posts: 0
Joined: Sat May 29, 2010 6:39 pm


Return to Linux under QEMU

Who is online

Users browsing this forum: No registered users and 3 guests