Can I run Ubuntu on something other than Linux Kernel?What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?Can ubuntu run on any other kernelHow can I browse linux kernel package source like I can other packages on Launchpad?Linux kernel didn't start correctly after bootIs the Linux kernel required to run Linux?List of Ubuntu Versions with Corresponding Linux Kernel VersionHow To dist-upgrade Without Upgrading Linux Kernel?Linux kernel meta package and headersI don't get Linux kernel 5.x.x upgrades. I just get kernel 4.x.x upgrades
Implement the Max-Pooling operation from Convolutional Neural Networks
Is there a way to realize a function of type ((a -> b) -> b) -> Either a b?
Can I flush my GPU memory? 90%+ consistent usage
how to make code more optimal in a very big function
Simulate a pool using multithreading in Python
Is current (November 2019) polling about Democrats lead over Trump trustworthy?
"Chess is 90% tactics" - should a player focus more on tactics in order to improve?
Basic Accidental Question
How does the sorcerer's Careful Spell Metamagic option work with the Thunderwave spell?
Hole in PCB due to corrosive reaction?
Windows 10 ruined my GRUB menu
Giving a talk on a different topic than what we discussed
Why use [FormalN]?
Is there an existing name for this kind of political system?
Are the EVA suits used in the ISS and in the NBL same or different?
Well-known American figure with Roman numerals
What happens when i sign a public key with its private key pair?
Why is potassium ferrocyanide considered safe for consumption, when it is just one reaction away from the highly toxic potassium cyanide?
count network interfaces in bash
Why do airports in the UK have so few runways?
Need Good OOP Design For World and Countries Problem
Is it sportsmanlike to waste opponents' time by giving check at the end of the game?
Do airplanes need brakes in the air?
How to identify a (personal) Canon Sue?
Can I run Ubuntu on something other than Linux Kernel?
What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?Can ubuntu run on any other kernelHow can I browse linux kernel package source like I can other packages on Launchpad?Linux kernel didn't start correctly after bootIs the Linux kernel required to run Linux?List of Ubuntu Versions with Corresponding Linux Kernel VersionHow To dist-upgrade Without Upgrading Linux Kernel?Linux kernel meta package and headersI don't get Linux kernel 5.x.x upgrades. I just get kernel 4.x.x upgrades
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I want to delete my Linux kernel but still want to run Ubuntu with GNU utilities. I don't like Linux; I only want GNU. So can I run Ubuntu and GNU on something other than Linux kernel?
kernel gnu
|
show 1 more comment
I want to delete my Linux kernel but still want to run Ubuntu with GNU utilities. I don't like Linux; I only want GNU. So can I run Ubuntu and GNU on something other than Linux kernel?
kernel gnu
2
Every operating system has a kernel and it is how the OS interacts with the hardware. en.wikipedia.org/wiki/Kernel_(operating_system) Even GNU has a kernel en.wikipedia.org/wiki/GNU_Hurd
– Terrance
Jun 27 at 13:22
Computer users have little interaction with any kernel, most of of the interaction is done with GNU and what ever favour of discro you are using. Maybe you would be happier with another desktop or type of linux. The kernel basicily just lets the hardware work with all the pretty stuff you use.
– crip659
Jun 27 at 13:53
7
@Terrance GNU is a collection of software, but lacks a kernel. Hurd is a kernel that is developed by the GNU folks, but GNU itself doesn't have a kernel. @ themeguy, removing the kernel is pointless. The machine is useless without a kernel. Now, if you want to use the GNU toolset with a non-Linux kernel, that is entirely possible, but you will need to replace the Linux kernel with another one. However, this will essentially mean building your own operating system and so is not on topic here.
– terdon♦
Jun 27 at 15:29
@terdon I understand that GNU itself doesn't have a kernel since it is a collection. My point was that even a GNU OS does have a kernel. gnu.org
– Terrance
Jun 27 at 16:13
1
I'll put my two cents forward on this matter: question relates to Ubuntu OS after-all and it is on-topic. We accept a variety of questions related to modifying base OS, from scripting to creating distro based on Ubuntu, from installing other desktops to 3rd party applications. So question about modifying OS at kernel level should not in any way be off-topic. As for whether or not you can run Ubuntu with non-Linux kernel it's possible and such projects already exist as mentioned in my answer.
– Sergiy Kolodyazhnyy
Jul 16 at 5:04
|
show 1 more comment
I want to delete my Linux kernel but still want to run Ubuntu with GNU utilities. I don't like Linux; I only want GNU. So can I run Ubuntu and GNU on something other than Linux kernel?
kernel gnu
I want to delete my Linux kernel but still want to run Ubuntu with GNU utilities. I don't like Linux; I only want GNU. So can I run Ubuntu and GNU on something other than Linux kernel?
kernel gnu
kernel gnu
edited Jul 5 at 0:25
WinEunuuchs2Unix
60.6k18 gold badges122 silver badges237 bronze badges
60.6k18 gold badges122 silver badges237 bronze badges
asked Jun 27 at 13:01
user967514user967514
2
Every operating system has a kernel and it is how the OS interacts with the hardware. en.wikipedia.org/wiki/Kernel_(operating_system) Even GNU has a kernel en.wikipedia.org/wiki/GNU_Hurd
– Terrance
Jun 27 at 13:22
Computer users have little interaction with any kernel, most of of the interaction is done with GNU and what ever favour of discro you are using. Maybe you would be happier with another desktop or type of linux. The kernel basicily just lets the hardware work with all the pretty stuff you use.
– crip659
Jun 27 at 13:53
7
@Terrance GNU is a collection of software, but lacks a kernel. Hurd is a kernel that is developed by the GNU folks, but GNU itself doesn't have a kernel. @ themeguy, removing the kernel is pointless. The machine is useless without a kernel. Now, if you want to use the GNU toolset with a non-Linux kernel, that is entirely possible, but you will need to replace the Linux kernel with another one. However, this will essentially mean building your own operating system and so is not on topic here.
– terdon♦
Jun 27 at 15:29
@terdon I understand that GNU itself doesn't have a kernel since it is a collection. My point was that even a GNU OS does have a kernel. gnu.org
– Terrance
Jun 27 at 16:13
1
I'll put my two cents forward on this matter: question relates to Ubuntu OS after-all and it is on-topic. We accept a variety of questions related to modifying base OS, from scripting to creating distro based on Ubuntu, from installing other desktops to 3rd party applications. So question about modifying OS at kernel level should not in any way be off-topic. As for whether or not you can run Ubuntu with non-Linux kernel it's possible and such projects already exist as mentioned in my answer.
– Sergiy Kolodyazhnyy
Jul 16 at 5:04
|
show 1 more comment
2
Every operating system has a kernel and it is how the OS interacts with the hardware. en.wikipedia.org/wiki/Kernel_(operating_system) Even GNU has a kernel en.wikipedia.org/wiki/GNU_Hurd
– Terrance
Jun 27 at 13:22
Computer users have little interaction with any kernel, most of of the interaction is done with GNU and what ever favour of discro you are using. Maybe you would be happier with another desktop or type of linux. The kernel basicily just lets the hardware work with all the pretty stuff you use.
– crip659
Jun 27 at 13:53
7
@Terrance GNU is a collection of software, but lacks a kernel. Hurd is a kernel that is developed by the GNU folks, but GNU itself doesn't have a kernel. @ themeguy, removing the kernel is pointless. The machine is useless without a kernel. Now, if you want to use the GNU toolset with a non-Linux kernel, that is entirely possible, but you will need to replace the Linux kernel with another one. However, this will essentially mean building your own operating system and so is not on topic here.
– terdon♦
Jun 27 at 15:29
@terdon I understand that GNU itself doesn't have a kernel since it is a collection. My point was that even a GNU OS does have a kernel. gnu.org
– Terrance
Jun 27 at 16:13
1
I'll put my two cents forward on this matter: question relates to Ubuntu OS after-all and it is on-topic. We accept a variety of questions related to modifying base OS, from scripting to creating distro based on Ubuntu, from installing other desktops to 3rd party applications. So question about modifying OS at kernel level should not in any way be off-topic. As for whether or not you can run Ubuntu with non-Linux kernel it's possible and such projects already exist as mentioned in my answer.
– Sergiy Kolodyazhnyy
Jul 16 at 5:04
2
2
Every operating system has a kernel and it is how the OS interacts with the hardware. en.wikipedia.org/wiki/Kernel_(operating_system) Even GNU has a kernel en.wikipedia.org/wiki/GNU_Hurd
– Terrance
Jun 27 at 13:22
Every operating system has a kernel and it is how the OS interacts with the hardware. en.wikipedia.org/wiki/Kernel_(operating_system) Even GNU has a kernel en.wikipedia.org/wiki/GNU_Hurd
– Terrance
Jun 27 at 13:22
Computer users have little interaction with any kernel, most of of the interaction is done with GNU and what ever favour of discro you are using. Maybe you would be happier with another desktop or type of linux. The kernel basicily just lets the hardware work with all the pretty stuff you use.
– crip659
Jun 27 at 13:53
Computer users have little interaction with any kernel, most of of the interaction is done with GNU and what ever favour of discro you are using. Maybe you would be happier with another desktop or type of linux. The kernel basicily just lets the hardware work with all the pretty stuff you use.
– crip659
Jun 27 at 13:53
7
7
@Terrance GNU is a collection of software, but lacks a kernel. Hurd is a kernel that is developed by the GNU folks, but GNU itself doesn't have a kernel. @ themeguy, removing the kernel is pointless. The machine is useless without a kernel. Now, if you want to use the GNU toolset with a non-Linux kernel, that is entirely possible, but you will need to replace the Linux kernel with another one. However, this will essentially mean building your own operating system and so is not on topic here.
– terdon♦
Jun 27 at 15:29
@Terrance GNU is a collection of software, but lacks a kernel. Hurd is a kernel that is developed by the GNU folks, but GNU itself doesn't have a kernel. @ themeguy, removing the kernel is pointless. The machine is useless without a kernel. Now, if you want to use the GNU toolset with a non-Linux kernel, that is entirely possible, but you will need to replace the Linux kernel with another one. However, this will essentially mean building your own operating system and so is not on topic here.
– terdon♦
Jun 27 at 15:29
@terdon I understand that GNU itself doesn't have a kernel since it is a collection. My point was that even a GNU OS does have a kernel. gnu.org
– Terrance
Jun 27 at 16:13
@terdon I understand that GNU itself doesn't have a kernel since it is a collection. My point was that even a GNU OS does have a kernel. gnu.org
– Terrance
Jun 27 at 16:13
1
1
I'll put my two cents forward on this matter: question relates to Ubuntu OS after-all and it is on-topic. We accept a variety of questions related to modifying base OS, from scripting to creating distro based on Ubuntu, from installing other desktops to 3rd party applications. So question about modifying OS at kernel level should not in any way be off-topic. As for whether or not you can run Ubuntu with non-Linux kernel it's possible and such projects already exist as mentioned in my answer.
– Sergiy Kolodyazhnyy
Jul 16 at 5:04
I'll put my two cents forward on this matter: question relates to Ubuntu OS after-all and it is on-topic. We accept a variety of questions related to modifying base OS, from scripting to creating distro based on Ubuntu, from installing other desktops to 3rd party applications. So question about modifying OS at kernel level should not in any way be off-topic. As for whether or not you can run Ubuntu with non-Linux kernel it's possible and such projects already exist as mentioned in my answer.
– Sergiy Kolodyazhnyy
Jul 16 at 5:04
|
show 1 more comment
4 Answers
4
active
oldest
votes
TL;DR
You cannot remove the Linux kernel from Ubuntu, without irrevocably crashing your entire system but in the future you might be able to replace it.
The long answer:
This is due to the history of GNU/Linux:
Once upon a time, there was a guy called RMS that wanted to keep software to be free¹. He ended up publishing the source of his software (what we call "Open-Sourcing" today) and eventually this all became the GNU Core Utilities after a few other people helped him out.
However, these utilities missed just one little thing to be 100% free and that was a Kernel to run on as the GNU Utilities were running on UNIX System V and its clones and this is where we bring Linus Torvalds in: he developed a Monolithic Kernel² and published his source too with the understatement of the XXth century:
I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones.³
The kernel is the bit of software that talks to the hardware, so manages the Memory, Disks, Keyboard, Mouse, Screen, Display Adapter, Speakers, Webcam, ... so you cannot run any OS without some kind of kernel.
Fast forward a quarter of a century and the GNU Utilities still run on that same kernel (in the meantime named "Linux")
Ubuntu = Linux Kernel + GNU Core Utilities + a ton of other software.⁴
So: No, today you cannot delete the kernel, but in a few years when the GNU HURD from the Free Software Foundation's⁵ multiserver microkernel comes out of development⁶ you will be able to replace the Linux Kernel with the Hurd one but you can never run any OS without some kind of kernel.
Alternatively,
You can run the GNU Core Utilities on another OS entirely:
- BSD or one of its variants: MacOS
- Windows (32-bit only)
But these also have kernels, though none of the above use Linux kernels.
Note 1: "Free" as in Freedom, not Free beer ;-).
Note 2: GNU Hurd took the decision to go for a multiserver microkernel because they wanted the kernel to be distributed amongst multiple machines because RAM was so expensive at the time.
Note 3: OK, maybe Houston, we have a problem is the biggest understatement of the century...
Note 4: I.E. All the software you install yourself. :-).
Note 5: the FSF is the copyright holder of the GNU Core Utilities.
Note 6: The GNU Hurd multiserver microkernel has been in development for 20+ years, so don't expect anything in the next couple of years (maybe decades)
Note 7: Please be aware that changing Ubuntu's Linux Kernel would make the concoction you just created off-topic on this site! (As it would not be Ubuntu any more)
1
@Melebius Unfurtunately, [that's dead
– Fabby
Jul 3 at 8:24
2
When a product has been in development for 29 years with no final releases, it may be best to be cautious when making statements about it "coming out of development" "in a few years". There is no strong evidence that this will happen. And there are alternatives that can be used today and work (Linux and the *BSDs)
– thomasrutter
Jul 8 at 0:54
1
I wasn't sure whether doing it as an edit was a good idea, but it seemed the simplest. Incidentally, there's still one footnote with placeholder text.
– TRiG
Jul 9 at 14:22
2
"You cannot remove the Linux kernel from Ubuntu, without irrevocably crashing your entire system" That's an overstatement.sudo apt remove 'linux-image*'
is quite easy to recover from (boot a live CD, mount your system partitions, chroot and reinstall the kernel packages).
– fkraiem
Jul 10 at 13:28
1
Many other inaccuracies as well. For example your note 4 implies that a default installation of Ubuntu (or some other, unspecified distribution) contains only Linux + GNU software, and other software you must "install yourself". This is wrong; a default installation already contains much non-GNU software besided the kernel.
– fkraiem
Jul 10 at 13:34
|
show 8 more comments
You have to have an Operating System. Because this site is called Ask Ubuntu your question must be reinterpreted to fit into the rules:
- What operating systems (kernels) other than Linux Kernel will Ubuntu run on?
One answer would be Windows 10 with the WSL (Windows Subsystem for Linux) option turned on. You can also run most, if not all, the GNU utilities there. Extra steps are needed though to run the Ubuntu GUI desktop in Windows 10:
- What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?
add a comment
|
Yes, such project already exists
UbuntuBSD brings together FreeBSD kernel and Ubuntu userspace. This project has been covered in several Linux online journals, including itsfoss. While the project has been discontinued, you can still use the last available version.
Please note that this distro would be off-topic here, as discussed multiple times on Meta site, since this is NOT an official Ubuntu flavor
add a comment
|
TL;DR
Theoretically, yes; practically, it'd be really hard.
The long version:
You could, in theory, run Ubuntu on a non-Linux kernel, but due to the fact that not all kernels use the same executable format, you would need to download gigabytes of source code and compile every single bit of it, and rearrange files to satisfy the new kernel.
Otherwise, a non-binary compatible kernel would try to run systemd/init and find an unintelligible sequence of bytes, and crash with the cryptic message:
cannot execute binary file: Exec format error
1
An edit and an upvote! ;-) (as it's a good answer now.) 0:-) Could you please review my edits and also review the editing help to improve the readability of your answers in the future... ;-)
– Fabby
Jul 12 at 9:11
Practically, really hard, but there were people already that made it easier. See my answer
– Sergiy Kolodyazhnyy
Jul 16 at 5:05
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1154385%2fcan-i-run-ubuntu-on-something-other-than-linux-kernel%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
TL;DR
You cannot remove the Linux kernel from Ubuntu, without irrevocably crashing your entire system but in the future you might be able to replace it.
The long answer:
This is due to the history of GNU/Linux:
Once upon a time, there was a guy called RMS that wanted to keep software to be free¹. He ended up publishing the source of his software (what we call "Open-Sourcing" today) and eventually this all became the GNU Core Utilities after a few other people helped him out.
However, these utilities missed just one little thing to be 100% free and that was a Kernel to run on as the GNU Utilities were running on UNIX System V and its clones and this is where we bring Linus Torvalds in: he developed a Monolithic Kernel² and published his source too with the understatement of the XXth century:
I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones.³
The kernel is the bit of software that talks to the hardware, so manages the Memory, Disks, Keyboard, Mouse, Screen, Display Adapter, Speakers, Webcam, ... so you cannot run any OS without some kind of kernel.
Fast forward a quarter of a century and the GNU Utilities still run on that same kernel (in the meantime named "Linux")
Ubuntu = Linux Kernel + GNU Core Utilities + a ton of other software.⁴
So: No, today you cannot delete the kernel, but in a few years when the GNU HURD from the Free Software Foundation's⁵ multiserver microkernel comes out of development⁶ you will be able to replace the Linux Kernel with the Hurd one but you can never run any OS without some kind of kernel.
Alternatively,
You can run the GNU Core Utilities on another OS entirely:
- BSD or one of its variants: MacOS
- Windows (32-bit only)
But these also have kernels, though none of the above use Linux kernels.
Note 1: "Free" as in Freedom, not Free beer ;-).
Note 2: GNU Hurd took the decision to go for a multiserver microkernel because they wanted the kernel to be distributed amongst multiple machines because RAM was so expensive at the time.
Note 3: OK, maybe Houston, we have a problem is the biggest understatement of the century...
Note 4: I.E. All the software you install yourself. :-).
Note 5: the FSF is the copyright holder of the GNU Core Utilities.
Note 6: The GNU Hurd multiserver microkernel has been in development for 20+ years, so don't expect anything in the next couple of years (maybe decades)
Note 7: Please be aware that changing Ubuntu's Linux Kernel would make the concoction you just created off-topic on this site! (As it would not be Ubuntu any more)
1
@Melebius Unfurtunately, [that's dead
– Fabby
Jul 3 at 8:24
2
When a product has been in development for 29 years with no final releases, it may be best to be cautious when making statements about it "coming out of development" "in a few years". There is no strong evidence that this will happen. And there are alternatives that can be used today and work (Linux and the *BSDs)
– thomasrutter
Jul 8 at 0:54
1
I wasn't sure whether doing it as an edit was a good idea, but it seemed the simplest. Incidentally, there's still one footnote with placeholder text.
– TRiG
Jul 9 at 14:22
2
"You cannot remove the Linux kernel from Ubuntu, without irrevocably crashing your entire system" That's an overstatement.sudo apt remove 'linux-image*'
is quite easy to recover from (boot a live CD, mount your system partitions, chroot and reinstall the kernel packages).
– fkraiem
Jul 10 at 13:28
1
Many other inaccuracies as well. For example your note 4 implies that a default installation of Ubuntu (or some other, unspecified distribution) contains only Linux + GNU software, and other software you must "install yourself". This is wrong; a default installation already contains much non-GNU software besided the kernel.
– fkraiem
Jul 10 at 13:34
|
show 8 more comments
TL;DR
You cannot remove the Linux kernel from Ubuntu, without irrevocably crashing your entire system but in the future you might be able to replace it.
The long answer:
This is due to the history of GNU/Linux:
Once upon a time, there was a guy called RMS that wanted to keep software to be free¹. He ended up publishing the source of his software (what we call "Open-Sourcing" today) and eventually this all became the GNU Core Utilities after a few other people helped him out.
However, these utilities missed just one little thing to be 100% free and that was a Kernel to run on as the GNU Utilities were running on UNIX System V and its clones and this is where we bring Linus Torvalds in: he developed a Monolithic Kernel² and published his source too with the understatement of the XXth century:
I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones.³
The kernel is the bit of software that talks to the hardware, so manages the Memory, Disks, Keyboard, Mouse, Screen, Display Adapter, Speakers, Webcam, ... so you cannot run any OS without some kind of kernel.
Fast forward a quarter of a century and the GNU Utilities still run on that same kernel (in the meantime named "Linux")
Ubuntu = Linux Kernel + GNU Core Utilities + a ton of other software.⁴
So: No, today you cannot delete the kernel, but in a few years when the GNU HURD from the Free Software Foundation's⁵ multiserver microkernel comes out of development⁶ you will be able to replace the Linux Kernel with the Hurd one but you can never run any OS without some kind of kernel.
Alternatively,
You can run the GNU Core Utilities on another OS entirely:
- BSD or one of its variants: MacOS
- Windows (32-bit only)
But these also have kernels, though none of the above use Linux kernels.
Note 1: "Free" as in Freedom, not Free beer ;-).
Note 2: GNU Hurd took the decision to go for a multiserver microkernel because they wanted the kernel to be distributed amongst multiple machines because RAM was so expensive at the time.
Note 3: OK, maybe Houston, we have a problem is the biggest understatement of the century...
Note 4: I.E. All the software you install yourself. :-).
Note 5: the FSF is the copyright holder of the GNU Core Utilities.
Note 6: The GNU Hurd multiserver microkernel has been in development for 20+ years, so don't expect anything in the next couple of years (maybe decades)
Note 7: Please be aware that changing Ubuntu's Linux Kernel would make the concoction you just created off-topic on this site! (As it would not be Ubuntu any more)
1
@Melebius Unfurtunately, [that's dead
– Fabby
Jul 3 at 8:24
2
When a product has been in development for 29 years with no final releases, it may be best to be cautious when making statements about it "coming out of development" "in a few years". There is no strong evidence that this will happen. And there are alternatives that can be used today and work (Linux and the *BSDs)
– thomasrutter
Jul 8 at 0:54
1
I wasn't sure whether doing it as an edit was a good idea, but it seemed the simplest. Incidentally, there's still one footnote with placeholder text.
– TRiG
Jul 9 at 14:22
2
"You cannot remove the Linux kernel from Ubuntu, without irrevocably crashing your entire system" That's an overstatement.sudo apt remove 'linux-image*'
is quite easy to recover from (boot a live CD, mount your system partitions, chroot and reinstall the kernel packages).
– fkraiem
Jul 10 at 13:28
1
Many other inaccuracies as well. For example your note 4 implies that a default installation of Ubuntu (or some other, unspecified distribution) contains only Linux + GNU software, and other software you must "install yourself". This is wrong; a default installation already contains much non-GNU software besided the kernel.
– fkraiem
Jul 10 at 13:34
|
show 8 more comments
TL;DR
You cannot remove the Linux kernel from Ubuntu, without irrevocably crashing your entire system but in the future you might be able to replace it.
The long answer:
This is due to the history of GNU/Linux:
Once upon a time, there was a guy called RMS that wanted to keep software to be free¹. He ended up publishing the source of his software (what we call "Open-Sourcing" today) and eventually this all became the GNU Core Utilities after a few other people helped him out.
However, these utilities missed just one little thing to be 100% free and that was a Kernel to run on as the GNU Utilities were running on UNIX System V and its clones and this is where we bring Linus Torvalds in: he developed a Monolithic Kernel² and published his source too with the understatement of the XXth century:
I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones.³
The kernel is the bit of software that talks to the hardware, so manages the Memory, Disks, Keyboard, Mouse, Screen, Display Adapter, Speakers, Webcam, ... so you cannot run any OS without some kind of kernel.
Fast forward a quarter of a century and the GNU Utilities still run on that same kernel (in the meantime named "Linux")
Ubuntu = Linux Kernel + GNU Core Utilities + a ton of other software.⁴
So: No, today you cannot delete the kernel, but in a few years when the GNU HURD from the Free Software Foundation's⁵ multiserver microkernel comes out of development⁶ you will be able to replace the Linux Kernel with the Hurd one but you can never run any OS without some kind of kernel.
Alternatively,
You can run the GNU Core Utilities on another OS entirely:
- BSD or one of its variants: MacOS
- Windows (32-bit only)
But these also have kernels, though none of the above use Linux kernels.
Note 1: "Free" as in Freedom, not Free beer ;-).
Note 2: GNU Hurd took the decision to go for a multiserver microkernel because they wanted the kernel to be distributed amongst multiple machines because RAM was so expensive at the time.
Note 3: OK, maybe Houston, we have a problem is the biggest understatement of the century...
Note 4: I.E. All the software you install yourself. :-).
Note 5: the FSF is the copyright holder of the GNU Core Utilities.
Note 6: The GNU Hurd multiserver microkernel has been in development for 20+ years, so don't expect anything in the next couple of years (maybe decades)
Note 7: Please be aware that changing Ubuntu's Linux Kernel would make the concoction you just created off-topic on this site! (As it would not be Ubuntu any more)
TL;DR
You cannot remove the Linux kernel from Ubuntu, without irrevocably crashing your entire system but in the future you might be able to replace it.
The long answer:
This is due to the history of GNU/Linux:
Once upon a time, there was a guy called RMS that wanted to keep software to be free¹. He ended up publishing the source of his software (what we call "Open-Sourcing" today) and eventually this all became the GNU Core Utilities after a few other people helped him out.
However, these utilities missed just one little thing to be 100% free and that was a Kernel to run on as the GNU Utilities were running on UNIX System V and its clones and this is where we bring Linus Torvalds in: he developed a Monolithic Kernel² and published his source too with the understatement of the XXth century:
I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones.³
The kernel is the bit of software that talks to the hardware, so manages the Memory, Disks, Keyboard, Mouse, Screen, Display Adapter, Speakers, Webcam, ... so you cannot run any OS without some kind of kernel.
Fast forward a quarter of a century and the GNU Utilities still run on that same kernel (in the meantime named "Linux")
Ubuntu = Linux Kernel + GNU Core Utilities + a ton of other software.⁴
So: No, today you cannot delete the kernel, but in a few years when the GNU HURD from the Free Software Foundation's⁵ multiserver microkernel comes out of development⁶ you will be able to replace the Linux Kernel with the Hurd one but you can never run any OS without some kind of kernel.
Alternatively,
You can run the GNU Core Utilities on another OS entirely:
- BSD or one of its variants: MacOS
- Windows (32-bit only)
But these also have kernels, though none of the above use Linux kernels.
Note 1: "Free" as in Freedom, not Free beer ;-).
Note 2: GNU Hurd took the decision to go for a multiserver microkernel because they wanted the kernel to be distributed amongst multiple machines because RAM was so expensive at the time.
Note 3: OK, maybe Houston, we have a problem is the biggest understatement of the century...
Note 4: I.E. All the software you install yourself. :-).
Note 5: the FSF is the copyright holder of the GNU Core Utilities.
Note 6: The GNU Hurd multiserver microkernel has been in development for 20+ years, so don't expect anything in the next couple of years (maybe decades)
Note 7: Please be aware that changing Ubuntu's Linux Kernel would make the concoction you just created off-topic on this site! (As it would not be Ubuntu any more)
edited Jul 20 at 17:57
user963196
answered Jul 2 at 14:00
FabbyFabby
29.5k19 gold badges72 silver badges175 bronze badges
29.5k19 gold badges72 silver badges175 bronze badges
1
@Melebius Unfurtunately, [that's dead
– Fabby
Jul 3 at 8:24
2
When a product has been in development for 29 years with no final releases, it may be best to be cautious when making statements about it "coming out of development" "in a few years". There is no strong evidence that this will happen. And there are alternatives that can be used today and work (Linux and the *BSDs)
– thomasrutter
Jul 8 at 0:54
1
I wasn't sure whether doing it as an edit was a good idea, but it seemed the simplest. Incidentally, there's still one footnote with placeholder text.
– TRiG
Jul 9 at 14:22
2
"You cannot remove the Linux kernel from Ubuntu, without irrevocably crashing your entire system" That's an overstatement.sudo apt remove 'linux-image*'
is quite easy to recover from (boot a live CD, mount your system partitions, chroot and reinstall the kernel packages).
– fkraiem
Jul 10 at 13:28
1
Many other inaccuracies as well. For example your note 4 implies that a default installation of Ubuntu (or some other, unspecified distribution) contains only Linux + GNU software, and other software you must "install yourself". This is wrong; a default installation already contains much non-GNU software besided the kernel.
– fkraiem
Jul 10 at 13:34
|
show 8 more comments
1
@Melebius Unfurtunately, [that's dead
– Fabby
Jul 3 at 8:24
2
When a product has been in development for 29 years with no final releases, it may be best to be cautious when making statements about it "coming out of development" "in a few years". There is no strong evidence that this will happen. And there are alternatives that can be used today and work (Linux and the *BSDs)
– thomasrutter
Jul 8 at 0:54
1
I wasn't sure whether doing it as an edit was a good idea, but it seemed the simplest. Incidentally, there's still one footnote with placeholder text.
– TRiG
Jul 9 at 14:22
2
"You cannot remove the Linux kernel from Ubuntu, without irrevocably crashing your entire system" That's an overstatement.sudo apt remove 'linux-image*'
is quite easy to recover from (boot a live CD, mount your system partitions, chroot and reinstall the kernel packages).
– fkraiem
Jul 10 at 13:28
1
Many other inaccuracies as well. For example your note 4 implies that a default installation of Ubuntu (or some other, unspecified distribution) contains only Linux + GNU software, and other software you must "install yourself". This is wrong; a default installation already contains much non-GNU software besided the kernel.
– fkraiem
Jul 10 at 13:34
1
1
@Melebius Unfurtunately, [that's dead
– Fabby
Jul 3 at 8:24
@Melebius Unfurtunately, [that's dead
– Fabby
Jul 3 at 8:24
2
2
When a product has been in development for 29 years with no final releases, it may be best to be cautious when making statements about it "coming out of development" "in a few years". There is no strong evidence that this will happen. And there are alternatives that can be used today and work (Linux and the *BSDs)
– thomasrutter
Jul 8 at 0:54
When a product has been in development for 29 years with no final releases, it may be best to be cautious when making statements about it "coming out of development" "in a few years". There is no strong evidence that this will happen. And there are alternatives that can be used today and work (Linux and the *BSDs)
– thomasrutter
Jul 8 at 0:54
1
1
I wasn't sure whether doing it as an edit was a good idea, but it seemed the simplest. Incidentally, there's still one footnote with placeholder text.
– TRiG
Jul 9 at 14:22
I wasn't sure whether doing it as an edit was a good idea, but it seemed the simplest. Incidentally, there's still one footnote with placeholder text.
– TRiG
Jul 9 at 14:22
2
2
"You cannot remove the Linux kernel from Ubuntu, without irrevocably crashing your entire system" That's an overstatement.
sudo apt remove 'linux-image*'
is quite easy to recover from (boot a live CD, mount your system partitions, chroot and reinstall the kernel packages).– fkraiem
Jul 10 at 13:28
"You cannot remove the Linux kernel from Ubuntu, without irrevocably crashing your entire system" That's an overstatement.
sudo apt remove 'linux-image*'
is quite easy to recover from (boot a live CD, mount your system partitions, chroot and reinstall the kernel packages).– fkraiem
Jul 10 at 13:28
1
1
Many other inaccuracies as well. For example your note 4 implies that a default installation of Ubuntu (or some other, unspecified distribution) contains only Linux + GNU software, and other software you must "install yourself". This is wrong; a default installation already contains much non-GNU software besided the kernel.
– fkraiem
Jul 10 at 13:34
Many other inaccuracies as well. For example your note 4 implies that a default installation of Ubuntu (or some other, unspecified distribution) contains only Linux + GNU software, and other software you must "install yourself". This is wrong; a default installation already contains much non-GNU software besided the kernel.
– fkraiem
Jul 10 at 13:34
|
show 8 more comments
You have to have an Operating System. Because this site is called Ask Ubuntu your question must be reinterpreted to fit into the rules:
- What operating systems (kernels) other than Linux Kernel will Ubuntu run on?
One answer would be Windows 10 with the WSL (Windows Subsystem for Linux) option turned on. You can also run most, if not all, the GNU utilities there. Extra steps are needed though to run the Ubuntu GUI desktop in Windows 10:
- What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?
add a comment
|
You have to have an Operating System. Because this site is called Ask Ubuntu your question must be reinterpreted to fit into the rules:
- What operating systems (kernels) other than Linux Kernel will Ubuntu run on?
One answer would be Windows 10 with the WSL (Windows Subsystem for Linux) option turned on. You can also run most, if not all, the GNU utilities there. Extra steps are needed though to run the Ubuntu GUI desktop in Windows 10:
- What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?
add a comment
|
You have to have an Operating System. Because this site is called Ask Ubuntu your question must be reinterpreted to fit into the rules:
- What operating systems (kernels) other than Linux Kernel will Ubuntu run on?
One answer would be Windows 10 with the WSL (Windows Subsystem for Linux) option turned on. You can also run most, if not all, the GNU utilities there. Extra steps are needed though to run the Ubuntu GUI desktop in Windows 10:
- What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?
You have to have an Operating System. Because this site is called Ask Ubuntu your question must be reinterpreted to fit into the rules:
- What operating systems (kernels) other than Linux Kernel will Ubuntu run on?
One answer would be Windows 10 with the WSL (Windows Subsystem for Linux) option turned on. You can also run most, if not all, the GNU utilities there. Extra steps are needed though to run the Ubuntu GUI desktop in Windows 10:
- What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?
answered Jul 2 at 18:30
WinEunuuchs2UnixWinEunuuchs2Unix
60.6k18 gold badges122 silver badges237 bronze badges
60.6k18 gold badges122 silver badges237 bronze badges
add a comment
|
add a comment
|
Yes, such project already exists
UbuntuBSD brings together FreeBSD kernel and Ubuntu userspace. This project has been covered in several Linux online journals, including itsfoss. While the project has been discontinued, you can still use the last available version.
Please note that this distro would be off-topic here, as discussed multiple times on Meta site, since this is NOT an official Ubuntu flavor
add a comment
|
Yes, such project already exists
UbuntuBSD brings together FreeBSD kernel and Ubuntu userspace. This project has been covered in several Linux online journals, including itsfoss. While the project has been discontinued, you can still use the last available version.
Please note that this distro would be off-topic here, as discussed multiple times on Meta site, since this is NOT an official Ubuntu flavor
add a comment
|
Yes, such project already exists
UbuntuBSD brings together FreeBSD kernel and Ubuntu userspace. This project has been covered in several Linux online journals, including itsfoss. While the project has been discontinued, you can still use the last available version.
Please note that this distro would be off-topic here, as discussed multiple times on Meta site, since this is NOT an official Ubuntu flavor
Yes, such project already exists
UbuntuBSD brings together FreeBSD kernel and Ubuntu userspace. This project has been covered in several Linux online journals, including itsfoss. While the project has been discontinued, you can still use the last available version.
Please note that this distro would be off-topic here, as discussed multiple times on Meta site, since this is NOT an official Ubuntu flavor
edited Jul 16 at 5:05
answered Jul 16 at 5:00
Sergiy KolodyazhnyySergiy Kolodyazhnyy
80.2k12 gold badges176 silver badges361 bronze badges
80.2k12 gold badges176 silver badges361 bronze badges
add a comment
|
add a comment
|
TL;DR
Theoretically, yes; practically, it'd be really hard.
The long version:
You could, in theory, run Ubuntu on a non-Linux kernel, but due to the fact that not all kernels use the same executable format, you would need to download gigabytes of source code and compile every single bit of it, and rearrange files to satisfy the new kernel.
Otherwise, a non-binary compatible kernel would try to run systemd/init and find an unintelligible sequence of bytes, and crash with the cryptic message:
cannot execute binary file: Exec format error
1
An edit and an upvote! ;-) (as it's a good answer now.) 0:-) Could you please review my edits and also review the editing help to improve the readability of your answers in the future... ;-)
– Fabby
Jul 12 at 9:11
Practically, really hard, but there were people already that made it easier. See my answer
– Sergiy Kolodyazhnyy
Jul 16 at 5:05
add a comment
|
TL;DR
Theoretically, yes; practically, it'd be really hard.
The long version:
You could, in theory, run Ubuntu on a non-Linux kernel, but due to the fact that not all kernels use the same executable format, you would need to download gigabytes of source code and compile every single bit of it, and rearrange files to satisfy the new kernel.
Otherwise, a non-binary compatible kernel would try to run systemd/init and find an unintelligible sequence of bytes, and crash with the cryptic message:
cannot execute binary file: Exec format error
1
An edit and an upvote! ;-) (as it's a good answer now.) 0:-) Could you please review my edits and also review the editing help to improve the readability of your answers in the future... ;-)
– Fabby
Jul 12 at 9:11
Practically, really hard, but there were people already that made it easier. See my answer
– Sergiy Kolodyazhnyy
Jul 16 at 5:05
add a comment
|
TL;DR
Theoretically, yes; practically, it'd be really hard.
The long version:
You could, in theory, run Ubuntu on a non-Linux kernel, but due to the fact that not all kernels use the same executable format, you would need to download gigabytes of source code and compile every single bit of it, and rearrange files to satisfy the new kernel.
Otherwise, a non-binary compatible kernel would try to run systemd/init and find an unintelligible sequence of bytes, and crash with the cryptic message:
cannot execute binary file: Exec format error
TL;DR
Theoretically, yes; practically, it'd be really hard.
The long version:
You could, in theory, run Ubuntu on a non-Linux kernel, but due to the fact that not all kernels use the same executable format, you would need to download gigabytes of source code and compile every single bit of it, and rearrange files to satisfy the new kernel.
Otherwise, a non-binary compatible kernel would try to run systemd/init and find an unintelligible sequence of bytes, and crash with the cryptic message:
cannot execute binary file: Exec format error
edited Jul 18 at 21:18
answered Jul 9 at 16:11
user963196user963196
1
An edit and an upvote! ;-) (as it's a good answer now.) 0:-) Could you please review my edits and also review the editing help to improve the readability of your answers in the future... ;-)
– Fabby
Jul 12 at 9:11
Practically, really hard, but there were people already that made it easier. See my answer
– Sergiy Kolodyazhnyy
Jul 16 at 5:05
add a comment
|
1
An edit and an upvote! ;-) (as it's a good answer now.) 0:-) Could you please review my edits and also review the editing help to improve the readability of your answers in the future... ;-)
– Fabby
Jul 12 at 9:11
Practically, really hard, but there were people already that made it easier. See my answer
– Sergiy Kolodyazhnyy
Jul 16 at 5:05
1
1
An edit and an upvote! ;-) (as it's a good answer now.) 0:-) Could you please review my edits and also review the editing help to improve the readability of your answers in the future... ;-)
– Fabby
Jul 12 at 9:11
An edit and an upvote! ;-) (as it's a good answer now.) 0:-) Could you please review my edits and also review the editing help to improve the readability of your answers in the future... ;-)
– Fabby
Jul 12 at 9:11
Practically, really hard, but there were people already that made it easier. See my answer
– Sergiy Kolodyazhnyy
Jul 16 at 5:05
Practically, really hard, but there were people already that made it easier. See my answer
– Sergiy Kolodyazhnyy
Jul 16 at 5:05
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1154385%2fcan-i-run-ubuntu-on-something-other-than-linux-kernel%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Every operating system has a kernel and it is how the OS interacts with the hardware. en.wikipedia.org/wiki/Kernel_(operating_system) Even GNU has a kernel en.wikipedia.org/wiki/GNU_Hurd
– Terrance
Jun 27 at 13:22
Computer users have little interaction with any kernel, most of of the interaction is done with GNU and what ever favour of discro you are using. Maybe you would be happier with another desktop or type of linux. The kernel basicily just lets the hardware work with all the pretty stuff you use.
– crip659
Jun 27 at 13:53
7
@Terrance GNU is a collection of software, but lacks a kernel. Hurd is a kernel that is developed by the GNU folks, but GNU itself doesn't have a kernel. @ themeguy, removing the kernel is pointless. The machine is useless without a kernel. Now, if you want to use the GNU toolset with a non-Linux kernel, that is entirely possible, but you will need to replace the Linux kernel with another one. However, this will essentially mean building your own operating system and so is not on topic here.
– terdon♦
Jun 27 at 15:29
@terdon I understand that GNU itself doesn't have a kernel since it is a collection. My point was that even a GNU OS does have a kernel. gnu.org
– Terrance
Jun 27 at 16:13
1
I'll put my two cents forward on this matter: question relates to Ubuntu OS after-all and it is on-topic. We accept a variety of questions related to modifying base OS, from scripting to creating distro based on Ubuntu, from installing other desktops to 3rd party applications. So question about modifying OS at kernel level should not in any way be off-topic. As for whether or not you can run Ubuntu with non-Linux kernel it's possible and such projects already exist as mentioned in my answer.
– Sergiy Kolodyazhnyy
Jul 16 at 5:04