Solaris with root on metadevices (SVM) can't boot failsafe

Moin!

I just got a FireX4100 and after having a bit of a problem installing it with dhcp I finally

managed to jumpstart it as our usual sparc boxes with mirrored disks and all packages

needed. However I shot myself in the foot by trying to compile pam_mkhomedir, which

did compile but not run. As it causes a pam error when trying to log in the box is

unusable as nobody can login.

Ok so no problem if I had that with a sparc box I would do a boot -s, fix pam.conf

and reboot again. However there is no such thing as boot -s in x86. Instead you can

boot failsafe. Which doesn't give you access to any metadevice, so you can't mount

the root fs to change pam.conf.

How do I get out of this mess. How can I boot failsafe or via net and still use SVM

metadevices?

So long

-Ralf

[863 byte] By [fl1ger-dev] at [2007-11-26 9:01:46]
# 1

You can still do a boot -s from the normal kernel as well.

I think you can just change

kernel /platform/i86pc/multiboot

to

kernel /platform/i86pc/multiboot kernel/unix -s

(just for that one boot).

Or if you need to get in really early, '-m milestone=none' (root won't even be mounted read/write at that point).

--

Darren

Darren_Dunham at 2007-7-6 23:08:35 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Moin!Thanks that did the job. Being new to x86 I didn't know that you canin Grub just press "e" to edit the boot parameters. Thanks for the hint.So long-Ralf
fl1gerdev at 2007-7-6 23:08:35 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
After you're happy with it, edit the /boot/grub/menu.lst file to have them handy.On my machine, I add in an entry for single user (-s) and an entry for verbose booting (-m verbose).-- Darren
Darren_Dunham at 2007-7-6 23:08:35 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...