switching hard drives from different UNIX OS systems
Solaris / OpenSolarisThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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??
"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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.