Fixed /etc/rc.conf I found a cool piece of sed -- did this
cd /mnt/etc sed -e "s/rc\_configured\=NO/rc\_configured\=YES/g" rc.conf > rc.conf.tmp check rc.conf.tmp ; then deside if I wanna do use rc.conf.tmp NetBSD came up, and I cound login. I can now fix what I have. I found sed -e " " in notes from June 2009. HEHEHE :-) On Sun, Dec 3, 2023 at 8:28 AM Manuel Bouyer <bou...@antioche.eu.org> wrote: > > On Sun, Dec 03, 2023 at 08:02:16AM -0500, Todd Gruhn wrote: > > DOHH! > > > > NetBSd started /bin/sh and print this: > > > > "/etc/rc.conf: 44: Syntax error" > > > > I cant do anything -- /bin and /sbin dont exist. > > I don't know how you came in this situation. But if the boot goot as far > as trying to parse /etc/rc.conf, at last /bin/sh and /sbin/init could > be started > > > > > Many years ago, I would boot 2 3in floppies; them mount the hard-disk > > (wd0a); then copy /etc/rc.conf to ./mnt2/etc. I can't do this anymore... > > (YEPPP -- NetBSD on 2005. So much changed...) > > Yes, the rc.conf is not on the install media I believe. But you can still > boot the install media, get a shell and mount /dev/wd0a > > -- > Manuel Bouyer <bou...@antioche.eu.org> > NetBSD: 26 ans d'experience feront toujours la difference > --