openSUSE Forums > Install/Boot/Login » Reading/copying /home with a live CD

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read


Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-Nov-2009, 15:19
danorske's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Posts: 142
danorske hasn't been rated much yet
Default Reading/copying /home with a live CD

HI,
I have a messed up HHD with OS11.0 on it. I'm unable to boot it or load it. If I use suse 10 live it sees only itself. If I use Knoppix live I can see /home on the drive but I'm unable to copy any of the files. cause I don't have permission. How can I log in as SU? to get the permission that I need.

Thanks,
Ron
Reply With Quote
  #2 (permalink)  
Old 07-Nov-2009, 15:26
Wise Penguin
 
Join Date: Nov 2008
Posts: 1,243
Confuseling is on a distinguished reputation roadConfuseling is on a distinguished reputation road
Default Re: Reading/copying /home with a live CD

That rather depends on how knoppix works, but I'd guess it doesn't have a root password (most Live CD's don't. If it does, try to guess it or google it).

Load knoppix
Code:
su -
[password here]
fdisk -l
mount
That should tell you which partitions are on the system, and which are mounted. If it's already mounted, great! Rescue the stuff you need. If not...

Code:
mkdir /mnt/suse
mount /dev/sdXY /mnt/suse
cd /mnt/suse
[rescue your stuff]
Substituting sdXY for the correct information from before. If you get the wrong partition, just

Code:
umount /mnt/suse
and try again...
Reply With Quote
  #3 (permalink)  
Old 07-Nov-2009, 21:10
danorske's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Posts: 142
danorske hasn't been rated much yet
Default Re: Reading/copying /home with a live CD

Thanks Confuseling,

I am able to use Terminal as su. no password needed. My Linux command language is really limited. If I have a file on the old /home/pictures and want to copy it from hdb3 to uda1. what is the copy command?
I followed your instructions to cd /mnt/suse

From there I'm kinda lost.

Ron
Reply With Quote
  #4 (permalink)  
Old 07-Nov-2009, 21:31
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,863
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Reading/copying /home with a live CD

I can usually manage this in knoppix once the partition is mounted, if you are just copying it should just work.
Other than that I use Mepis which has a root login on the live cd, also Parted Magic IIRC can manage this. Of course a suse live cd can be booted as root but I have never tried it's capabilities.
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #5 (permalink)  
Old 07-Nov-2009, 22:05
danorske's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Posts: 142
danorske hasn't been rated much yet
Default Re: Reading/copying /home with a live CD

Quote:
Originally Posted by caf4926 View Post
I can usually manage this in knoppix once the partition is mounted, if you are just copying it should just work.
Other than that I use Mepis which has a root login on the live cd, also Parted Magic IIRC can manage this. Of course a suse live cd can be booted as root but I have never tried it's capabilities.
I've lost my Suse live disk. How do you spell copy in linux?
Ron
Reply With Quote
  #6 (permalink)  
Old 07-Nov-2009, 22:10
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,863
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Reading/copying /home with a live CD

eg:
Code:
cp /dev/sda1/foldername* /dev/sdc/backup*
Replace with your values/foldernames etc...
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #7 (permalink)  
Old 09-Nov-2009, 08:27
Wise Penguin
 
Join Date: Nov 2008
Posts: 1,243
Confuseling is on a distinguished reputation roadConfuseling is on a distinguished reputation road
Default Re: Reading/copying /home with a live CD

You had any luck? I'm a little confused by you mentioning hdb4 - I didn't think SUSE 11 designated anything 'hd', but I may be completely wrong.

If you're stuck, give us the output of 'fdisk -l' from your knoppix root terminal, and tell us which partition you're trying to copy parts of to which other partition, and we can give you precisely the right commands...
Reply With Quote
  #8 (permalink)  
Old 09-Nov-2009, 20:21
danorske's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Posts: 142
danorske hasn't been rated much yet
Default Re: Reading/copying /home with a live CD

Quote:
Originally Posted by Confuseling View Post
You had any luck? I'm a little confused by you mentioning hdb4 - I didn't think SUSE 11 designated anything 'hd', but I may be completely wrong.

If you're stuck, give us the output of 'fdisk -l' from your knoppix root terminal, and tell us which partition you're trying to copy parts of to which other partition, and we can give you precisely the right commands...
Well, I got unstuck, I installed OS 11.2 on a new HHD. Then out the bad hhd in as a slave and was able to rescue my files.
Oh, Knoppix live 3.8 labeled that drive as hdb4.

Thanks for all your help.
Ron
Reply With Quote
  #9 (permalink)  
Old 09-Nov-2009, 20:25
Wise Penguin
 
Join Date: Nov 2008
Posts: 1,243
Confuseling is on a distinguished reputation roadConfuseling is on a distinguished reputation road
Default Re: Reading/copying /home with a live CD

Quote:
Originally Posted by danorske View Post
...
Oh, Knoppix live 3.8 labeled that drive as hdb4.
...


Doh! clearly not paying attention, sorry about that...

Glad you're sorted though...
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2