NetBSD-Bugs archive

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

Re: install/54929 (NetBSD 9.0-RC2 fails to install with GPT partition on ASUS X202E laptop)



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

From: "Rajeev V. Pillai" <rajeev_v_pillai%yahoo.com@localhost>
To: martin%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
	 <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: install/54929 (NetBSD 9.0-RC2 fails to install with GPT
 partition on ASUS X202E laptop)
Date: Wed, 5 Feb 2020 01:57:56 +0000 (UTC)

 Here's a log of the latest install attempt.
 
 1. Boot into USB install, exit to shell , create 3 partitions for NetBSD (E=
 FI labels:
 =C2=A0=C2=A0=C2=A0=C2=A0 netbsd_efi, netbsd, netbsd_swap).
 
 2. newfs -O2 dk9=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0 # EFI NAME=3Dnetbsd
 
 3. Exit back into installer, and enable logging and scripting in Utility me=
 nu.
 
 4. Choose 'a', the std. NetBSD install. Select wd0 as the location. Sysinst
 =C2=A0=C2=A0=C2=A0 complains:
 
 =C2=A0=C2=A0=C2=A0 Sysinst could not automatically determine the BIOS geome=
 try of the disk.
 =C2=A0=C2=A0=C2=A0 The physical geometry is 969821 cylinders 16 sectors 63 =
 heads.
 =C2=A0=C2=A0=C2=A0 ...
 
 =C2=A0=C2=A0=C2=A0 and asks for corrections. Abandon installing to wd0.
 
 5. Try checking the partitions using the Extended partitioning menu item.
 
 6. Select wd0, and edit partition. sysinst thinks it has an MBR partitionin=
 g
 =C2=A0=C2=A0=C2=A0 scheme:
 
 =C2=A0=C2=A0=C2=A0 Current MBR partition table of wd0 is shown below.
 =C2=A0=C2=A0=C2=A0 Select the partition you wish to change:
 
 =C2=A0=C2=A0=C2=A0 Total size of wd0 is 476940 MB available 0 MB
 
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 start=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Size (MB=
 )=C2=A0=C2=A0 Flag=C2=A0 Kind
 a:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0=C2=A0 476940=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0=C2=A0 Unknown (238)
 
 7. Switch partition scheme of wd0 to GPT and try again:
 
 =C2=A0=C2=A0=C2=A0 We now have your GPT partitions for wd0 below. Last chan=
 ce...etc.
 
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Start=C2=A0=C2=A0 =C2=A0=C2=A0 =C2=A0=C2=A0 =
 End=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Size=C2=A0=C2=A0=C2=A0 FS type
 a:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0 476938=C2=
 =A0 476939=C2=A0=C2=A0 unused
 
 =C2=A0=C2=A0=C2=A0=C2=A0 Clearly, both are incorrect.
 
 8.=C2=A0 Abandon partitioning and try a std. installto dk9 (netbsd). No com=
 plaints
 =C2=A0=C2=A0=C2=A0=C2=A0 from sysinst--detects swap, etc. but goes back to =
 main screen after
 =C2=A0=C2=A0=C2=A0=C2=A0 creating some directories and /etc/fstab (see belo=
 w).
 
 9. Try to Install sets manually. Choose dk9 (netbsd) as disk.
 =C2=A0=C2=A0=C2=A0=C2=A0 sysinst complains:
 
 =C2=A0=C2=A0=C2=A0=C2=A0 Error: No root partition defined. Cannot continue.
 
 10. And if you choose option 'a' (current system) in Install sets, it will =
 happily
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 extract the sets to / on the USB install dri=
 ve.
 
 ---------------------------------------------------------------------------=
 ------------------------------------
 =C2=A0=C2=A0=C2=A0 Log of session:
 =C2=A0=C2=A0=C2=A0 /tmp/sysinst.log:
 Log started at: Tue Feb=C2=A0 4 23:45:44 2020
 
 executing: gpt -rq header wd0
 executing: gpt -rq header sd0
 Partman device: wd0
 executing: gpt -rq header sd0
 Partman device: wd0
 executing: gpt -rq header sd0
 Partman device: wd0
 executing: gpt -rq header sd0
 Partman device: wd0
 Log started at: Tue Feb=C2=A0 4 23:53:16 2020
 
 executing: gpt -rq header wd0
 executing: gpt -rq header sd0
 Partman device: wd0
 executing: gpt -rq header sd0
 Log ended at: Tue Feb=C2=A0 4 23:54:27 2020
 
 Log started at: Tue Feb=C2=A0 4 23:54:43 2020
 
 executing: gpt -rq header wd0
 Log ended at: Tue Feb=C2=A0 4 23:57:34 2020
 
 Log started at: Tue Feb=C2=A0 4 23:58:44 2020
 
 executing: gpt -rq header dk9
 executing: disklabel -r dk9
 executing: /sbin/fsck_ffs -p -q /dev//rdk9
 executing: /bin/mkdir -p /targetroot/
 executing: /sbin/mount -o async /dev/dk9 /targetroot/
 executing: /bin/mkdir -p /targetroot/etc
 Making /targetroot/etc/fstab (dk9).
 executing: /bin/mkdir -p /targetroot/kern
 executing: /bin/mkdir -p /targetroot/proc
 executing: /bin/mkdir -p /targetroot/dev/pts
 executing: /bin/mkdir -p /targetroot/cdrom
 executing: /bin/mkdir -p /targetroot/var/shm
 executing: /sbin/umount /targetroot/
 executing: gpt -rq header dk9
 executing: disklabel -r dk9
 executing: gpt -rq header dk9
 executing: disklabel -r dk9
 Log ended at: Wed Feb=C2=A0 5 00:02:22 2020
 ---------------------------------------------------------------------------=
 --------------------------------
 
 # gpt show wd0
 
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 st=
 art=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
  size=C2=A0 index=C2=A0 contents
 =C2=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C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 614400=C2=A0=C2=A0=C2=A0=C2=A0 1=C2=A0=C2=A0=
  GPT part - EFI System
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 616448=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
 1228800=C2=A0 =C2=A0=C2=A0 2=C2=A0=C2=A0 GPT part - de94bba4-06d1-4d40-a16a=
 -bfd50179d6ac
 =C2=A0=C2=A0 =C2=A0=C2=A0 1845248=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
  262144=C2=A0=C2=A0=C2=A0=C2=A0 3=C2=A0=C2=A0 GPT part - Windows reserved
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 2107392=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=
  =C2=A0 =C2=A0 8192=C2=A0=C2=A0=C2=A0=C2=A0 4=C2=A0=C2=A0 GPT part - EFI Sy=
 stem
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 2115584=C2=A0 104857600=C2=A0=C2=A0=C2=A0=C2=
 =A0 7=C2=A0=C2=A0 GPT part - FreeBSD UFS/UFS2
 =C2=A0 106973184=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 8388608=C2=A0=C2=A0=C2=A0=C2=
 =A0 8=C2=A0=C2=A0 GPT part - FreeBSD swap
 =C2=A0 115361792=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 2048=C2=
 =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Unused
 =C2=A0 115363840=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 262144=C2=A0=C2=
 =A0=C2=A0=C2=A0 9=C2=A0=C2=A0 GPT part - EFI System
 =C2=A0 115625984=C2=A0=C2=A0=C2=A0 52428800=C2=A0=C2=A0 10=C2=A0=C2=A0 GPT =
 part - NetBSD FFSv1/FFSv2
 =C2=A0 168054784=C2=A0=C2=A0 =C2=A0=C2=A0 8388608=C2=A0=C2=A0 11=C2=A0=C2=
 =A0 GPT part - NetBSD swap
 =C2=A0 176443392=C2=A0 199596032=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 =C2=A0=C2=A0 Unused
 =C2=A0 376039424=C2=A0 =C2=A0=C2=A0=C2=A0 8388608=C2=A0=C2=A0=C2=A0=C2=A0 5=
 =C2=A0=C2=A0 GPT part - Linux swap
 =C2=A0 384428032=C2=A0 592343040=C2=A0=C2=A0=C2=A0=C2=A0 6=C2=A0=C2=A0 GPT =
 part - Linux data
 =C2=A0 976771072=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 2063=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Unused
 =C2=A0 976773135=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0=C2=A0 32=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Sec G=
 PT table
 =C2=A0 976773167=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
 =A0=C2=A0=C2=A0=C2=A0 Sec GPT header
 
 Thanks,
 RVP
 



Home | Main Index | Thread Index | Old Index