MeeWee Posted December 7, 2007 Share Posted December 7, 2007 I'm asking if anyone knows or can give me details about how i can switch from one OS to another without havind to restart the computer just push the next kernel into memory and run it. thanks , Quote Link to comment Share on other sites More sharing options...
moonlit Posted December 7, 2007 Share Posted December 7, 2007 You could take the easy route and virtualise (VMWare, Virtual PC, Parallels, QEMU, VirtualBox, etc.) Quote Link to comment Share on other sites More sharing options...
deleted Posted December 7, 2007 Share Posted December 7, 2007 I think it is impossible to Completely Switch Kernel without rebooting as One has to be running to change the Kernel with means in a Sense you would need three running and I have no clue about that. Quote Link to comment Share on other sites More sharing options...
snakey Posted December 8, 2007 Share Posted December 8, 2007 with vmware and such you are still running windows while running your other os you could use wubi but you do half to restart to choose your os Quote Link to comment Share on other sites More sharing options...
MeeWee Posted December 8, 2007 Author Share Posted December 8, 2007 Thanks for the answers. I am thinking for a scenario like this: I have a USB i plug it in my computer that is unable to boot from the usb, i get a message that is asking me if i want to start the OS and if i accept, the base OS is cleared from memory and meantime the new OS loads from the USB into memory. Is it possible? Quote Link to comment Share on other sites More sharing options...
SmoothCriminal Posted December 8, 2007 Share Posted December 8, 2007 Well technically speaking you could do a soft reboot instead of a hard. Hold shift or something like that when clicking restart, and it should only reboot the OS, not the whole system (you will not have to wait for the bios to boot back up). Quote Link to comment Share on other sites More sharing options...
VaKo Posted December 8, 2007 Share Posted December 8, 2007 Thanks for the answers. I am thinking for a scenario like this: I have a USB i plug it in my computer that is unable to boot from the usb, i get a message that is asking me if i want to start the OS and if i accept, the base OS is cleared from memory and meantime the new OS loads from the USB into memory. Is it possible? No, you will still need to reboot because the process of clearing the memory is called a "reboot". Only way you can get close to doing this is with virtulization. You can't have multiple kernels talking to the hardware without a hypervisor. Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted December 8, 2007 Share Posted December 8, 2007 hiren boot cd might do this and I know the clonezilla cd will... maybe worst case some sort of live cd can do this and can be slip streamed to just auto boot with out the prompt Quote Link to comment Share on other sites More sharing options...
VaKo Posted December 8, 2007 Share Posted December 8, 2007 Hirens just creates a ram disc and loads a tweaked version of windows 98 into that, useful for a recovery tool or similar but of fuck all use for general computing. And you still need an underling OS to setup the RAM disc. Quote Link to comment Share on other sites More sharing options...
Sparda Posted December 8, 2007 Share Posted December 8, 2007 You can't load a new kernel in to an already running CPU (hence why new kernels are the only ever absolute reason to restart a Linux/BSD system). If you actually managed to replace the memory space (which you couldn't in theory because the current running kernel would be running the code that replaced its self) that contains the current running kernel with the new one. You would then have to figure out how to give the new kernel the old kernels exact running state with out have the state of the machine change in the mean time. This would mean freezing all registers, blocking all interrupts and stopping all IO for the time that state transfer changed (this would actually make debugging such a impractical feature fairly difficult). Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted December 8, 2007 Share Posted December 8, 2007 Hirens just creates a ram disc and loads a tweaked version of windows 98 into that, useful for a recovery tool or similar but of fuck all use for general computing. And you still need an underling OS to setup the RAM disc.no i mean will boot from CD and hand off to the usb drive Quote Link to comment Share on other sites More sharing options...
VaKo Posted December 8, 2007 Share Posted December 8, 2007 Well thats not hard, thats just a twist on dual booting. But you still need to do the whole reboot/shut down the OS thing to load the next one. Quote Link to comment Share on other sites More sharing options...
Deveant Posted December 8, 2007 Share Posted December 8, 2007 Thanks for the answers. I am thinking for a scenario like this: I have a USB i plug it in my computer that is unable to boot from the usb, i get a message that is asking me if i want to start the OS and if i accept, the base OS is cleared from memory and meantime the new OS loads from the USB into memory. Is it possible? Easly no, Ur unable to boot to the USB from BIOS because there is no generic USB driver on ur chipset. So what ur asking is to load say windows, then to tell it to clear the Mem, and load of the USB, the issue is, the Drivers that ur using to read ur flash drive are apart of what ur trying to clear out of the mem, causing a pardox (my word of the day - Technicaly not used correctly here :P) Though if u have the issue of not being able to boot from USB, there is a DOS disk that allows u to, ill scratch around for it for u, but simply u put a copy of the DOS driver on the disk and burn it to CD, or Floppy :? then boot from that media, to boot the USB. Quote Link to comment Share on other sites More sharing options...
snakey Posted December 8, 2007 Share Posted December 8, 2007 he wants to boot from a usb my advice buy a usb that can boot from the boot menu Quote Link to comment Share on other sites More sharing options...
Deveant Posted December 8, 2007 Share Posted December 8, 2007 he wants to boot from a usb my advice buy a usb that can boot from the boot menu its not that easy, Every USB flash drive can be made bootable, the issue is not all bios allow this. Quote Link to comment Share on other sites More sharing options...
MMZ Posted December 16, 2007 Share Posted December 16, 2007 It depends on the OS you want to boot up... I seem to recall old distributions of Slackware Linux coming with a tool that let you 'boot' Linux from a DOS prompt allowing people with Windows 95/98/ME to install Linux without having to configure dual-booting. It was called... loadlin. If you can boot off of CD, floppy, or anything else you could boot to a DOS prompt and then load Linux off the USB drive (Kernel would need to be on the CD/floppy/hd/whatever, but it should be possible.) Hope this helps. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.