Hi Gordon, I don't have any issues with installing/setting up bering, whether it be on a floppy or cd setup. I think there is an issue with something in initrd.lrp and Hyper-V's hardware emulation.
I created a simple 1.44 floppy image, put syslinux on it, and booted the VM on Hyper-V. It loaded perfectly and came up with the boot: prompt. I then copied over linux and again booted from the floppy, that worked as well. Next step, copy over initrd.lrp (I tried all 3, default, ide, cd_ide) that was copied to the floppy and booted the VM from it, and I get Loading linux............ Loading initrd.lrp.......... Ready. Then the VM just reboots, I'm thinking kernel or hardware incomparability with Hyper-V emulated hardware, is there a way to make the loading of "stuff" from initrd verbose, to see where it's falling over. Cheers Adam -----Original Message----- From: Gordon Bos [mailto:gor...@q-ry.nl] Sent: Wednesday, 21 January 2009 2:03 AM To: leaf-user@lists.sourceforge.net Subject: Re: [leaf-user] FW: Hyper-V unable to boot bering3.1 floppy image Using a floppy won't get you far, specially if you're limited to a standard 1.44 drive You should start with a bootable CDROM. Assuming you're on Windows you should get the DOS version of mkisofs. You will also need isolinux (just Google for these names if you don't have them) Step1: Create a folder, e.g. "cdcontent" and put the following files in it: isolinux.bin, isolinux.cfg, ldlinux.sys, syslinux.dpy config.lrp, etc.lrp, local.lrp, modules.lrp, root.lrp Also copy the kernel and initrd_ide_cd.lrp into this folder, but make sure to rename them to a non long_format name, i.e. 8.3 DOS name format. Step 2: With your favorite editor change the content of isolinux.cfg -- display syslinux.dpy timeout 0 append reboot=bios default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/fd0u1440:msdos -- (there's no break before LEAFCFG=). I'm assuming you renamed the kernel "linux" and stripped "_ide_cd" from initrd_ide_cd.lrp Step 3: Create the iso image with the following command: mkisofs -o bering.iso -b isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -hide isolinux.bin -l cdcontent Step 4: Change LEAF.CFG on your floppy to the following PKGPATH="/dev/fd0u1440:msdos,/dev/cdrom:iso9660,/dev/fd0u1440:msdos" Note: this may seem silly, but "old" LEAF boxes used to have a different approach on package loading priority and where to write back changes. This is just to eliminate any chance of strange behavior. Step 5: Setup hyper-v to use the iso image as a virtual CDROM (or get an emulator such as daemon tools) and set the CDROM to be the first boot device. This should get you started into Bering. You can add packages to either the iso or the floppy. Gordon Adam Niedzwiedzki wrote: > Hi all, > > Still no luck, I have a buildtool machine setup etc for compiling some > additional features in other packages. > Can anyone point me in a direction to turn on debug/logging something to try > and figure out why it won't boot under HyperV? > > Cheers > Adam > > -----Original Message----- > From: Adam Niedzwiedzki [mailto:ads...@genis-x.com] Sent: Tuesday, 23 December 2008 11:41 AM > To: leaf-user@lists.sourceforge.net > Cc: 'Robert K Coffman Jr. -Info From Data Corp.' > Subject: Re: [leaf-user] FW: Hyper-V unable to boot bering3.1 floppy image > > Hmm good point, > But no luck, I created a 1.44Mb floppy, put syslinux on it, and just copied > over the linux kernel for 3.1 > Then copied over just the syslinux.cfg and leaf.cfg and initrd.lrp > > Loading linux........... > Loading initrd.lrp.......ready > > reboot, rinse, repeat :( > > I tried setting the "limit processor functionality" in hyper-v no go, I set > it to only have one cpu again no go. > Anyone have any ideas on how to get some more output out of the boot up to > see where it's falling down. > > I tried the default initrd.lrp and the initrd_id_cd.lrp both do the same > thing... > > Cheers > Adam > > > -----Original Message----- > From: Robert K Coffman Jr. -Info From Data Corp. > [mailto:bcoff...@infofromdata.com] Sent: Monday, 22 December 2008 11:05 AM > To: 'Adam Niedzwiedzki'; leaf-user@lists.sourceforge.net > Subject: RE: [leaf-user] FW: Hyper-V unable to boot bering3.1 floppy image > > Just a guess: nonstandard floppy size (if it is?) not usable under Hyper-V > > > > ---------------------------------------------------------------------------- > -- > ------------------------------------------------------------------------ > leaf-user mailing list: leaf-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-user > Support Request -- http://leaf-project.org/ > > > ---------------------------------------------------------------------------- -- > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > ------------------------------------------------------------------------ > leaf-user mailing list: leaf-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-user > Support Request -- http://leaf-project.org/ -- Gordon Bos Q-RY Solutions Martinus Nijhofflaan 2 2624 ES Delft The Netherlands Tel: +31 (0)15 256 4035 Fax: +31 (0)15 256 4074 Q-RY Solutions is distributeur van Pervasive Software en draagt zorg voor consultancy, levering, ondersteuning,installatie en training. ---------------------------------------------------------------------------- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/ ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/