[Mageia-dev] require help to understand stage1/stage2/rescue source files
Maarten Vanraes
alien at rmail.be
Thu Oct 20 21:12:55 CEST 2011
Op donderdag 20 oktober 2011 19:08:45 schreef Pascal Terjan:
> On Thu, Oct 20, 2011 at 17:40, Maarten Vanraes <alien at rmail.be> wrote:
> > Op donderdag 20 oktober 2011 00:26:54 schreef Pascal Terjan:
> >> On Wed, Oct 19, 2011 at 21:36, Maarten Vanraes <alien at rmail.be> wrote:
> >> > Hi,
> >> >
> >> > is there someone who can help me understand the stage1/stage2/rescue
> >> > system? or point to some docs? i've looked at it, but it seems to be
> >> > sometimes one source file used for both... it's really confusing me.
> >>
> >> Sources in mdk-stage1/ are used to build several binaries (including
> >> init, stage1 and rescue-gui)
> >>
> >> images/make_boot_img is used to generate the boot images which will
> >> include stage1 and busybox
> >
> > do i need to install busybox rpm before executing this script?
>
> I would suggest that you look at the drakx-installer-images rpm
> dependencies I usually build the rpm
>
> >> rescue/ is used to make rescue.sqfs image which contains a
> >> /etc/rc.sysinit which will prepare things and then run rescue-gui
> >>
> >> At the end stage1, if in rescue mode, the rescue image get loaded
> >> (from local cd, ftp, http, ...), mounted and the code is run (else
> >> same happens to stage2)
> >
> > by any chance, do you know where i can make these rescue menuitems?
>
> Without looking, I would say in rescue-gui.c but I may be wrong
thanks alot for the assistance!
More information about the Mageia-dev
mailing list