Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google site



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-27-2003
Registered User
 

Join Date: Jan 2002
Posts: 5
reading the hard drive

I have suns machine that holds two hard drives. I only used one. I tryed to make a lan network with my windows xp. When I tryed to restart the machine it wanted to a password. when before I just typed root to log in. So i edited the etc dir. big mistake. So now the machine will not read the hard drive at all. It will not read the other hard drive also. What do I need to do to fix the machine.
Sponsored Links
  #2 (permalink)  
Old 01-27-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Registered User
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,061
When you edited the /etc directory, did you save it as a file?


Try booting single user from cdrom. Mount up the / partion of the disk on /mnt. You then need to cd /mnt/lost+found. See it the system moved the directory there. If it did, move it back to /mnt/etc. Then run fsck on that disk. Shutdown and boot into single user off the disk.

(I was just looking at your post again - is this a X86 system? If yes, then I don't know if my post will help you - I don't believe you can boot single user from the Solaris X86 cd.)

(Another note - you can boot from cdrom for X86)
Booting Single-User From CDROM Using the Device Configuration Assistant (DCA) on the Hard Drive:
------------------------------------------------------------------------------------------------


1). Power the system on.

2). Insert the correct version Solaris Software cdrom for your system.

OPTIONAL: If there is a boot loader in operation on your system, select the Solaris partition as the partition to boot from.

3). After the "Solaris Secondary Boot Loader" and "Running Device Configuration Assistant" messages appear, hit the 'esc' key where prompted to do so.

4). At the "DCA intro screen" hit F2 (F2_Continue).

5). At the "list of devices found" hit F2 (F2_Continue).

6). At the "list of available boot devices" select the CDROM as the device from which to boot a Solaris kernel.

7). At the screen where you are prompted to select 1, 2, or 3 for what type of install you wish to do, enter 'b -s' instead of a number.

This will bring the system up to single-user mode from the cdrom.


Booting Single-User From the CDROM Using the Device Configuration Assistant (DCA) Floppy:
-----------------------------------------------------------------------------------------

1). With the power on, insert DCA floppy, then the correct version Solaris Software cdrom for your system.

2). At the "DCA intro screen" hit F2 (F2_Continue).

3). At the "list of devices found" hit F2 (F2_Continue).

4). At the "list of available boot devices" select the CDROM as the device from which to boot a Solaris kernel.

5). At the screen where you are prompted to select 1, 2, or 3 for what type of install you wish to do enter 'b -s' instead of a number.

This will bring the system up to single-user mode from the cdrom. It should be noted that even though there are fewer steps, this normally takes much longer than running the DCA from the hard drive.


Booting Single-User From the Hard drive:
----------------------------------------

1). Power the system on.

OPTIONAL: If there is a boot loader in operation on your system, select the Solaris partition as the partition to boot from.

2). Wait until the prompt for booting "with options" or "into the interpreter". At this point enter 'b -s' and hit [Return].

This will bring the system up to single-user mode from the hard drive.


Booting Single-User From the Hard Drive Using the DCA Floppy:
-------------------------------------------------------------

1). With the power on, insert DCA floppy,

2). At the DCA intro screen hit F2 (F2_Continue).

3). At the "list of devices found" hit F2 (F2_Continue).

4). At the "list of available boot devices" select the hard drive with the root partiton on it as the device from which to boot a Solaris kernel.

5). Wait until the prompt for "booting with options" (b) or "into the interpreter" (i). At this point enter 'b -s' and hit [Return].
Note that you only have 5 seconds to do this.

This will bring the system up to single-user mode from the hard drive.

Last edited by RTM; 01-27-2003 at 05:24 PM..
  #3 (permalink)  
Old 01-27-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
what did you edit in the /etc/ directory? since you say your machine wont read the drive, 2 things come to mind, either, 1. you didnt shutdown the computer properly, resulting in a corrupt filesystem, or 2. you edited the file /etc/fstab and messed up your mount points.
if the case is number 2, then it shouldnt be too hard to fix, what OS are you running on the machine? if you bought it in a store, it might have come with a sort of "rescue disk" where you will boot from that floppy and you may be able to manually mount the drive and restore your /etc/fstab file. if its the first one, a corrupt filesystem, then fsuck (hopefully) would be able to clear things up when you boot the machine. what happens when you boot? provide more info including your OS and what exactly you did, and what happens when you try to boot, and we can help you better.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Add hard drive to SCO 6.0.0 uxlunatick SCO 13 04-18-2008 10:17 AM
The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive sirbijan Filesystems, Disks and Memory 0 04-05-2006 03:19 PM
Trying to copy old hard drive to new hard drive. shorty UNIX for Dummies Questions & Answers 4 01-30-2006 05:47 PM
Removing hard drive pujathakral UNIX for Dummies Questions & Answers 2 05-13-2005 11:58 AM
currupted my hard drive xcaliber UNIX for Dummies Questions & Answers 5 01-19-2004 12:27 PM



All times are GMT -4. The time now is 06:48 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0