[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#783982: D-i: preseed from floppy no longer works !



On Sat, May 02, 2015 at 01:09:34AM +0300, Alexey Eromenko wrote:
> On Fri, May 01, 2015 at 11:28:32PM +0200, Geert Stappers wrote:
> > I think you are looking for providing a preseed file,
> > hence my advice https://www.google.nl/search?q=virtualbox+host+http+server+for+guests
> 
> You're correct in that I'm looking to provide preseed file. But
> host-side HTTP server won't work for my needs, unless VirtualBox has
> it integrated. My technology is aimed at people, who require *zero*
> configuration, and should work across all hosts. Like click, click,
> click...

In my words: In an attempt to make some technology available
your are hidding other technology with old technology like floppies.

> Basically I need very minimal (and portable) host-side logic (and move
> as much complexity into the guest as possible).
> 
> > Do an "attended install". Verify that reading from floppy is possible.
> > That is important. It proofs that the Virtualbox host provides
> > a "floppy disk controller" and that the Vbox guest has a kernel kernel
> > for the f.d.c.  Also it shows there is /dev/fd0 (IIRC)
> 
> Well... you'r right ! /dev/fd0 is the problem !
> Yes, I ensured, that VM has floppy controller configured, plus
> floppy.img inserted.
> 
> Debian 8 (mini-)kernel (inside amd64-DVD) does NOT see /dev/fd0 !
> (part of debian-installer); This works just fine with Debian 6 and 7 !
> Post-install Debian 8 kernel _does_ see /dev/fd0, can loop-mount and
> can read files from it. (after installing from Debian 8 amd64-DVD), so
> no problem here.

Okay, do `ls -l /dev/fd0` in the working system and write down
the major and minor node numbers. Next is reading the manaul page
of mknod(1). Create a fake  /dev/fd1, or even a real /dev/fd1 if
virtualbox can provide a second floppy drive.

Reboot in the vbox guest into Debian Installer. Get to a shell for
commandline access. Use your new skills to create  /dev/fd0
Then these commands
  mkdir floppy
  mount /dev/fd0 floppy

And please report back


> The natural question: Are those kernels different ?

Yes. Think "several generations technology", example given
i386, i486 and i586. All generations can boot with the oldest.
Or thihk "All those drivers for audio, blue tooth, printers
image scanners". Install without those drivers.

> (I always assumed it is the *same* kernel)

:-)


> It seems the mini-kernel does not provide me with "/proc/config.gz",
> so I have no clue what's included and what's excluded.
> How can I check ?

Debian ships kernel with the "config" file.


> Thanks for finding the problem !

I want the name and location of kernel config of d-i.    :-)


Groeten
Geert Stappers
-- 
Leven en laten leven

Attachment: signature.asc
Description: Digital signature


Reply to: