Changes between Version 11 and Version 12 of Livecd/Installation

Show
Ignore:
Timestamp:
07/01/10 15:13:04 (2 months ago)
Author:
jensp
Comment:

split up installation page

Legend:

Unmodified
Added
Removed
Modified
  • Livecd/Installation

    v11 v12  
    1  
    21= Installation = 
    32 
    4 This is a quick & dirty howto for installing the new livecd version aka 2009_beta_* 
     3You want to install pentoo on your harddisk? Good idea! There are several ways to do it: 
     4 
     5[wiki:Livecd/Installation/quickanddirty A quick & dirty howto for installing the new livecd version aka 2009_beta_*] 
    56 
    67There's a much more detailed wlakthrough in [http://forums.pentoo.ch/viewtopic.php?f=7&t=1032 the forums] 
     
    89There is a very nice guide for installing pentoo on a HD with LUKS encryption:[[BR]] 
    910[http://hardenedgentoo.blogspot.com/2010/02/installing-pentoo-on-hard-drive-with.html] 
    10  
    11  
    12 == Setup your disk == 
    13  
    14 Determine your disk and partition it through fdisk[[BR]] 
    15 Format the root partition as you'd like it, and mount it on /mnt/gentoo 
    16 Format the boot partition as you'd like it, and mount it on /mnt/gentoo/boot 
    17  
    18 == Copy the files == 
    19  
    20 Copy all dirs from /mnt/livecd to /mnt/gentoo[[BR]] 
    21 Copy /etc /root to /mnt/gentoo[[BR]] 
    22  
    23 {{{ 
    24 # \cp -avf /mnt/livecd/* /etc /root /mnt/gentoo 
    25 }}} 
    26  
    27 Copy /usr/portage to /mnt/gentoo/usr[[BR]] 
    28  
    29 {{{ 
    30 # \cp -avf /usr/portage /mnt/gentoo/usr 
    31 }}} 
    32  
    33  
    34 == Configure your "installation" == 
    35  
    36 Mount proc and dev on /mnt/gentoo[[BR]] 
    37 {{{ 
    38 # mount -t proc none /mnt/gentoo/proc 
    39 # mount -o bind /dev /mnt/gentoo/dev 
    40 }}} 
    41 Chroot on /mnt/gentoo[[BR]] 
    42  
    43 {{{ 
    44 # chroot /mnt/gentoo /bin/bash 
    45 # env-update 
    46 >> Regenerating /etc/ld.so.cache... 
    47 # source /etc/profile 
    48 # export PS1="(chroot) $PS1" 
    49 }}} 
    50 Configure your /etc/fstab and /boot/grub/grub.conf /etc/conf.d/*[[BR]] 
    51  
    52 Remove autoconfig from default runlevel[[BR]] 
    53  
    54 {{{ 
    55 # rc-update del autoconfig default 
    56 }}} 
    57  
    58 Add keymaps to default[[BR]] 
    59 {{{ 
    60 # rc-update add keymaps default 
    61 }}} 
    62  
    63 And edit /etc/conf.d/keymaps 
    64  
    65  
    66 {{{ 
    67 # mv /etc/inittab.old /etc/inittab 
    68 # mv /etc/init.d/halt.sh.orig /etc/init.d/halt.sh 
    69 # passwd root 
    70 }}} 
    71  
    72 Change your password 
    73  
    74  
    75 == Setup bootloader == 
    76  
    77 Setup grub by editing it's configuration file. 
    78 If your hdd is /dev/sda it would look like this: 
    79 {{{ 
    80 # grep -v rootfs /proc/mounts > /etc/mtab 
    81 # grub-install --no-floppy /dev/sda 
    82 }}} 
    83  
    84  
    85  
    86 == Finish installation == 
    87  
    88 Exit from chroot, umount /mnt/gentoo/*[[BR]] 
    89 {{{ 
    90 # exit 
    91 # umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo 
    92 }}} 
    93 Reboot 
    94 Enjoy