Ubuntu This forum is for the discussion of Ubuntu Linux. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
09-28-2005, 08:18 PM
|
#1
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Rep:
|
Ubuntu Live ~ Hard drive access
hey,
I have both my hard drives formatted for Suse. One of my hard drives has a full install of Suse Linux. I messed up my suse install, but have some valuable files on both hard drives. I downloaded and burned a live version of ubuntu, and booted it up, expecting to use it to copy files from one hard drive to the other, and to wipe the suse drive when I finished. The problem is I can't seem to get hard drive access using ubuntu live. The internet works, the floppy drives work, the cd drives work, the printer works, everything works perfectly except file access.
I am wondering if I have to do something special to mount the hard drives.
I read somewhere that ubuntu may have a restriction on the hard drive format it can read (can it read the suse defult?) If not, what distro should I use for my task?
|
|
|
09-28-2005, 08:36 PM
|
#2
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775
Rep:
|
There are no restrictions on the formats Ubuntu can read, but you'll probably have to manually mount the partitions (especially if you're using Ubuntu, as opposed to Kubuntu). Do you know how to manually mount partitions?
|
|
|
09-28-2005, 11:46 PM
|
#3
|
LQ Newbie
Registered: Sep 2005
Posts: 5
Original Poster
Rep:
|
sorry, no I don't
I tried my best guess...
cd /dev
mount hda
... but it gave me an error. Not sure what to do. plz help
|
|
|
10-08-2005, 10:18 AM
|
#5
|
LQ Newbie
Registered: Jan 2005
Location: Columbia
Distribution: SuSE 10.0
Posts: 13
Rep:
|
What you need to do is do this (I used the Ubuntu live CD to access a hard drive that had SuSE 9.3 on it but a corrupted / and /boot partitions. I needed to mount /home.)
sudo mkdir /<directory> (you choose the name)
sudo mount -t reiserfs /dev/<name of drive, such as hda1> /<directory>
For me, /home was on /dev/hda7, and I mounted it to /old, so here's what I did:
sudo mkdir /old
sudo mount -t reiserfs /dev/hda7 /old
And now you can access the hard drive partition.
|
|
|
11-03-2005, 11:31 AM
|
#6
|
LQ Newbie
Registered: Nov 2005
Distribution: ubuntu
Posts: 1
Rep:
|
Ubuntu Live ~ Hard drive access
Using Ubuntu 5.10 Live, I created a user called test and logged in with it. I then wanted to mount partition on harddisk. However, when I entered the command:
sudo mkdir /mnt/windows
It wouldn't create the subdirectory in /mnt, and didn't give an error message either. Is there something in the Live edition that prevents directories from being created in the /mnt directory? Some kind of privilege problem? I thought the sudo would promote test user to whatever priv is necessary.
I was able to create subdirectory in /home/test.
|
|
|
10-26-2009, 01:10 PM
|
#7
|
LQ Newbie
Registered: Oct 2009
Posts: 1
Rep:
|
There's another way.
When you try to access user accounts and drives with the Ubuntu Live CD it's not very friendly, (won't let copy files because you don't have user access) however there is another way.
Open a terminal window and type
sudo nautilus
This opens the nautilus explorer/browser so you can easily 'see' and get to the drives you need and you can then right click on the folder/files you want, choose 'properties'>'permissions' and change the permissions to 'read and write'.
Now the OS will let copy the data to a memory stick, CD etc.
|
|
|
11-09-2012, 03:15 PM
|
#8
|
LQ Newbie
Registered: Nov 2012
Posts: 1
Rep: 
|
?
after you have access to my home folder and they click on my user account name it show this :
Access-Your-Private-Data.desktop and README.TXT
I don't know what to do with it I try opening it and changing the permissions. Nothing happens?
|
|
|
11-09-2012, 06:58 PM
|
#9
|
Senior Member
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
|
Quote:
Originally Posted by accessflorida
When you try to access user accounts and drives with the Ubuntu Live CD it's not very friendly, (won't let copy files because you don't have user access) however there is another way.
Open a terminal window and type
sudo nautilus
This opens the nautilus explorer/browser so you can easily 'see' and get to the drives you need and you can then right click on the folder/files you want, choose 'properties'>'permissions' and change the permissions to 'read and write'.
Now the OS will let copy the data to a memory stick, CD etc.
|
Accessing the drive will be as easy from your other Suse install as it is from the live CD and a lot faster.
I don't think that going into Nautilus as root will show your the drive though.
In either case, Live Session or from your other install, will require mounting the drive. You do this as root;
or any name you want for the directory. Then;
Code:
mount /dev/hda /mnt/rescue
That should mount the drive in your /mnt/rescue directory.
Now you can access that with Nautilus as root.
Problem with that is that you will have all files transfered owned by root.
You will need to chown the suckers sometime. I suggest that you run, again as root;
Code:
chown -R user:user /mnt/rescue
where "user" is your user name. This should give your user the ownership of /mnt/rescue and all its contents. This way you can go through them with Nautilus as user, not root, and copy them anywhere you have permission to put files.
When everything is straightened out I would get rid of that /mnt/rescue directory as it is a user owned directory in your system files. Messy. Or you could use the same chown command with "root" in place of each instance of "user". This will return that directory to root ownership and leave it there in case you ever need it again.
Last edited by widget; 11-09-2012 at 06:59 PM.
|
|
|
11-11-2012, 09:35 AM
|
#10
|
Senior Member
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230
|
You may find it easier to recover your data using a Parted Magic Live CD: http://partedmagic.com/doku.php
I have used Parted Magic to recover data from failing hard drives with good results.
You can also use Parted Magic to create, delete, refomat, and resize partitins easily with a nice and easy to use graphical partition manager.
You could also use the System Rescue CD for this purpose: http://www.sysresccd.org/SystemRescueCd_Homepage
Last edited by tommcd; 11-11-2012 at 09:37 AM.
|
|
|
All times are GMT -5. The time now is 05:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|