|
Prev: Unable to mkfs ona new volume??
Next: How to backout of Solaris 10 kernel patch - Newbie question
From: ITguy on 15 Apr 2008 20:36 On Apr 15, 6:18 pm, aw...(a)blackhole.nyx.net (arthur wouk) wrote: > i am ashamed to tell you how i got in the following predicament: i > moved /lib out of the / directory. suffice it to say i am not a > sysadmin. > > i was running solaris 10 (latest release). of course nothing works. > > is there a way to boot cdrom and run off the cdrom? > > if not, i will have to move the hard drive to another machine and > recapture my valuables. this is on an ultra-2, so it is relatively > easy to do. > -- > > "be wary of mathematicians..especially when they speak the truth." > --sT. Augustine > to email me, delete blackhole. from my return address 1) Press "STOP + A" 2) Insert bootable Solaris CD/DVD media 3) Type "boot cdrom -s" and wait for a shell prompt 4) Figure out which disk Solaris lived on. You can list your disks and view how they are partitioned with "format" 5) Mount the old root slice on /a or /mnt - This device to mount will depend on the results of #4: "mount /dev/dsk/c0t0d0s0 /a" 6) Say you had moved /lib to /some/path/lib - move it back with: "mv / a/some/path/lib /a/" 7) Cross fingers and reboot
From: Darren Dunham on 15 Apr 2008 20:52 arthur wouk <awouk(a)blackhole.nyx.net> wrote: > i am ashamed to tell you how i got in the following predicament: i > moved /lib out of the / directory. suffice it to say i am not a > sysadmin. > > is there a way to boot cdrom and run off the cdrom? Yes. After booting from the CD it should give you a menu, offering to do things like installations, but the final item should be for a single-user prompt. Or you can just type "boot cdrom -s" at the OK prompt. -- Darren Dunham ddunham(a)taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >
|
Pages: 1 Prev: Unable to mkfs ona new volume?? Next: How to backout of Solaris 10 kernel patch - Newbie question |