-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 [Reposting...] On 2010-06-28 09:44, Carlos E. R. wrote: [sent later] On 2010-06-28 05:17, C. Brouerius van Nidek wrote:
On Monday, June 28, 2010 09:24:20 am Philipp Thomas wrote:
Assuming the following layout:
/dev/sdb1 -> 11.2 /boot /dev/sdb2 -> 11.2 /
You do:
mount /dev/sdb2 /mnt mount /dev/sdb1 /mnt/boot mount -bind /dev /mnt/dev mount -bind /proc /mnt/proc mount -bind /sys /mnt/sys
Now you do 'chroot /mnt'
Thanks. In my case I do not have a special /boot partition. And with mount -bind /dev /mnt/dev it informs me:
# mount -bind /dev /mnt/dev mount: invalid option -- 'b'
That will be double dash, ie, "--bind". It is the same for almost any linux command, it is documented in the man page, and it prints it for you in the help text you pasted:
One can also mount an already visible directory tree elsewhere: mount --bind olddir newdir
···············^^ See? >:-)
Another question. Should I not change into the /mnt after it is mounted as /dev/sdb3 ?
No. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iF4EAREIAAYFAkwpjsYACgkQja8UbcUWM1wHjQD/UPBZH5J7zOCswDvzYPLiBwbN RqzFnbCXIMH3h6A1eoEA/igtUt7f2wG+eYQefbOKQz7DZ/7El4rdSegmIJaAgyXd =vo2y -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org