LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 11-17-2011, 05:20 PM   #1
aSystemOverload
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Rep: Reputation: Disabled
No keyboard detected upon boot >> grub (No OS)


Hi

Running Mint 10 Gnome. Was trying to reboot and hit [DEL] to get into bios as my recently installed SSD isn't giving me any speed and now i can't get into Linux, it just says "NO KEYBOARD DETECTED" and dumps me at the options screen (2 mint options and 2 memtest options).

The keyboards are not faulty and I've tried the normal PS2 keyboard and a usb one, both of which work on another 'nix and win7 machine.

Any ideas? Has the bootloader got confused???

PS2 doesn't work at all, no flashing on boot. USB flashes on boot, but then disapears when GRUB comes up.

Can't get any keys to work, SHIFT, DEL, F8 etc, not recognised. If PS2 keyboard is plugged in you get "KEYBOARD NOT DETECTED".

I've chucked a Mint bootable CD in and it just boots into the CD Mint.... Can't activate the menu to choose what I want... Keyboard works inside the bootable Mint... Restart and the same, takes me straight to the GRUB menu

Mint 10
Mint 10 - Recovery
Memtest
MemTest Serial Console

and no keyboard :-s
 
Old 11-18-2011, 01:46 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,961

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Welcome to LinuxQuestions.

What keyboard works inside the live Mint CD? I would guess only the USB keyboard.

I might try resetting i.e clearing the BIOS. Do you know if there is a USB keyboard BIOS setting? This would allow your USB keyboard to be functional before the OS is up and running. Since the PS/2 does not work at all I would guess that its controller has been fried and so if the BIOS reset attempt does not work for the USB keyboard then there is little the can be done AFAIK.
 
Old 11-18-2011, 02:00 PM   #3
aSystemOverload
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
Both keyboards run inside the LiveCD, so there are no hardware issues.

I can only assume that the GRUB has become corrupted or something else that is used during the start up process. Do you think it would be possible to edit the GRUB whilst in the LiveCD to fix it? Don't know much about the GRUB.

At a push I can reinstall, I've just downloaded Mint 11 and Mint 12RC 64Bit and I'm itching to install them, but if it happens again, I'd like to know how to fix it!
 
Old 11-18-2011, 02:07 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,961

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Thanks for the clarification, I was a bit confused.
http://martinwebster.eu/2011/04/28/h...linux-mint-10/
 
Old 11-21-2011, 02:12 PM   #5
aSystemOverload
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Thanks for the clarification, I was a bit confused.
http://martinwebster.eu/2011/04/28/h...linux-mint-10/
Keyboard doesn't work when the supergrub2 boots, so I've booted in via the LiveCD. Comparing my /BOOT/GRUB with my working machine, it's missing grub.cfg

The only files in /boot/grub/ are grubenv and linuxmint.png !!!

When i try grub-mkconfig I get:

/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?)

Help?!?! lmao
 
Old 11-26-2011, 11:15 AM   #6
aSystemOverload
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
Question

I took some advice from Martin Webster.

He advised me to identify the boot partition with
Code:
sudo fdisk -l
, which was /dev/sda1.

I then did
Code:
sudo mount /dev/sda1
, which resulted in
Code:
mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab
.

I'm looking to resolve this asap, so whilst I await Martin's comments, does anyone else have any bright ideas about fixing this? :-)

Thnx
 
Old 11-26-2011, 12:52 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Quote:
The only files in /boot/grub/ are grubenv and linuxmint.png !!!
That is probably the /boot/grub file on the CD. You need to first create a mount point. If your boot directory is on sda1 do:

sudo mkdir /mnt/sda1

After that you should be able to run the commands you did previously. You might need to specify the filesystem type when you mount.
 
Old 11-26-2011, 05:04 PM   #8
martinwebster
LQ Newbie
 
Registered: Apr 2011
Location: Leicester, United Kingdom
Distribution: Linux Mint
Posts: 5

Rep: Reputation: 1
Quote:
Originally Posted by aSystemOverload View Post
I took some advice from Martin Webster.

He advised me to identify the boot partition with
Code:
sudo fdisk -l
, which was /dev/sda1.
Please provide the output.

Quote:
I then did
Code:
sudo mount /dev/sda1
, which resulted in
Code:
mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab
.
My instruction was to mount /dev/sda1 to /mnt. You didn't follow my instructions correctly. Type ...
Code:
sudo mount /dev/sda1 /mnt
...to mount your drive from the LiveCD. If this works you should be able to update Grub:

Code:
sudo grub-install --boot-directory=/mnt/boot /dev/sda
If this works without error, reboot (removing the LiveCD) and then:

Code:
sudo update-grub
HTH
 
1 members found this post helpful.
Old 11-26-2011, 05:29 PM   #9
aSystemOverload
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thumbs up

A - Apologies, wasn't having a good day with following instructions.
B - Resetting the bios fixed it, without any additional commands, so thanks.
 
  


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
[SOLVED] GRUB Won't Timeout and Auto-Boot Unless Keyboard Is Plugged In recursionisrecursion Linux - Newbie 3 09-11-2011 10:28 AM
[SOLVED] How come I can't edit /boot/grub/grub.conf or /boot/grub/menu.lst in Fedora 14? trien27 Fedora 4 01-22-2011 05:02 PM
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 06:45 PM
Sometimes keyboard is not detected during boot r00m Slackware 5 08-21-2009 11:11 AM
keyboard won't work after GRUB boot itsjung Linux - Newbie 1 12-21-2004 11:14 AM


All times are GMT -5. The time now is 11:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration