LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2003, 01:46 PM   #1
hopbalt
Member
 
Registered: Jul 2003
Posts: 39

Rep: Reputation: 15
Mounting a drive from a non-Linux system


I need to change the permissions on some files on a hard drive for a machine that I dont have root access on.

This is my plan.

1. Power down, and remove hard drive from old SUN Solaris machine

2. Install dual boot Mandrake Linux on my Windows 2000 PC

3. Install old hard drive into Windows 2000 box

4. Restart PC and boot into Linux as root

5. mount the hard drive

6. change the permissions of files on the hard drive

7. Take out hard drive and put it back on the original SUN box.


For step 7, do I have to remount the hard drive in the original SUN box, or will just fitting it back into the slot be enough? I'm not changing any of the data files or locations, just the permissions on a few of the noncritical system files.
 
Old 08-05-2003, 02:26 PM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
You can easily download and burn a bootable Linux CD so that you can boot to the CD, mount the UFS disk, make your permission changes and put the drive back in the Sun machine, leaving the OS configuration on your Windows 2000 PC untouched.

I know I wouldn't want to screw around with my Windows partition just to make a permission change on a Sun machine. I'm guessing that there is a much easier way to accomplish your task.
 
Old 08-05-2003, 02:33 PM   #3
hopbalt
Member
 
Registered: Jul 2003
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bentz
You can easily download and burn a bootable Linux CD so that you can boot to the CD, mount the UFS disk, make your permission changes and put the drive back in the Sun machine, leaving the OS configuration on your Windows 2000 PC untouched.

I know I wouldn't want to screw around with my Windows partition just to make a permission change on a Sun machine. I'm guessing that there is a much easier way to accomplish your task.
yeah the problem is I dont have a Solaris 5.1 CD for the old SUN box to boot from.

Are you saying I can boot the SUN machine using a new Linux CD and that it doesnt have to be the same OS version that the hard drive was originally mounted/formatted under?
 
Old 08-05-2003, 05:59 PM   #4
JPawlak
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
hopbalt, Knoppix (http://www.knopper.net/knoppix/) is a Live version of Linux that runs directly off of the CD. This should help you to change the permissions without removing the HDD.
 
Old 08-05-2003, 09:27 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Quote:
Originally posted by hopbalt
yeah the problem is I dont have a Solaris 5.1 CD for the old SUN box to boot from.

Are you saying I can boot the SUN machine using a new Linux CD and that it doesnt have to be the same OS version that the hard drive was originally mounted/formatted under?
If this is all legit as you say...

And no one has the root password for this workstaton?

I believe you mean CPU type of which the SUN machine is the SPARC. Knoppix live CD is only for i86 processors. Nope, doesn't have to be the same OS as originally formatted.

Also the hard drive is probably SCSI. Which means installing a SCSI controller and finding the adaptors etc to connect the drive. That is if you don't already have a controller.

You might be able to use install CD for SPARC to boot in rescue mode. Mount the drive and modify the files. I will assume that it has UFS support. I don't know if there are any UFS capabilites for rescue mode on the i86 CD distros.

If you stick the drive on your W2k machine and install linux you might have to recompile the kernel to get ufs for read / write capabilities.

And it would be best to reinstall the hard drive like it was. Is it in a removable chassis?

Last edited by michaelk; 08-05-2003 at 09:39 PM.
 
Old 08-06-2003, 08:17 AM   #6
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
I was suggesting that you remove the drive from the Sun machine, install it in an Intel machine, boot a CD-Based Linux distro for ia32 and mount the drive. I could be wrong, but I believe that UFS support can be enabled using a LKM.
 
Old 08-06-2003, 08:24 AM   #7
hopbalt
Member
 
Registered: Jul 2003
Posts: 39

Original Poster
Rep: Reputation: 15
I will try the Solaris 9 CD reboot tactic first and see if that works.

I'd rather not remove the hard drive unless I absolutely have to
 
  


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
Mounting a Linux Drive on an XP system? Savanna Linux - Newbie 2 06-21-2005 04:38 PM
Mounting partition on Linux drive with XP. moistTowelette Linux - Hardware 6 04-24-2005 11:30 PM
external hard drive mounting and system hang during load genova Linux - General 0 02-02-2005 02:02 AM
Mounting FreeBSD drive under Linux spindley Linux - General 7 01-02-2004 12:51 PM
System hangs when mounting ZIP100 Drive cteng Linux - Hardware 1 11-20-2002 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:58 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