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)



 On Tuesday, 4 February 2020, 10:55:04 CET, Martin Husemann <martin%duskware.de@localhost> wrote:

> This sounds like there may be a size confusion about that disk.
 > ...
> Could you check if the reported disk sizes differ?


I think we can disregard that Linux kernel error for the USB flash drive.
It's caused by raw-writing a 2GB install image onto a ~7GB flash drive,
so, of course, the end of the NetBSD FFS partition in the image file
won't match the actual size of the USB flash drive.

In any case, both Linux and NetBSD report the same no. of sectors for
both the Laptop HDD and the USB install flash disk. See attached text
files.

After creating the NetBSD partitions manually, I exited from the shell
into the Install System menu and selected the newly formatted NetBSD
FFS partition as before. The installed, as reported before, did nothing
except create a 4 or 5 directories in the FFS partition, and, the etc/fstab
 file with the NAME=XXX entries for the detected FFS and swap partitions.

So, exit back to the shell, mount the FFS partn. and extract the install sets,
 do a `./MAKEDEV all' in dev/ and managed to boot into NetBSD
 (single user mode). However:

1. The bootloader does not load the GENERIC_KASLR kernel.
    An I/O error is reported by boot. Extract GENERIC kernel which
    boots.

2. The GENERIC kernel has to be manually booted using
    boot NAME=netbsd:netbsd
    I think this can be autobooted by editing boot.cfg in the NetBSD
    EFI partition.

3. The system boots into single-user mode because rc_configured=NO
    in /etc/rc.conf

4. Do mount -u -w /, set rc_configured=YES, set hostname=X202E
    and reboot.

5. System comes up multi-user.

6. Run sysinst to configure the system. Here,

7. The timezone list is empty (only Exit is shown). It was the same
    when performing the install using the USB install disk.

8. Network config works, but, /etc/rc.conf is not changed.

9. Root password cannot be set because execvp fails for chpass.
    Running passwd manually works.

10. User creation fails because execvp fails for /usr/sbin/useradd.
    Running useradd (after creating /home) works.

This is where I stopped.

Let me know if you need a script(1) log or something.

Thanks,
RVP


Home | Main Index | Thread Index | Old Index