NetBSD-Bugs archive

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

Re: install/57025: landisk sysinst should not installboot against RAWPART



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

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: install/57025: landisk sysinst should not installboot against
 RAWPART
Date: Sun, 25 Sep 2022 14:08:04 +0200

 I was wrong - I do have a MBR:
 
 Disk: /dev/rwd0
 NetBSD disklabel disk geometry:
 cylinders: 15538, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
 total sectors: 15662304, bytes/sector: 512
 
 BIOS disk geometry:
 cylinders: 975, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
 total sectors: 15662304
 
 Partitions aligned to 16065 sector boundaries, offset 63
 
 Partition table:
 0: NetBSD (sysid 169)
     start 64, size 15662240 (7648 MB, Cyls 0/1/2-974/237/63), Active
         PBR is not bootable: Bad magic number (0xaed4)
 1: <UNUSED>
 2: <UNUSED>
 3: <UNUSED>
 First active partition: 0
 Drive serial number: 0 (0x00000000)
 
 
 and disklabel agrees (wd0c == MBR partition 0):
 
 4 partitions:
 #        size    offset     fstype [fsize bsize cpg/sgs]
  a:  15137952        64     4.2BSD      0     0     0  # (Cyl.      0*-    942*)
  b:    524256  15138048       swap                     # (Cyl.    942*-    974*)
  c:  15662240        64     unused      0     0        # (Cyl.      0*-    974*)
  d:  15662304         0     unused      0     0        # (Cyl.      0 -    974*)
 
 
 ... but I don't get any message from the MBR bootsector:
 
 DiskSize: 3724132352Byte
 PIO MODE1
 Set Transfer Mode result: 50 
 > b
 Set Transfer Mode result: 50 
 Initialize Device Parameters result: 50 
 IDLE result: 50 
 NetBSD/landisk ffsv1 Primary Bootstrap
 
 >> NetBSD/landisk Boot, Revision 1.0 (Fri Dec 20 11:46:58 UTC 2019)
 Press return to boot now, any other key for boot menu
 booting hd0a:netbsd - starting in 0 
 4626928+117708 [308944+297777]=0x51ac10
 Start @ 0x8c001000 [1=0x8c4875bc-0x8c51bc10]...
 [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 [   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
 [   1.0000000]     2018, 2019, 2020, 2021, 2022
 [   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
 [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [   1.0000000]     The Regents of the University of California.  All rights reserved.
 [   1.0000000] NetBSD 9.99.100 (GENERIC) #191: Tue Sep 20 12:54:04 CEST 2022
 [   1.0000000]  martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/landisk/compile/GENERIC
 [   1.0000000] Model: I-O DATA LANDISK
 [   1.0000000] total memory = 65536 KB
 [   1.0000000] avail memory = 59264 KB
 [   1.0000000] mainbus0 (root)
 
 So apparently I don't have /usr/mdec/mbr installed and that is why I
 needed to use the raw partition (starting at the first sector) for
 installboot. I must have missed a step in the install docs.
 
 Martin
 


Home | Main Index | Thread Index | Old Index