View previous topic :: View next topic |
Author |
Message |
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Thu Mar 01, 2007 5:58 am Post subject: gentoo restore disk? |
|
|
ok well im a kind of... distro fiddler? (need better term, someone please come up with one )
in other words i keep fiddling and tweaking.... and to be honest, breaking. last year i prob had installed about 20-30 ish distros in the year, including of course reinstalling the same one from scratch so about 20 different distros and say 10 reinstalls id say. and now im fixed with gentoo (although i still have ubuntu on a diff partition)
basically what id like is to be able to insert a disk, boot into it, it gives a prompt asking if i want to continue, and then installs gentoo, with all the right drivers, xorg conf, alsa conf etc. and ends up coming out with a gentoo install (no graphical enviorment) at which point i can install whatever i like on top of it.
is this possible?
thanks again, Ducky |
|
Back to top |
|
|
belrpr Guru
Joined: 22 May 2006 Posts: 440
|
Posted: Thu Mar 01, 2007 8:23 am Post subject: |
|
|
I know that it is possible.
But how is something I like to know 2. |
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Thu Mar 01, 2007 8:59 am Post subject: |
|
|
it would be great.
basically i would like a cd i can pop in, and it boots up to a minimal enviorment (similar to the minimal install CD) and at my command installs gentoo with the same xorg.conf, alsa conf, make.conf, etc.
and when finished is just like a fresh gentoo install plus my xorg, alsa, make.conf, etc.
and maybe could be build upon. but basically itself builds mostly.
so its kind off like a restore to minimal enviorment cd.
ive found these links on live cd's
http://gentoo-wiki.com/HOWTO#LiveCDs
i guess it would almost be like the autocd except with my settings and it would only be used for the same computer each time. and hopefully mostly self executing or something close.
so i can put the disk in, boot it, partitioning, mount my partition as /gentoo and /gentoo/boot etc and then type in a command which starts the restore to minimal enviorment process.
thanks again, Ducky |
|
Back to top |
|
|
JeliJami Veteran
Joined: 17 Jan 2006 Posts: 1086 Location: Belgium
|
Posted: Thu Mar 01, 2007 9:24 am Post subject: |
|
|
take a look at Sabayon
it is based on Gentoo, and does a marvelous job at detecting hardware
it can easily be installed to the HD _________________ Unanswered Post Initiative | Search | FAQ
Former username: davjel |
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Thu Mar 01, 2007 10:04 am Post subject: |
|
|
davjel wrote: | take a look at Sabayon
it is based on Gentoo, and does a marvelous job at detecting hardware
it can easily be installed to the HD |
ive had a look at sabayon in the past. but i prefer to stay with gentoo, and sabayon doesnt furfill my want to have a gentoo restore disk to reinstall my gentoo to a minimal state with my xorg conf, alsa conf, make.conf etc (all in my current gentoo) but with no graphical enviorment installed.
thanks anyway, Ducky |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
thorpe l33t
Joined: 09 May 2005 Posts: 618 Location: Sydney, Australia.
|
Posted: Thu Mar 01, 2007 1:31 pm Post subject: |
|
|
You might want to take a look at building a custom stage4. I think there is an article on the subject posted on the wiki. From there, you could script your installation process.
All you would then need do is boot into the stage4 disk, run your script, chroot and continue with maybe another script. _________________ Research before taking any advice from me. I'm still coming to grips with this myself. |
|
Back to top |
|
|
vandien Tux's lil' helper
Joined: 03 May 2006 Posts: 137
|
Posted: Thu Mar 01, 2007 3:17 pm Post subject: |
|
|
basically you need to write two scripts, one that you run from the livecd directly that sets up the partitions (might be safer to do this manually), installs the stage3 tarball, copies your already customized config files and a barebone portage tree, and then chroots to a second script. The second script updates the system and emerges some other small packages (or even X if you want). Using binary packages I can re-install my system (634 packages at the moment) in only a few hours.
Anyways, in short, yes it's possible. Sometime soon I'm going to post the updated scripts I use for this. I have an old post, but it's out of date and I wouldn't recommend using those scripts anymore. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Thu Mar 01, 2007 6:12 pm Post subject: |
|
|
thanks all for the replys.
Quote: | Habit to reinstall every time something is broken belongs to Ubuntu world. A Gentoo user is expected to fix it instead of reinstalling. However, you can do a fresh base install and take an image of it with partimage or dd. |
i dont usually reinstall everytime something is broken i just constantly change my graphical enviorment (because my system is only 633mhz) and im still experimenting with what desktop manager etc i like to use so in stead of having to unmerge everything just to install it possibly again later id like the ability to reinstall a base gentoo system in a short period of time (might go with binary packages) so that i can just sync then update and have a fresh install with my xorg, alsa, make.conf settings etc.
whats the difference between a stage 4 and stage 5? and what are each of thse?
thanks again, Ducky |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Mar 01, 2007 6:18 pm Post subject: |
|
|
Stage 4 is from Blinkeye and it backup only the necessary files except the dev/null and /dev/console.
If you have a Gensplash, you have 1/2 chances do have error when you will reboot, because sometime the Stage 4 is not capable to backup properly the Gensplash.
The Stage 5 can backup an entire installation.So, if you have only the partition /, the Stage 5 will create a full backup of that partition and because of that, you will not have any problems with the gensplash.
You can backup one partition at the time or you can backup an entire disk with separate partition. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu Mar 01, 2007 7:31 pm Post subject: |
|
|
Moved from Installing Gentoo to Other Things Gentoo.
Not about getting gentoo installed, so moved here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Fri Mar 02, 2007 3:11 am Post subject: |
|
|
d2_racing wrote: | Stage 4 is from Blinkeye and it backup only the necessary files except the dev/null and /dev/console.
If you have a Gensplash, you have 1/2 chances do have error when you will reboot, because sometime the Stage 4 is not capable to backup properly the Gensplash.
The Stage 5 can backup an entire installation.So, if you have only the partition /, the Stage 5 will create a full backup of that partition and because of that, you will not have any problems with the gensplash.
You can backup one partition at the time or you can backup an entire disk with separate partition. |
ok then thanks.
Quote: |
Moved from Installing Gentoo to Other Things Gentoo.
Not about getting gentoo installed, so moved here.
|
ok sorry about placing it in the wrong forums and all
ill prob have a look at the stage five thing.
but what has really sparked my interest is the binary packages.
heres what i plan to do (hopefully ) somehow make a minimal install cd that includes binary packages(build to my make.conf) of all the programs i want and then have some kind of script on there that excecutes on command (after i do all the partitioning etc) and just carries out the install, well hopefully anyway.
any suggestions on how to accomplish this are greatly appreachiated
thanks again, Ducky |
|
Back to top |
|
|
|