Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
When you say files what you mean? Like text docs and stuff? Or you mean programs that are installed? The problem you will have with programs is they have libs and what not that would have to be transfered, this could be a mess. Would be better just to apt-get or yum install whatever.
Assuming you're using a Gnome destop, there should be a desktop icon named 'Computer.' It works just like 'My Computer' on Windows. You should be able to navigate from there to see any file on any drive, and use copy and paste, drag 'n drop or whatever to move them around.
When you say you can't see the hard drive that is probably because it is not mounted. Every linux partition, in fact, every disk partition needs an entry in "/etc/fstab". That is the file that lists all your file systems, and various things about each one. An fstab entry works like this:
/dev/hdb /mnt/oldfedora ext3 defaults 0 0
"/dev/hdb" is the device file for the partition, in "/dev".
"/mnt/oldfedora" is an ordinary directory you make with "mkdir"
"ext3" is the file system type. This needs to be set for the type of file system, so it might need to be "ext2", "reiserfs" or something like that.
"defaults" gives read/write access, and typical options.
"0 0" tells linux not to check the drive on boot up. "0 1" tells linux to check the drive first on boot up. "0 2" tells it to check that drive second on bootup. You cannot have two drives with identical numbers in this spot unless they are "0 0"
Once you have an fstab line for your old fedora partition, you just go to the "/mnt" directory in any file browser, or a shell, mount the drive with "mount /mnt/oldfedora", and cd to it with "cd /mnt/oldfedora". Then, do "ls" and make sure the files are available. Do "cp -r *" /home/<user>". This will transfer all the files. But, if you only want to transfer "/home" from the old install do "cp -r /home/* /home/<user>.
It looks like your data is installed on /dev/hdb2. The only problem is it is an LVM (logical volume manager?) I'm not sure if you can just mount that like normal. I've never worked with them, but there might be special tools required to retrieve data from a LVM.
v-rockro:~# mount /mnt/oldfedora
mount: /dev/hdb is not a valid block device
v-rockro:~# mount /mnt/oldfedora
mount: /dev/hdb1 is not a valid block device
also when im using the webmin to mount:
Failed to save mount : Remount failed :
mount: wrong fs type, bad option, bad superblock on /dev/hdb2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so