diff options
author | Silvino Silva <silvino@bk.ru> | 2018-12-15 06:20:43 +0000 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2018-12-15 06:20:43 +0000 |
commit | 68c8048b2ef871cb18c5c6b58f586519c9f13f22 (patch) | |
tree | 4466ddb8c6198c7c93872dd5f7dbc5587187706f /core | |
parent | 48b937054671a1807a6cb32d77eabf834666d98b (diff) | |
download | doc-68c8048b2ef871cb18c5c6b58f586519c9f13f22.tar.gz |
core install target partition fix
Diffstat (limited to 'core')
-rw-r--r-- | core/install.html | 48 |
1 files changed, 18 insertions, 30 deletions
diff --git a/core/install.html b/core/install.html index 46793c9..0005873 100644 --- a/core/install.html +++ b/core/install.html @@ -127,6 +127,7 @@ (parted) name 6 swap </pre> + <h3>/home</h3> <p>Home partition on desktop fill the rest of disk @@ -141,6 +142,17 @@ (parted) name 7 home </pre> + <h3>Create filesystems</h3> + + <pre> + $ sudo mkfs.fat -F 32 /dev/sda2 + $ sudo mkfs.ext4 /dev/sda3 + $ sudo mkfs.ext4 /dev/sda4 + $ sudo mkfs.ext4 /dev/sda5 + $ sudo mkswap /dev/sda6 + $ sudo mkfs.ext4 /dev/sda7 + </pre> + <h2 id="step3">1.1.3. Prepare Install</h2> <p>From now on script @@ -152,37 +164,11 @@ $ export CHROOT=/mnt </pre> - <h3>Create filesystems</h3> - - <pre> - $ export DEV=/dev/sda - </pre> - - <pre> - $ export BLK_EFI="${DEV}2" - $ export BLK_BOOT="${DEV}3" - $ export BLK_ROOT="${DEV}4" - $ export BLK_VAR="${DEV}5" - $ export BLK_USR="${DEV}6" - $ export BLK_SWP="${DEV}7" - $ export BLK_HOME="${DEV}8" - </pre> - - <pre> - $ sudo mkfs.fat -F 32 $BLK_EFI - $ sudo mkfs.ext4 $BLK_BOOT - $ sudo mkfs.ext4 $BLK_ROOT - $ sudo mkfs.ext4 $BKL_VAR - $ sudo mkfs.ext4 $BKL_USR - $ sudo mkswap $BLK_SWAP - $ sudo mkfs.ext4 $BKL_HOME - </pre> - <pre> $ sudo mount $BLK_ROOT $CHROOT </pre> - <p>Create directories and mount target partitions;</p> + <p>Create follow directories;</p> <pre> $ sudo mkdir -p $CHROOT/boot @@ -195,7 +181,11 @@ $ sudo mkdir -p $CHROOT/tmp $ sudo mkdir -p $CHROOT/proc $ sudo mkdir -p $CHROOT/sys + </pre> + <p>If partition layout is different or target is a directory is not necessary to mount, create only the directories;</p> + + <pre> $ sudo mount $BLK_BOOT $CHROOT/boot $ sudo mkdir -p $CHROOT/boot/efi $ sudo mount $BLK_EFI $CHROOT/boot/efi @@ -203,8 +193,6 @@ $ sudo mount $BLK_VAR $CHROOT/var $ sudo mkdir -p $CHROOT/var/lib/pkg - $ sudo mount $BLK_USR $CHROOT/usr - $ sudo mount $BLK_HOME $CHROOT/home </pre> @@ -218,7 +206,7 @@ $ sudo mount -vt sysfs sysfs $CHROOT/sys </pre> - <p>Mount iso on target partition;</p> + <p>Mount iso or copy packages to target /mnt directory;</p> <pre> # modprobe isofs |