NetBSD-Bugs archive

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

Re: install/54745: Sysinst generates strange i386 partition table



The following reply was made to PR install/54745; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: Martin Husemann <martin%duskware.de@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: install/54745: Sysinst generates strange i386 partition table
Date: Sat, 7 Dec 2019 19:52:54 +0200

 Sorry, I forgot one step in the replication recipe.  After
 uncompressing the install image, you need to modify its boot options
 to make it use the serial console.  I'm using this script, which takes
 the image file name as an argument:
 
 #!/bin/sh
 # Change the given NetBSD disk image to use a serial console
 # See tech-userlevel, 16 Apr 2017 
 img="$1"
 console="com0"
 chmod u+w $img
 export RUMP_SERVER=unix:///tmp/installboot_rumpserv
 offset=$(disklabel $img | awk '/ a:/ { print $3 }')
 size=$(disklabel $img | awk '/ a:/ { print $2 }')
 rump_server -lrumpvfs -lrumpdev -lrumpdev_disk -d key=/rdk0a,hostpath=$img,offset=${offset}b,size=${size}b,type=chr $RUMP_SERVER
 LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=path=/rump installboot -e -o console=$console /rump/rdk0a
 rump.halt
 
 Alternatively, you could do the installation using qemu's VGA
 emulation rather than the serial console emulation.
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index