Re: probing a system for drives in the pre phase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I haven't been able to figure out how to get access to the console for
> a user friendly UI...  I do everything in a different console and
> that's not as good.
> 
> Has anyone done this?
> 
Yes.

I customized the netstg2.img, inserting my own script called 'anaconda'.

/sbin/loader invokes /usr/bin/anaconda when bootstrapping begins (after
loading some drivers and chewing on some of /proc/cmdline); I put a script in
this stage which does what I want, then I have it exec the real anaconda
script once it's done running.

I suppose it's a little dodgy, but it was the way to get what I wanted
accomplished.

It should be possible to insert such a mechanism in any of the boot images
(hdstg2.img, netstg2.img, etc.).

If you want more detail, email me off list, or point me at a Wiki and I'll be
happy to fill you in!

hth,
Klaus


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux