SlackwareThis Forum is for the discussion of Slackware 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.
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.
Hello everybody!
I came upon a strange problem yesterday...
Well the story goes like this:
I bought a new HDD and after I moved my ext2 partition from the old to the new hdd, I tried to boot using a bootable cdrom (bare.i root=/dev/hda6 ro). The kernel was loaded and when I tried to log-on to my system, I realized that when i hit a key on the keyboard what is displayed on the prompt has nothing to do with the key i hit. For example i hit r-o-o-t and i get sthing like xx Ctr~012 and so on. I have no idea what could cause this. I would appreciate any help as I cannot log on to my system and I have to write you from windows
How did you moove your partition, for my part I used to do:
Code:
cd /source_partition; tar cvf - . | (cd /destination_partition; tar xvf -)
In this way I get a perfect clone (with all permissions set), I did it for /var and /home but from another system than one in the initial / partition (from a bootable CD for example), once partition perfectly cloned, you get same behaviour, no problem appears.
This is exactly what I did. I did tar -cvf to my old disc and tar- xvf to my new. I got no error during the whole process. I would like to ask the following? Do I have to copy all the directories if I change some hardware on my system? I think that /dev or /proc is not necesary to be copied as it is created every time the pc is started. Is it so?
/proc is virtual filesystem created automatically at boot, it does not exist physically in the drive but /dev are inodes (say sort of directory) and /dev exists physically in the drive. But again copy procedure must be done from another system that one installed in HD.
If I were you, I would try to boot from second CD of slackware install and follow the procedures to do repair with chroot and programms like /sbin/fsck.ext2. If fails, consider a fresh install of slackware in new drive, then copy data from old HD.
I don't think it is a matter of changing permissions. I did e2fsck and I got no erros...(partition clean) It will be extemely time spending to install it from scratch....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.