Current-Users archive

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

Re: Can't boot install from floppies



On 12/6/10 2:43 PM, Andreas Gustafsson wrote:
Julio Merino wrote:
non-working floppies available for download?
I've put a copy in ftp.netbsd.org:~jmmv/i386/
Those fail to boot in my qemu, too, and the multivolume headers of your
boot{2,3}.fs look wrong:

   $ od -c boot2.fs | head -1
   0000000    U   S  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0

Compare to a working boot2.fs:

   $ od -c boot2.fs | head -1
   0000000   U   S   T   A   R   F   S       2  \n  \0  \0  \0  \0  \0  \0

Looks like something is going wrong in
src/distrib/common/buildfloppies.sh in your build.
Looks like dd is hosed:

$ echo 'USTARFS' >foo
$ dd bs=8k conv=sync seek=1 skip=180 count=179 if=/dev/zero of=foo
179+0 records in
179+0 records out
1466368 bytes transferred in 0.003 secs (488789333 bytes/sec)
$ od -c foo | head -n 1
0000000    U   S  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0

Will investigate more soon.


Home | Main Index | Thread Index | Old Index