You are not logged in.
Pages: 1
Hi
I wanna install Arch Linux and I used following commands for mounting :
mount /dev/sda1 /mnt
mkdir /mnt/home
mount /dev/sda2 /mnt/homeand then :
genfstab -U -p /mnt >> /mnt/etc/fstabbut it sais there is no such file (/mnt/etc/fstab) and after I checked /mnt by (ls) command there are no etc,boot,var and etc there is just lost and found folder there I mounted partions without getting error but they didn't mounted correctly.
what should I do ?
Offline
Which guide are you following?
You need to use `pacstrap` to install the filesystem package so that an fstab is present for `genfstab` to modify.
Jin, Jîyan, Azadî
Offline
I use Arch wiki.
Offline
I use Arch wiki.
Read it more carefully then ![]()
Jin, Jîyan, Azadî
Offline
Surely you are newbie in Arch installations... welcome!
1) Have you formatted the partitions? If not, before mount anything, you have to do
mkfs.ext4 /dev/sda1 && mkfs.ext4 /dev/sda2. I guess you would like Ext4 as filesystem, personally I use Btrfs on a single partition with subvolumes (but's more complex than Ext4).
2) You've forgotten to do the command
pacstrap /mnt base. It installs a basic system inside the selected partition. Obviously you have to do that after the mount process.
3) After installation is completed you can do without any trouble
genfstab -U -p /mnt >> /mnt/etc/fstab.
Summarize:
mkfs.ext4 /dev/sda1 && mkfs.ext4 /dev/sda2
mount /dev/sda1 /mnt && mkdir /mnt/home && mount /dev/sda2 /mnt/home
pacstrap /mnt baseAnd you've not finished yet to configure your system, here you find the following steps: https://wiki.archlinux.org/index.php/Be … hange_root
Offline
Pages: 1