View previous topic :: View next topic |
Author |
Message |
trpn n00b
Joined: 29 Dec 2002 Posts: 74
|
Posted: Fri Jan 21, 2005 3:04 am Post subject: new installer |
|
|
Hey,
I have recently been working on an installer for gentoo called diagi. It is made using dialog (and xdialog for use with knoppix) and bash. You can see more info on it here (with screenshots).
I have not been able to test it much (since I am the only person testing it!) but I have gotten through it no problem a few times now. It is very rough also since I have only recently been able to put much effort into it, and I just learned bash scripting about 4 months ago. If anyone wants to try it go ahead, you can do it from within a linux machine (or knoppix or the gentoo minimal cd's) if you have a spare harddrive. But please don't hold me responsible if anything goes wrong (plus i wouldn't mind someone else's feedback)
Now, I have a question. I have heard rumours that the gentoo devs are working on their own installer called genstall (???) I looked at the website for genstall and their isn't much about it. I searched the forums and only found one post saying it was also being written using dialog... does anyone know if this is true?
Thanks!
Last edited by trpn on Fri Mar 25, 2005 4:08 pm; edited 3 times in total |
|
Back to top |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
Posted: Fri Jan 21, 2005 4:07 am Post subject: |
|
|
This would probably be more suited to gentoo chat, but anyhow.
Yes, an GUI installer cd is planned, along with the old-style install. Maybe you could talk to the devs about hopping on that project if you were interested. _________________ no software patents in europe! | adopt an unanswered post. |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Fri Jan 21, 2005 12:24 pm Post subject: |
|
|
Moved from IG _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Fri Jan 21, 2005 1:16 pm Post subject: |
|
|
It looks nice. I shall take a look at the code when I get home and possibly help out with it if you want me to do that. Cheers. |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
|
Back to top |
|
|
trpn n00b
Joined: 29 Dec 2002 Posts: 74
|
Posted: Fri Jan 21, 2005 6:30 pm Post subject: |
|
|
Pwnz3r - Go ahead! Any improvements are always welcome. As I said before I just started with shell scripting (the only other languages I know are php4 and asp3 and its been a while since I have done something serious with either of them), so I bet their is a lot of parts of the script that can be improved.
BlackEdder - Thanks for the links... I did check it out last night and I read some of the logs those devs have. It looks like it's going to be made in python (which I have no experience with) so I don't think I will be of much help. |
|
Back to top |
|
|
mrmodin Apprentice
Joined: 24 Jan 2004 Posts: 216 Location: Stockholm, Sweden
|
Posted: Fri Jan 21, 2005 7:24 pm Post subject: |
|
|
looks really nice! Keep up the good work |
|
Back to top |
|
|
pjj Apprentice
Joined: 30 Apr 2004 Posts: 165 Location: The Netherlands
|
Posted: Fri Jan 21, 2005 8:53 pm Post subject: |
|
|
Cool indeed. I'll hope it will be in a next release of Gentoo |
|
Back to top |
|
|
ba747heavy Apprentice
Joined: 11 Aug 2003 Posts: 216 Location: New Mexico, USA
|
Posted: Fri Jan 21, 2005 9:15 pm Post subject: |
|
|
Fantastic. Very good work. I'll have to give this a good testing soon. _________________ Fred Clausen
"leet [speak] is a cry for help from a shallow mind" - Doomwookie Jan 05 |
|
Back to top |
|
|
Q-collective Advocate
Joined: 22 Mar 2004 Posts: 2071
|
Posted: Fri Jan 21, 2005 10:10 pm Post subject: |
|
|
Indeed, good work!!
If I only knew about this a little earlier... just reinstalled my system |
|
Back to top |
|
|
mrmodin Apprentice
Joined: 24 Jan 2004 Posts: 216 Location: Stockholm, Sweden
|
Posted: Sat Jan 22, 2005 12:32 am Post subject: |
|
|
This will absolutely be used in my next reinstall (never know when that will be, but whatever =) ) |
|
Back to top |
|
|
trpn n00b
Joined: 29 Dec 2002 Posts: 74
|
Posted: Sat Jan 22, 2005 5:22 pm Post subject: |
|
|
mrmodin wrote: | This will absolutely be used in my next reinstall (never know when that will be, but whatever =) ) |
I would really appreciate it if it was tested because I am sure there are a lot of bugs.
But, I wouldn't expect it to work flawlessly and I would not try it on a production system. I have not been able to thoroughly test parts like installing from a stage1 or stage2 tarball (since it takes so long!)
mrmodin (or anyone) if you try it out, I hope that you have done the normal gentoo installation a number of times in case this installer breaks half way and you can continue from where it left off. I wouldn't wish a wasted day of compiling and then getting stuck on anyone.
Thanks for the interest though! |
|
Back to top |
|
|
MrApples Guru
Joined: 13 Dec 2002 Posts: 511
|
Posted: Sun Jan 23, 2005 1:27 am Post subject: |
|
|
looks really nice, ill test it on my next install _________________ http://www.whatsinyourbox.org -- Technology discussion, news, and more. |
|
Back to top |
|
|
mrmodin Apprentice
Joined: 24 Jan 2004 Posts: 216 Location: Stockholm, Sweden
|
Posted: Mon Jan 24, 2005 8:43 am Post subject: |
|
|
hehe, no need to worry about me =) |
|
Back to top |
|
|
Snake785 n00b
Joined: 25 Jan 2005 Posts: 1
|
Posted: Tue Jan 25, 2005 2:08 am Post subject: |
|
|
This is really nice. I just did a stage 3 install and it worked great! I installed with the 2.6.10-r6 kernel using genkernel. Oh btw, I installed it in Virtual PC. I didn't run into any major problems (I just had to load the network module after I rebooted manually). Keep up the excellent work trpn! |
|
Back to top |
|
|
trpn n00b
Joined: 29 Dec 2002 Posts: 74
|
Posted: Thu Jan 27, 2005 2:38 am Post subject: |
|
|
Snake785 wrote: | This is really nice. I just did a stage 3 install and it worked great! I installed with the 2.6.10-r6 kernel using genkernel. Oh btw, I installed it in Virtual PC. I didn't run into any major problems (I just had to load the network module after I rebooted manually). Keep up the excellent work trpn! |
Thanks!
No suggestions though? |
|
Back to top |
|
|
Xithix Apprentice
Joined: 31 Dec 2004 Posts: 228
|
Posted: Fri Jan 28, 2005 6:36 pm Post subject: |
|
|
When I select download, it tells me I need to format, dispite the fact that I already formatted. |
|
Back to top |
|
|
trpn n00b
Joined: 29 Dec 2002 Posts: 74
|
Posted: Fri Jan 28, 2005 6:49 pm Post subject: |
|
|
Xithix wrote: | When I select download, it tells me I need to format, dispite the fact that I already formatted. |
hmm did you format your drives using another method other than within this script?
Actually I just thought of another thing. Are you trying to install on a hard drive that is shared with another operating system? If so when you were asked to format did you ever cancel out?
Edit: I just made a quick fix for this. Check out the website, the new version is there. |
|
Back to top |
|
|
vladc n00b
Joined: 29 Dec 2004 Posts: 17
|
Posted: Sun Jan 30, 2005 5:31 pm Post subject: |
|
|
Great idea! Have you thought of including Kuroo http://tux.myftp.org/wikka/wikka.php?wakka=Wiki as part of the installer? This would give your installer program GUI access to the Portage system.
Also, check out another thread on a similar topic:
Automatic kernel/USE config at installation dep. on hardware
https://forums.gentoo.org/viewtopic.php?t=287711
Try to get your installer included in future Live CDs - it would make installation a lot easier and lead to a thorough testing of your product! |
|
Back to top |
|
|
trpn n00b
Joined: 29 Dec 2002 Posts: 74
|
Posted: Sun Jan 30, 2005 8:22 pm Post subject: |
|
|
vladc wrote: | Great idea! Have you thought of including Kuroo http://tux.myftp.org/wikka/wikka.php?wakka=Wiki as part of the installer? This would give your installer program GUI access to the Portage system.
Also, check out another thread on a similar topic:
Automatic kernel/USE config at installation dep. on hardware
https://forums.gentoo.org/viewtopic.php?t=287711
Try to get your installer included in future Live CDs - it would make installation a lot easier and lead to a thorough testing of your product! |
Thanks!
But.... kuroo needs X. Diagi is a just a bash script that uses dialog as a front end, and thats basically all it is. Unless the installation media included some form of X-windows then it wouldn't be possible. (The minimal cd's do not.)
Perhaps if a front end to portage written using dialog exists then it could be used.
As for detecting the hardware that would be waaay beyond my skills and knowledge.
And there is an actual team working on a real installer that will most likely be on the live cd's. I dunno how much progress is being made on that though. |
|
Back to top |
|
|
vladc n00b
Joined: 29 Dec 2004 Posts: 17
|
Posted: Sun Jan 30, 2005 8:58 pm Post subject: |
|
|
Quote: | Thanks!
But.... kuroo needs X. Diagi is a just a bash script that uses dialog as a front end, and thats basically all it is. Unless the installation media included some form of X-windows then it wouldn't be possible. (The minimal cd's do not.)
Perhaps if a front end to portage written using dialog exists then it could be used.
As for detecting the hardware that would be waaay beyond my skills and knowledge.
And there is an actual team working on a real installer that will most likely be on the live cd's. I dunno how much progress is being made on that though. | Yup, the difficulties in creating a comprehensive installer are great...
I hope that the development of the official GUI installer is moving along well. There are already two relatively functional and stable Linux installers that can be used/combined/improved to make the Gentoo installer - Anaconda from Red Hat and Yast from SuSE. |
|
Back to top |
|
|
paneb n00b
Joined: 20 Mar 2004 Posts: 73
|
Posted: Sun Jan 30, 2005 10:33 pm Post subject: |
|
|
good job
reminds me of the FreeBSD installer |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Tue Feb 15, 2005 6:45 pm Post subject: |
|
|
This is a nice installer - Bump
I will work on this and see if I can tweak it a little, like autodetecting volumes. Also, check out modconf for loading modules. It's possible (not sure how difficult) to merge these two for the module selection stage to help out noobs. |
|
Back to top |
|
|
trpn n00b
Joined: 29 Dec 2002 Posts: 74
|
Posted: Tue Feb 15, 2005 9:48 pm Post subject: |
|
|
thebigslide wrote: | This is a nice installer - Bump
I will work on this and see if I can tweak it a little, like autodetecting volumes. Also, check out modconf for loading modules. It's possible (not sure how difficult) to merge these two for the module selection stage to help out noobs. |
any improvements are always welcome.
I can see that some people have tried it from my web logs but I haven't gotten many people saying that "it worked" or "it didn't work". I just updated today actually. If anyone does try it please let me know. _________________ www.trpn-online.com |
|
Back to top |
|
|
verruckt Apprentice
Joined: 22 Sep 2003 Posts: 169 Location: missing Hörvelsingen...
|
Posted: Sat Feb 19, 2005 7:51 pm Post subject: |
|
|
trpn wrote: | I can see that some people have tried it from my web logs but I haven't gotten many people saying that "it worked" or "it didn't work". I just updated today actually. If anyone does try it please let me know. |
One of them would be me.
I like it alot. Wish I saw this when i was installing on my laptop. |
|
Back to top |
|
|
|