Re: [opensuse-factory] Hacking SuSE installation process.
El Lunes, 14 de Agosto de 2006 06:26, escribió:
On Thu, 10 Aug 2006 08:04 pm, Samuel Partida wrote:
Now i'm interested on knowing the procedure for the creation of the images that linuxrc loads (root, rescue, etc...) because we want to hack on the installation and boot processes.
The temporary root-disk-image "initrd" is built by the "mkinitrd" script.
I dug a bit into it, enough to create a custom "initrd" with scripts that allow a new cluster node to build itself during boot. It does this by cloning a model system with identical hardware. So I call it "cloneboot".
Start by running mkinitrd with the -R option. Then you can mount the resulting image with:
root> mount -t ext2 -o loop initrd /mnt root> cd /mnt root> ls -la etc.
If this is close to what you want to do ask some questions, or just let me know and I'll send you my scripts.
michaelj
Hi Michael, excuse my late answer, I was on vacations :) I see that what you have is a script for creating the initial ram disk (initrd), but that's not what I need. The problem is when the initrd switches to the "root" disk image. The initrd loads the linuxrc program (the first suse installation program), and next it loads the root disk image (or rescue image if you have selected it), then, it starts Yast installation from the root disk image. What i'm looking for are the steps on creating a customized root disk, but there is no documentation yet as it was said to me by a SuSE developer. If you are interested on going beyond the initrd like me, we can hack around the root image to find the glue between linuxrc and yast installation :) Very thanks for your interest :) See you! --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (1)
-
Samuel