Post drive migration: boot device: <unknown>
Bradley Pearce <[email protected]> Tue, 31 Oct 2023 11:22:18 -0400
| Newsgroups | gmane.os.netbsd.ports.macppc |
|---|---|
| Message-ID | <CAFFH6-53mR8T6Nk+6GrW=eCa8B5OUC9tcxd3cKNj2fdKGk6=+g@mail.gmail.com> |
Hi. I just moved a standalone scsi boot drive to a raid system (sd0 to ld0). Long story short, it takes quite a custom kernel to do this. /etc/fstab was updated to ld0. /dev/MAKEDEV all was run. installboot -v /dev/rld0c /usr/mdec/bootxx /ofwboot File system: /dev/rld0c File system type: ffs (blocksize 16384, needswap 0) Primary bootstrap: /usr/mdec/bootxx Secondary bootstrap: /ofwboot Bootstrap start sector: 4 Bootstrap byte count: 1824 Bootstrap block table: 118 entries of 16384 bytes available, 4 used: 616032 616064 616096 616128 Writing bootstrap It boots, but during boot, it doesn't know the boot device, root device, file system type, and init path. I can enter ld0 for root device, ffs for file system, and init path. How do I reconfigure the system to remember this? Right now, I have to enter it at each boot. [ 4.740066] boot device: <unknown> [ 4.740066] root device: ld0 [ 4.740066] dump device (default ld0b): [ 4.740066] file system (default generic): ffs [ 4.740066] root on ld0a dumps on ld0b [ 5.670102] kern.module.path=/stand/macppc/9.3/modules [ 5.810110] init path (default /sbin/init): [ 5.810110] init: trying /sbin/init Thanks, Bradley Pearce