How to get beeping on boot to stop?
Judging by the output of cat /etc/default/grub
there is no config causing the beep, as GRUB_INIT_TUNE
is commented out.
However, this can be caused by a key being held down prior to the GRUB menu showing up. If you recently spilled anything on your laptop or eaten near it, you might have a stuck key. Not stuck enough to show up in the full OS, but enough to cause GRUB to beep.
If you pop off the key-caps on the keyboard and clean underneath them, that might resolve your issue as sometimes little bits of food (or even just stuff from regular use) can get underneath the keys.
EDIT: We were able to figure out the issue in chat.
OP had to edit the /cdrom/isolinux/menu.cfg
file and edit the menu title Installer boot menu^G
line by removing the ^G
from the end. He then restarted, and the issue was resolved.
Related videos on Youtube
user3217883
Updated on September 18, 2022Comments
-
user3217883 over 1 year
I have a phone field where two formats are valid - "123-456-7890" and "+01 123-456-7890". I have a pattern to handle the second case
Validators.pattern(/(\+\d{2})?\d{3}[\-]?\d{3}[\-]?\d{4}/)
but how to make the first case also acceptable? As far as I can tell from the docs, the Validators only support&&
conditions, but not||
conditions. Am I missing something?Also, I'd like to make the field turn red as stuff is being entered into it if it has not yet met the validation criteria, and not annoy the user with popups along the way. Then when he leaves the field, it stays red. Then only when the form is submitted does it list all the fields that are wrong. Is there a way to do that?
-
kashish over 8 yearsare you booting from USB everytime?
-
RPiAwesomeness over 8 years@TyGuy1016 Can you run
cat /etc/default/grub
in Terminal and edit your question with the output? That'll help me answer your question :) -
TyGuy1016 over 8 yearskk ill try, im currently on windows, ill need to boot it up, so it will take a minute
-
TyGuy1016 over 8 yearsif it tells you anything, i havent edited it
-
Lapskaus about 2 yearsUse a custom ValidatorFn. Have a look at the
Forbidden Hero Name
example in the angular docs
-
-
TyGuy1016 over 8 yearsIt's not that. It does it on every computer I have boot Ubu from.
-
RPiAwesomeness over 8 years@TyGuy1016 I may have another solution, but I'll have to make a bootable USB to test it out. As for your second comment the boot menu is the boot menu. GRUB is the boot loader
-
RPiAwesomeness over 8 years@TyGuy1016 I was going to create the USB stick so I could see if there is a separate GRUB config file stored on the USB stick that's different than the one in
/etc/default/grub
. I won't be able to get an answer to you in regards to that for a couple of hours. Is the entire installation on the USB stick? As for your age, there's nothing wrong with it! I've been involved with Linux/Ubuntu since I was 12 and on this site since I was 13. -
TyGuy1016 over 8 yearsok yes the entire install is on the 16gb DUO LINK flash drive (its the kind that has one end for apple lightning connector and one for standard usb
-
RPiAwesomeness over 8 yearsWell, I might have found another solution. Try editing the
isolinux/menu.cfg
file and looking for a line that looks like this:menu title Installer boot menu^G
. Try deleting the^G
from the end of the line, it might resolve your issue. As for my age, I'm 16 currently. -
TyGuy1016 over 8 yearsLet us continue this discussion in chat.
-
user3217883 about 2 yearsIndeed, it worked! Thank you! I get the 2,3,3,4 digits. I don't get how it is able to handle both patterns at once. Can you explain?
-
user3217883 about 2 yearsI get the 2,3,3,4 digits and I see how it is able to handle both patterns at once. What is the ^ at the beginning and the $ at the end for? Also, the optional space doesn't seem to be working in the second format. It fails if a space is included.
-
Justwell Solets about 2 years
^
means should start with.$
means should end with.?
means zero or one.\s
means a white space. Adding?
to the\s
i.e.\s?
means zero or one white space is allowed.\d
means any digit.{x, y}
means at-leastx
characters and maximumy
characters, you can provide any one of them. For example{,4}
means max 4 chars.{4}
means should be 4 chars and{4,}
means at-least 4 chars. Hope this may helpful for you.