LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 09-28-2005, 08:18 PM   #1
sleeplesscitizen
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
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?
 
Old 09-28-2005, 08:36 PM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
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?
 
Old 09-28-2005, 11:46 PM   #3
sleeplesscitizen
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 09-28-2005, 11:56 PM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
This will give you an idea of how to mount and unmount things manually in Ubuntu--though, it uses NTFS as an example:

http://ubuntuguide.org/#mountunmountntfs

This gives a bit more info on mounting and /etc/fstab. I believe SuSE's filesystem is ext3:

http://www.tuxfiles.org/linuxhelp/fstab.html
 
Old 10-08-2005, 10:18 AM   #5
p_kelchen
LQ Newbie
 
Registered: Jan 2005
Location: Columbia
Distribution: SuSE 10.0
Posts: 13

Rep: Reputation: 0
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.
 
Old 11-03-2005, 11:31 AM   #6
user mike
LQ Newbie
 
Registered: Nov 2005
Distribution: ubuntu
Posts: 1

Rep: Reputation: 0
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.
 
Old 10-26-2009, 01:10 PM   #7
accessflorida
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
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.
 
Old 11-09-2012, 03:15 PM   #8
Gibbster
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
?

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?
 
Old 11-09-2012, 06:58 PM   #9
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,179

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Quote:
Originally Posted by accessflorida View Post
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;
Code:
mkdir /mnt/rescue
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.
 
Old 11-11-2012, 09:35 AM   #10
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,229

Rep: Reputation: 286Reputation: 286Reputation: 286
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I can't get ubuntu to work with my external hard drive! Kingrames Ubuntu 7 11-14-2005 10:35 PM
Writing to a USB hard drive in Ubuntu rockatship Linux - Hardware 3 09-18-2005 03:18 PM
USB Hard drive in Ubuntu NeoChaosX Linux - Hardware 1 06-26-2005 11:37 AM
Ubuntu will not mount my other hard drive Trance56k Linux - Newbie 6 02-26-2005 01:08 PM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM


All times are GMT -5. The time now is 10:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration