View previous topic :: View next topic |
Author |
Message |
alain-elkann n00b
Joined: 29 Oct 2006 Posts: 65
|
Posted: Mon Oct 30, 2006 6:08 am Post subject: mount points |
|
|
hello to everybody,
on my first stab at installing gentoo, off a quick install iso, I decided not to go by the book, creating separate partitions for /boot /home /usr /var /opt swap and /tmp;
I mount the partitions on the mount points created in /mnt/gentoo, so /dev/hda1 in /mnt/gentoo/boot, /dev/hda3 in /mnt/gentoo/, <=== it should be my '/' partition, /dev/hda5 in /mnt/gentoo/home an so on;
going by the book I : Quote: | Mount the freshly created file systems on /mnt/gentoo. Create directories for the other mount points (like /mnt/gentoo/boot) if you need them and mount them too. |
so now I have /mnt/gentoo/boot, /mnt/gentoo/home, /mnt/gentoo/usr etcetera;
I then, download the stage3 tarball, in /mnt/gentoo, and when I deflated it, it creates the bin,dev,home,mnt,proc,sbin,sys,usr,boot,etc,lib,opt,root,tmp and var, a full tree then...
in doing so it touches (overwrite) the directories created by me, judging from the differing "create times"
so, if my '/' is /dev/hda3 and I mount it under /mnt/gentoo, the directory .links created by the browser with which the stage3 was downloaded, should be created under /mnt/gentoo/root and not under /mnt/gentoo as is the case;
being this the 8th unsuccesfull try, I was wondering if the partitions created by me, should be mounted after decompressing the stage3, using the mount point created by the tarball or else? |
|
Back to top |
|
|
Dlareh Advocate
Joined: 06 Aug 2005 Posts: 2102
|
Posted: Mon Oct 30, 2006 6:53 am Post subject: |
|
|
You must mount everything before decompressing the stage tarball, using mount points created yourself where needed. _________________ "Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet? |
|
Back to top |
|
|
alain-elkann n00b
Joined: 29 Oct 2006 Posts: 65
|
Posted: Mon Oct 30, 2006 7:08 am Post subject: |
|
|
Dlareh wrote: | You must mount everything before decompressing the stage tarball, using mount points created yourself where needed. |
Dlareh
I have done it either way; if I mount them before I.E. #mount /dev/hda6 /mnt/gentoo/usr
when I deflate the stage3, new directories are created under /mnt/gentoo I.E. /mnt/gentoo/root, /mnt/gentoo/home /mnt/gentoo/usr overwriting the one's previously created by me (defferent create time)
If somebody has done what I'm trying to do, (creating a filesystem different from that described in the quickinstall guide, and could detail the steps, is welcome; |
|
Back to top |
|
|
Dlareh Advocate
Joined: 06 Aug 2005 Posts: 2102
|
Posted: Mon Oct 30, 2006 7:11 am Post subject: |
|
|
Quote: | new directories are created ... overwriting the one's previously created by me (defferent create time) |
That's incorrect. Everything is as it should be; tar xvjpf preserves times and will change the directiories you created.
Your partitions are still mounted to those locations, as you can easily verify by running `mount'.
If you really need to prove this to yourself, unmount something. The directory it was in will now be empty (remount it before continuing with your installation, obviously). _________________ "Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet? |
|
Back to top |
|
|
alain-elkann n00b
Joined: 29 Oct 2006 Posts: 65
|
Posted: Mon Oct 30, 2006 7:18 am Post subject: |
|
|
Dlareh wrote: | Quote: | new directories are created ... overwriting the one's previously created by me (defferent create time) |
That's incorrect. Everything is as it should be; tar xvjpf preserves times and will change the directiories you created.
Your partitions are still mounted to those locations, as you can easily verify by running `mount'.
If you really need to prove this to yourself, unmount something. The directory it was in will now be empty. |
I must point out that, the directories previously mounted by me under /mnt/gentoo had a create time of October 30, while those created after deflation of the tarball had a create time of August 3; |
|
Back to top |
|
|
Dlareh Advocate
Joined: 06 Aug 2005 Posts: 2102
|
Posted: Mon Oct 30, 2006 7:21 am Post subject: |
|
|
alain-elkann wrote: | I must point out that, the directories previously mounted by me under /mnt/gentoo had a create time of October 30, while those created after deflation of the tarball had a create time of August 3; |
As I said, tar does this.
You can do it yourself with the `touch' command, if you really want (see man touch for details). _________________ "Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet? |
|
Back to top |
|
|
alain-elkann n00b
Joined: 29 Oct 2006 Posts: 65
|
Posted: Mon Oct 30, 2006 7:22 am Post subject: |
|
|
at this very moment I am decompressing the portage snapshot, under /mnt/gentoo/usr
after having deflated the tarball with only /dev/hda3 mounted on /mnt/gentoo and mounting the rest of the partitions, on top of the dir created by stage3;
see what happens.. |
|
Back to top |
|
|
Dlareh Advocate
Joined: 06 Aug 2005 Posts: 2102
|
Posted: Mon Oct 30, 2006 7:30 am Post subject: |
|
|
If you 'deflated' the tarball with only your root partition mounted, then everything you 'deflated' will be on your root partition, not on the other partitions you mounted later. _________________ "Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet? |
|
Back to top |
|
|
alain-elkann n00b
Joined: 29 Oct 2006 Posts: 65
|
Posted: Mon Oct 30, 2006 7:56 am Post subject: |
|
|
Dlareh wrote: | If you 'deflated' the tarball with only your root partition mounted, then everything you 'deflated' will be on your root partition, not on the other partitions you mounted later. |
ok portage complained of a missing dir in /var
since I mounted the rest of the dirs after deflating, the /mnt/gentoo/var must have been empty;
I am reverting now to the hortodox procedure of mounting all, first and then deflating both stage3 and snapshot;
OK
the cache of the linked libs has been regenerated.....
a step further; |
|
Back to top |
|
|
alain-elkann n00b
Joined: 29 Oct 2006 Posts: 65
|
Posted: Wed Nov 01, 2006 2:46 pm Post subject: |
|
|
starting the install for the nth time;
from the livecd
boot> gentoo-nofb
I setup the net with net-setup and after assigning the IP, nmask, bcast , gw, just before editing resolv.con I have a look at the actual /etc/resolv.conf
nameserver 127.0.0.1
nameserver 192.168.0.1
nameserver 192.168.0.12
search twi-31o2.org
perhaps a case of the iso repository being compromised ?
this very moment, I am checking on the site to see if they have checksum's |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Wed Nov 01, 2006 8:57 pm Post subject: |
|
|
alain-elkann wrote: | nameserver 192.168.0.1 |
Indeed -- 192.168.0.1 has a long history of being a nefarious den of debauchery. Clearly that's a sign of Bad News.
Does this mean the terrorists have won? _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
|
Back to top |
|
|
elkann-alain n00b
Joined: 01 Nov 2006 Posts: 3
|
Posted: Thu Nov 02, 2006 1:25 am Post subject: |
|
|
klieber wrote: | alain-elkann wrote: | nameserver 192.168.0.1 |
Indeed -- 192.168.0.1 has a long history of being a nefarious den of debauchery. Clearly that's a sign of Bad News.
Does this mean the terrorists have won? |
perhaps you could stretch your mind (or could have) and maybe think that this line might have made me suspicious
Quote: | search twi-31o2.org |
then...
now I know that this directive has been set by a developer |
|
Back to top |
|
|
|