View previous topic :: View next topic |
Author |
Message |
3xkrazy n00b
Joined: 27 Nov 2012 Posts: 8
|
Posted: Thu Nov 21, 2013 12:43 am Post subject: Can someone verify my custom stage4.tar.bz2 command flow? |
|
|
I've been looking at the stage4 wiki [1], but i'm not sure if it's outdated or not, especially the exclude directories.
New Gentoo build directory (fast computer):
Tar up the build directory (Not chrooted, no binds, after a system reboot):
Code: |
hle@gentoo ~/temp $ cat stage4.exclude
/home/hle/build/gentoo/tmp/*
/home/hle/build/gentoo/var/tmp/*
/home/hle/build/gentoo/proc/*
/home/hle/build/gentoo/sys/*
/home/hle/build/gentoo/dev/*
hle@gentoo ~/temp $ sudo tar --create --absolute-names --preserve-permissions --totals --bzip2 --ignore-failed-read --verbose --file stage4.tar.bz2 ~/build/gentoo -X stage4.exclude
|
Restoring stage4.tar.bz2 on a slow computer from a live usb:
Code: |
# pwd
/mnt/gentoo
# wget --user=**** --password=**** ftp://192.168.1.129/temp/stage4.tar.bz2
# tar --strip-components=4 -xvjpf stage4.tar.bz2
|
Then proceed as normal with the rest of the Gentoo handbook.
[1] http://www.gentoo-wiki.info/HOWTO_Custom_Stage4 |
|
Back to top |
|
|
oandarilho01 Tux's lil' helper
Joined: 17 Nov 2005 Posts: 132 Location: Rio de Janeiro/RJ - Brasil
|
Posted: Mon Dec 02, 2013 3:38 pm Post subject: |
|
|
Hi, 3xkrazy.
I suggest you to include /usr/portage/packages/* and /usr/portage/distfiles/* in the exclude list too, on future stage4 generation rounds. _________________ Ficai em Paz..
<<O Andarilho>> |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Mon Dec 02, 2013 3:47 pm Post subject: Re: Can someone verify my custom stage4.tar.bz2 command flow |
|
|
3xkrazy wrote: | I've been looking at the stage4 wiki [1], but i'm not sure if it's outdated or not, especially the exclude directories. |
Gentoo-wiki.info content is very outdated (2008). |
|
Back to top |
|
|
|