Re: landisk (Plextor) installation stuff
Izumi Tsutsui <[email protected]> Sat, 4 Oct 2008 08:45:36 +0900
| Newsgroups | gmane.os.netbsd.ports.sh3 |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > dd if=/dev/zero of=/dev/sd0d count=1000 > dd if=/usr/dest-landisk/usr/mdec/mbr of=/dev/rsd0d bs=512 count=1 > fdisk -0 -u /dev/sd0d > (don't change what BIOS thinks, sys ID 169, start 63, use the rest of the > disk, no bootmenu, don't update bootcode, write to disk) > fdisk -a sd0 > (want to change, select partition 0, happy, write) > disklabel -i -I sd0 > (a, 4.2BSD, 63, `disk minus swap`, b, swap, a, $, e, unused, 0, 0, W, y, Q) > newfs /dev/rsd0a > installboot -m landisk -v /dev/rsd0a /usr/dest-landisk/usr/mdec/bootxx_ffsv1 > mount /dev/sd0a /mnt > cp /usr/dest-landisk/usr/mdec/boot /mnt > (in sh) > cd /mnt > for file in /usr/dest-landisk/sets/*.tgz; do tar xzpf $file; done > cd /mnt/dev ; ./MAKEDEV all This procedure seems working for me on my Lantank. (at least it boots to single user) Note I saw some type of drives that might not be recognized by the firmware properly. [email protected] wrote: > You *do* need to install bootcode from ${DESTDIR}/usr/mdec/mbr It looks he did it by dd(1). --- Izumi Tsutsui