From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KIeGS-0007RE-UN for garchives@archives.gentoo.org; Tue, 15 Jul 2008 06:43:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94884E035C; Tue, 15 Jul 2008 06:43:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 47F8CE0364 for ; Tue, 15 Jul 2008 06:43:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id DF07666E24 for ; Tue, 15 Jul 2008 06:43:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.521 X-Spam-Level: X-Spam-Status: No, score=-3.521 required=5.5 tests=[AWL=-0.078, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, SUBJECT_FUZZY_TION=0.156] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nfkGCJlMOAVV for ; Tue, 15 Jul 2008 06:43:47 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 1524A66AF5 for ; Tue, 15 Jul 2008 06:43:46 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KIeGE-0007yC-Sc for gentoo-user@gentoo.org; Tue, 15 Jul 2008 06:43:42 +0000 Received: from athedsl-308599.home.otenet.gr ([85.73.253.21]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Jul 2008 06:43:42 +0000 Received: from realnc by athedsl-308599.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Jul 2008 06:43:42 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: gentoo install on Dell restore partition... live? Date: Tue, 15 Jul 2008 09:43:33 +0300 Organization: Lucas Barks Message-ID: References: <20080714223103.5969a906@evolone.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-308599.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; x86_64; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0 In-Reply-To: <20080714223103.5969a906@evolone.org> Sender: news X-Archives-Salt: 60d2bf72-4cab-465a-b5b1-9e2a8e97cde5 X-Archives-Hash: 17b948331883d5a0b4064e6ccb0e668d Michael Higgins wrote: > So, I finally got the OK to nuke another Dell winbox. My dream is to: > > * Partition the restore partition (3.6 GB) for any small linux > installation > > * make that partition active, bootable, with grub installed > > * reboot and ssh into that linux machine to finish by toasting NTFS > partition and making it my gentoo system '/' as per usual... > > Can this be done without physical access to the machine which is > currently running windows XP? I am administrator and get 'there' via > RDP. It is possible: http://www.gentoo.org/doc/en/altinstall.xml#doc_chap5 But not really recommended because if you do something wrong (wrong grub config, SSH misconfiguration, etc.) you'll need to go there and get physical access. Also, instead of installing a downloaded tarball, you can just clone the existing Gentoo installation into the new partition and boot from it. This usually means: 'cp -a' your existing / to your target / (except /dev, /sys and /proc). If you mounted your target / as /root/target, you do: cp -a /usr /root/hd (repeat this for all directories in your current / *EXCEPT* /dev, /proc, /sys and /lost+found) mkdir /root/hd/dev mkdir /root/hd/proc mkdir /root/hd/sys mknod /root/hd/dev/console c 5 1 mknod /root/hd/null c 1 3 touch /root/hd/dev/.keep touch /root/hd/proc/.keep touch /root/hd/sys/.keep Now chroot into it: mount -t proc none /root/mnt/proc mount -o bind /dev /mnt/gentoo/dev chroot /root/hd /bin/bash Now edit /etc/fstab to use the new partitions, edit /boot/grub/grub.conf and reinstall grub: grub root (hd0,0) <-- sustitute with what you really have/want setup quit Now change your SSH config to allow for root login! (Or add a normal user if you don't want that.) In any case, check your SSH config. You're ready. Leave the chroot and unmount: exit umount /root/hd/dev umount /root/hd/proc If you've set up grub correctly while in the chroot, you can now reboot and the new system should come up. If not, I hope it's not a long drive or walk to get physical access :P -- gentoo-user@lists.gentoo.org mailing list