[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't boot
From: |
Luiz alberto Medaets |
Subject: |
Re: Can't boot |
Date: |
Sun, 11 Apr 2010 14:53:20 -0300 |
On Fri, 2010-04-09 at 13:13 -0300, Luiz alberto Medaets wrote:
> I have an 10 years old notebook (500MHz Pentium, 256M memory, 6G HD)that I
> use as a netbook at the beach house.
> The PS2 device is damaged so I use an external USB mouse and keyboard that
> are not recognized by BIOS, that is, until Xubuntu is loaded, I have no mouse
> and / or keyboard.
> It was working fine but during last boot the battery was discharged and
> it fail to boot. Now every time I tried to boot the Grub menu appears
> and waits for me to hit a kernel option to boot with. The problem is
> that I can't, as my USB keyboard at this point doesn't work.
> The only solution I found is to reinstall Xubuntu from CD, but if I do
> it, I will loose all my data on the HD.
> Is there a way to disable the Grub menu so it will never be prompted again
> and always boot from a specific kernel?
> Regards,
> Luiz Alberto Medaets
Sorry to bored, I found the solution:
When you have a Boot fail recordfail=1 and timeout is set to -1. When
timeouut=-1, the countdown is stopped and the menu appears and waits for
me to hit a kernel option to boot with.
I have changed the /etc/grub.d/00_header from:
if [ \${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=${GRUB_TIMEOUT}
fi
to:
if [ \${recordfail} = 1 ]; then
set timeout=10
else
set timeout=${GRUB_TIMEOUT}
fi
Then I run the sudo update-grub to update the /boot/grub/grub.cfg. End
of problem.
--
Luiz Alberto Medaets
address@hidden
- Can't boot, Luiz alberto Medaets, 2010/04/10
- Re: Can't boot,
Luiz alberto Medaets <=