Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mount points
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
alain-elkann
n00b
n00b


Joined: 29 Oct 2006
Posts: 65

PostPosted: Mon Oct 30, 2006 6:08 am    Post subject: mount points Reply with quote

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
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Mon Oct 30, 2006 6:53 am    Post subject: Reply with quote

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
View user's profile Send private message
alain-elkann
n00b
n00b


Joined: 29 Oct 2006
Posts: 65

PostPosted: Mon Oct 30, 2006 7:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Mon Oct 30, 2006 7:11 am    Post subject: Reply with quote

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
View user's profile Send private message
alain-elkann
n00b
n00b


Joined: 29 Oct 2006
Posts: 65

PostPosted: Mon Oct 30, 2006 7:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Mon Oct 30, 2006 7:21 am    Post subject: Reply with quote

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
View user's profile Send private message
alain-elkann
n00b
n00b


Joined: 29 Oct 2006
Posts: 65

PostPosted: Mon Oct 30, 2006 7:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Mon Oct 30, 2006 7:30 am    Post subject: Reply with quote

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
View user's profile Send private message
alain-elkann
n00b
n00b


Joined: 29 Oct 2006
Posts: 65

PostPosted: Mon Oct 30, 2006 7:56 am    Post subject: Reply with quote

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
View user's profile Send private message
alain-elkann
n00b
n00b


Joined: 29 Oct 2006
Posts: 65

PostPosted: Wed Nov 01, 2006 2:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Wed Nov 01, 2006 8:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Wed Nov 01, 2006 9:02 pm    Post subject: Reply with quote

alain-elkann wrote:

perhaps a case of the iso repository being compromised ?


Just a case of using the search function.
https://forums.gentoo.org/viewtopic-t-503425-highlight-twi31o2.html
https://forums.gentoo.org/viewtopic-t-444838-highlight-twi31o2.html

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?

It's not confirmed yet who has won a pony ride and a candy bar, it's either the terrorists or some kid in Australia.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
elkann-alain
n00b
n00b


Joined: 01 Nov 2006
Posts: 3

PostPosted: Thu Nov 02, 2006 1:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum