NetBSD-Bugs archive

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

Re: install/55058: 9.0 sysinst does not handle a boot partition for luna68k



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

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: install/55058: 9.0 sysinst does not handle a boot partition for
	 luna68k
Date: Fri, 23 Dec 2022 22:37:57 +0900

 >Synopsis:       9.0 sysinst does not handle a boot partition for luna68k
 
 Still happens on 10.0_BETA and easily reproducible on nono emulator.
 
 (build and install pkgsrc/emulators/nono)
 echo 'vmtype = luna' > nono.cfg
 echo 'hostnet-driver = none' >> nono.cfg
 ftp https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-10/latest/luna68k/binary/kernel/netbsd-INSTALL.gz
 gunzip netbsd-INSTALL.gz
 dd if=/dev/zero of=hdd.img bs=1m count=1024
 nono
 (^C or quit by [File]->[Exit] menu once after NVRAM.DAT is created)
 nono -f -c nono.cfg -V spc0-id6-image=hd,hdd.img -X netbsd-INSTALL
 
 (type enter on "Terminal type? [vt100]")
 (type "i" on "(I)nstall, (S)hell or (H)alt ?")
 (sysinst will start)
 
 "a: Install NetBSD to hard disk"
 "b: Yes"
 "a: sd0 (1.0G, NONO SCSIHD)"
 "a: Set sizes of NetBSD partitions"
 
 Then it shows:
 
 ---
 
  You can now change the sizes for the system partitions.  The default is to
  allocate all the space to the root file system.  However, you may wish to
  have separate /usr (additional system files), /var (log files etc) or /home
  (users' home directories) file systems.
 
  Free space will be added to the partition marked with a '+'.
 
        Size (sec)                            Filesystem
        ----------------------------------- - --------------------
    >a: 16384                                 (Other: FFS <Boot>)
     b: 593920 (2015232)                    + /
     c: 65536                                 <swap>
     d: 0                                     /tmp (mfs)
     e: 0                                     /usr
     f: 0                                     /var
        ----------------------------------- - --------------------
     h: Add a user defined partition
     i: Change input units (sectors/cylinders/MB/GB)
     x: Go on.  Free space 1421312 sec.
 
 ---
 
 Here, the original intention is (on netbsd-8 and prior):
  - /boot partition for PROM to load bootloader is partition d:
    and its size is 8MB at offset 0
  - root partition is located after the d: (boot) partition
 
 But it looks the newer sysinst editor has no way to allocate
 partition d: before partition a:?
 
 After selecting "x: Go on.  Free space 1421312 sec." it shows:
 
 ---
 
  We now have your disklabel partitions for sd0 below.  This is your last   
  chance to change them. 
  
  Flags: (I)nstall, (N)ewfs.  Total size: 1024M, free: 0B
 
      Start (sec)    End (sec)   Size (sec)  FS type Flag Filesystem
     ------------ ------------ ------------ -------- ---- ----------------
  a:            0        16383        16384      FFS N
  b:      2031616      2097151        65536     swap
  c:            0      2097151      2097152 Whole disk
  d:        16384      2031615      2015232      FFS IN   /
     ------------ ------------ ------------ -------- ---- ----------------
  f: Change input units (sectors/cylinders/MB/GB)
  g: Edit name of the disk
  h: Cancel
 >x: Partition sizes ok
 
 ---
 
 Still no way to specify /boot partition at offset 0 as d: partition.
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index