View previous topic :: View next topic |
Author |
Message |
Hun73r n00b
Joined: 28 Jun 2004 Posts: 49
|
Posted: Fri Mar 04, 2005 3:59 am Post subject: install mounts more disks(solved) |
|
|
Hi i want to install gentoo so its uses more disks than just one in the install handbook
so far boot and swap is ok
and i did.
mount /dev/sdb1 /mnt/gentoo
mount /dev/sdc1 /var
is that correct og do i miss somthing ??????
im allmost tru the installe and there is nothing in /var ony lost+found
did do enything wrong???????
Last edited by Hun73r on Fri Mar 04, 2005 4:56 am; edited 1 time in total |
|
Back to top |
|
|
shadow255 Guru
Joined: 04 Apr 2003 Posts: 412
|
Posted: Fri Mar 04, 2005 4:51 am Post subject: |
|
|
It looks like you mounted /dev/sdc1 to a point not accessible within your chroot environment. The proper way to do it from the start would be as follows:
Code: | $ mount /dev/sdb1 /mnt/gentoo
$ mkdir /mnt/gentoo/var
$ mount /dev/sdc1 /mnt/gentoo/var |
Do not do this now, if you have done most of your installation already. You'll now need to move all the files in the /var directory to your separate partition before mounting in that manner. One way to approach this would be to exit the chroot environment while leaving things mounted as you did earlier, and then doing the following:
Code: | $ rsync -av /mnt/gentoo/var/ /var
$ rm -rf /mnt/gentoo/var/*
$ umount /var
$ mount /dev/sdc1 /mnt/gentoo/var |
Be careful, of course, with the first 2 commands! After the last step, you should be able to chroot back in and have things the way you expected. _________________ Vogon poetry is of course the third worst in the Universe. -- Douglas Adams, The Hitchhiker's Guide to the Galaxy |
|
Back to top |
|
|
Hun73r n00b
Joined: 28 Jun 2004 Posts: 49
|
Posted: Fri Mar 04, 2005 4:55 am Post subject: |
|
|
Thanks for the anser |
|
Back to top |
|
|
|