LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-11-2004, 06:58 AM   #1
stelmed
Member
 
Registered: Mar 2003
Location: Evia-Greece
Distribution: Slackware
Posts: 104

Rep: Reputation: 15
Cannot Use Keyboard Under Console!!


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
 
Old 06-11-2004, 07:19 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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.
 
Old 06-11-2004, 07:25 AM   #3
stelmed
Member
 
Registered: Mar 2003
Location: Evia-Greece
Distribution: Slackware
Posts: 104

Original Poster
Rep: Reputation: 15
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?
 
Old 06-11-2004, 07:32 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
/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.
 
Old 06-11-2004, 07:35 AM   #5
stelmed
Member
 
Registered: Mar 2003
Location: Evia-Greece
Distribution: Slackware
Posts: 104

Original Poster
Rep: Reputation: 15
Well, what could cause that problem then? (
 
Old 06-11-2004, 07:47 AM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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.
 
Old 06-11-2004, 07:51 AM   #7
stelmed
Member
 
Registered: Mar 2003
Location: Evia-Greece
Distribution: Slackware
Posts: 104

Original Poster
Rep: Reputation: 15
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....
 
Old 06-11-2004, 08:09 AM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Try to boot from CD, mount your new HD, chroot /your new root partition and reinstall kbd and devs pakages.

[edit]
Install a minimal system with selected packages can be a more quick solution

Last edited by keefaz; 06-11-2004 at 08:11 AM.
 
Old 06-11-2004, 08:14 AM   #9
stelmed
Member
 
Registered: Mar 2003
Location: Evia-Greece
Distribution: Slackware
Posts: 104

Original Poster
Rep: Reputation: 15
I will give it a try....Anyway, thank you very much for your help.
 
  


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
Keyboard settings when using console Eux Debian 4 08-08-2005 10:20 AM
Keyboard problem, console os2 SUSE / openSUSE 9 02-23-2005 10:24 PM
No Keyboard/Mouse in X/Console Diademed Linux - Newbie 2 09-19-2004 02:28 PM
keyboard, on console, on X, and with wine....plz help me! freemancer Linux - Software 0 07-28-2003 01:14 PM
keyboard locks up in console busbarn Linux - Laptop and Netbook 10 06-23-2003 08:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration