LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 08-05-2003, 10:34 AM   #1
hopbalt
Member
 
Registered: Jul 2003
Posts: 39

Rep: Reputation: 15
switching hard drives from different UNIX OS systems


I have a Sun Solaris 5.1 box with a hard drive that has info on it only accessible by root. The root password is lost, and the CD is also lost.

I have a PC running Windows 2000.

1. Can I make the PC into a dual boot system with Windows 2000 AND Linux? I have all the Linux software I need.

2. Can I take out the hard drive from the Solaris box, mount it on the Windows/Linux box, and clear the root password?

3. After acquiring the root password, then i want to remount the drive on the Solaris system like it was before, with all of the same data. Is this possible?

4. I'm assuming that hte physical hardware that a hard drive in a UNIX/Solaris box uses is exactly the same that a PC uses, and that only the software/OS is different. Is this accurate? In other words, if I wanted to, I could plug in teh Solaris hard drive into a PC, reformat it, and it would work just like a Windows hard drive.
 
Old 08-05-2003, 10:55 AM   #2
fishsponge
Member
 
Registered: Apr 2003
Location: Cambridge, UK
Distribution: Debian/Solaris
Posts: 147

Rep: Reputation: 15
i dont know if you can mount the drive on a windows/linux machine, but a much better way to deal with this would be to boot onto a Solaris CD (available from here) and edit it that way.

you can boot to the CDrom in single user mode, and mount the drive that way
 
Old 08-05-2003, 12:03 PM   #3
hopbalt
Member
 
Registered: Jul 2003
Posts: 39

Original Poster
Rep: Reputation: 15
I'd like to try the CD first. But the Solaris OS on the box is version 5.1

According to the SUN website, they will let you download Solaris OS 9.

Will it still boot off a Solaris 9 CD, or does it HAVE to be a Solaris 5.1 CD?

Also, do you not have to enter the root password if you are booting from the CD rom?


Last edited by hopbalt; 08-05-2003 at 12:55 PM.
 
Old 08-06-2003, 04:24 AM   #4
fishsponge
Member
 
Registered: Apr 2003
Location: Cambridge, UK
Distribution: Debian/Solaris
Posts: 147

Rep: Reputation: 15
Quote:
Originally posted by hopbalt
I'd like to try the CD first. But the Solaris OS on the box is version 5.1
hmm... rescuing the system it isn't an option then, unfortunately.
Quote:
According to the SUN website, they will let you download Solaris OS 9.
very true...
Quote:
Will it still boot off a Solaris 9 CD, or does it HAVE to be a Solaris 5.1 CD?
it will still boot, because booting from CD doesn't access the harddisk at all.
Quote:
Also, do you not have to enter the root password if you are booting from the CD rom?
maybe... i'm not sure to be honest. i guess ur knackered if you do... i would give it a go though - if it doesn't work, then you can try and put the disk into another machine.

can you get access to another Sun machine to put it in maybe??
 
Old 08-06-2003, 07:24 AM   #5
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
"boot cdrom -s" should get him to a good starting point. From there he should be able to mount the slices on the disk to get to what he needs.

Moving the disk to a W2K or Linux machine probably isn't an option. For starters, an older Spard system probably has LVD/SE SCSI drives. He'll need an appropriate card in the W2K/Linux box to even see the drive. The second hurdle is reading the file systems.

Last edited by stickman; 08-06-2003 at 07:27 AM.
 
Old 08-06-2003, 08:39 AM   #6
fishsponge
Member
 
Registered: Apr 2003
Location: Cambridge, UK
Distribution: Debian/Solaris
Posts: 147

Rep: Reputation: 15
i think a 'boot cdrom -s' would still ask for the root password, although i'm not 100% sure.
 
Old 08-06-2003, 01:48 PM   #7
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
It will not ask for a password.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UNIX Sound Systems TGWDNGHN General 3 11-22-2005 02:33 PM
2 hard drives, 3 operating systems & MBR's? Judah Ubuntu 1 05-20-2005 04:22 PM
Switching Hard Drives comprookie2000 Linux - Hardware 5 04-21-2004 03:27 AM
Help Switching Hard drives yzrider210 Linux - Hardware 3 11-29-2003 10:25 PM
switching x window systems subservant Linux - Newbie 13 02-20-2003 01:02 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration