Building a Linux Distro
I want to know if the following idea is impossible, possible or just crazy.
I want to create a distro small Linux distro that will boot as a Qemu guest as quickly as possible. I realize that the time it takes to boot, open apps, etc is based on host OS, CPU, memory, etc. What I am wondering is would it be worthwhile to tweak the hardware detection during the boot process to align it with hardware types that are supported in Qemu?
As an example I have an AMD 3500+ CPU, 2 GB memory, Win XP and when running Qemu I set it for 512MB memory. I have tested several distros and the two best run about 45-60 seconds to boot without Kqemu and 35-50 seconds with Kqemu running. Currently I am working with WinXP as a host but my goal is have it run on a Linux host also.
I turn off many checks like SCSI, PCMCIA, USB, Firewire, AGP, etc. to get the faster time and am wondering what other areas I can look at to speed booting & shutdown.
Thanks in advance,
desNotes
[email protected]
Hi,
Quoted 2 lines · Michael Fisher
I want to create a distro small Linux distro that will boot as a Qemu guest as quickly as possible.
The fastest would be to savevm a fully booted system, and call QEmu with -loadvm.
Hth,
Dscho
If you are looking for a system to boot quickly, LinuxFromScratch would be pretty fast, but takes a looooong time to build.
-Joseph
Quoted 30 lines · Michael Fisher
I want to know if the following idea is impossible, possible or just crazy.
I want to create a distro small Linux distro that will boot as a Qemu guest as quickly as possible. I realize that the time it takes to boot, open apps, etc is based on host OS, CPU, memory, etc. What I am wondering is would it be worthwhile to tweak the hardware detection during the boot process to align it with hardware types that are supported in Qemu?
As an example I have an AMD 3500+ CPU, 2 GB memory, Win XP and when running Qemu I set it for 512MB memory. I have tested several distros and the two best run about 45-60 seconds to boot without Kqemu and 35-50 seconds with Kqemu running. Currently I am working with WinXP as a host but my goal is have it run on a Linux host also.
I turn off many checks like SCSI, PCMCIA, USB, Firewire, AGP, etc. to get the faster time and am wondering what other areas I can look at to speed booting & shutdown.
Thanks in advance,
desNotes
[email protected]_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
A message that is not in the archive (sent off-list or not yet received): [email protected]
I have used it before, but it has been a while. Linux from scratch is so fast because you get to decide which packages to include during the build process. It helps you to make the basic system, then you are on your own. You will be able to boot to a login prompt, but you will not have X Windows or any extra packages unless you build them yourself after finishing LFS. It was probably about 5 years ago, but on a K6-2 400MHz, it booted in about 20 seconds or so.
-Joseph
Quoted 52 lines · you
Joseph,
I have heard of LFS but haven't researched it yet. Do you know why it can boot quickly? Have you used a distro hat was made from LFS?
Thanks,
Mike
Quoted 42 lines · Joseph Miller
If you are looking for a system to boot quickly, LinuxFromScratch would be pretty fast, but takes a looooong time to build.
-Joseph
Quoted 23 lines · Michael Fisher
I want to know if the following idea is impossible, possible or just crazy.
I want to create a distro small Linux distro that will boot as a Qemu guest as quickly as possible. I realize that the time it takes to boot, open apps, etc is based on host OS, CPU, memory, etc. What I am wondering is would it be worthwhile to tweak the hardware detection during the boot process to align it with hardware types that are supported in Qemu?
As an example I have an AMD 3500+ CPU, 2 GB memory, Win XP and when running Qemu I set it for 512MB memory. I have tested several distros and the two best run about 45-60 seconds to boot without Kqemu and 35-50 seconds with Kqemu running. Currently I am working with WinXP as a host but my goal is have it run on a Linux host also.
I turn off many checks like SCSI, PCMCIA, USB, Firewire, AGP, etc. to get the faster time and am wondering what other areas I can look at to speed booting & shutdown.
Thanks in advance,
Quoted 8 lines
desNotes
[email protected]_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel