Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Unfortunately, due to the inherent purpose of a kernel (to manage memory, etc.), you cannot have two kernels concurrently running, unless one of them is in a virtual machine.
Why, out of curiosity, do you need to have two kernels loaded?
If you want to specify which kernel to load, you should be able to start the computer and then use the interactive bootloader prompt and specify which kernel to boot.
I need to do so because my computer is booting on a SD card and I only have 1 SD card slot. Before making a mistake, I would like to make a backup of the SD card. With dd, I was able to make an image of the sd card and I would like to copy it to another one. But as a partition from the SD card is mounted as /, I cannot unmount it to swap the sdcard...
I need to do so because my computer is booting on a SD card and I only have 1 SD card slot. Before making a mistake, I would like to make a backup of the SD card. With dd, I was able to make an image of the sd card and I would like to copy it to another one. But as a partition from the SD card is mounted as /, I cannot unmount it to swap the sdcard...
Thanks for your attention.
Then you need an alternate boot method. You definitely can't umount your root file system.
Can't you boot from a livecd, an hd or any other thing?
There was a project that aimed at the possibility to boot a new kernel from userspace (which seemed pointless to me because it only saves you the 5 seconds that the POST test of the BIOS takes if you reset). Before you ask: no, I have no idea of it's name anymore and I have no idea of the state of that project either.
Other than booting from another device I see no easy way around your problem. If you can't do that, just take the drives to a pc with two card hubs and clone it. It will be easier. Alternatively, buy a card reader/writer and attach it to an usb port. I see drives of this kind on some shops nowadays around 6-10€ which accept all kind of sd card formats.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.