Answer the question
In order to leave comments, you need to log in
Why did Ubuntu disappear from GRUB after installing Kali Linux?
I decided to install Kali Linux alongside Windows 7 and Ubuntu. While installing Kali, I also installed GRUB Kali. And after rebooting the PC, I didn’t see Ubuntu in GRUB Kali. There were only windows 7,
kali linux and an item for additional Kali settings. How to create an item for downloading ubuntu.
Answer the question
In order to leave comments, you need to log in
In short, I tried everything that is possible and impossible, nothing happened. I installed ubuntu from scratch. But write your answers for others because I did everything.
Probably Grub Kali overwrite data from Ubuntu grub (if it was installed).
To install a third operating system on one disk with mbr, it would first be good to google how it is done correctly.
It was enough to install the Kali OS and register a new entry in Kali in the rough, this is one of the options.
function magicMatch(text) {
var matches = text.match(/^[^\,]+\,.+\((.+)\)$/);
if (matches && matches[1]) {
return matches[1];
}
return text;
}
console.log( magicMatch('Saglek, CA (YSV)') ); // YSV
console.log( magicMatch('Saglek Xxx city, CA (YSV)') ); // YSV
console.log( magicMatch('Saglek') ); // Saglek
console.log( magicMatch('Saglek ` Great City (town-city)') ); // Saglek ` Great City (town-city)
var regularVar = /[a-zA-Z0-9]/
var resultArray = regularVar.exec("What the fuck?")
There is no such pattern. The regular either finds what you need or doesn't find it.
Write 2 regular expressions:
1. If there is a quote, return everything without the quote
2. Otherwise, if there are brackets, return everything from the brackets
3. Otherwise, return everything
in order to write a regular expression, you need to know exactly what it should look for, but your logic is not visible))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question