instaling windows7 after arch linux

instaling windows7 after arch linux

very good explonation in russian for installing arch linux
also helpful  ARCH Beginners’ Guide Install and configure a bootloader -> GRUB

partition table
sda1 swap
sda2 ext4 arch
sda3 ntfs win7
0. in bios boot from usb-pen
1. installed arch linux normally
1.1. sda3 is bootblle
1.2. grub is on the start up with two options:
Arch Linux, with Linux core repo kernel
Arch Linux, with Linux core repo kernel(Fallback initramfs)
2. installed win7
2.1. only windows is starting, no GRUB. :(
3. start ARCH Live USB-PEN again.
3.1. Connect to wired LAN(possible your will need internet), but this is optional

4. lsblk – lists information about all available or the specified block devices

for me it looks like
sda      8:0    0 698.7G  0 disk
├─sda1   8:1    0 384.3M  0 part [SWAP]
├─sda2   8:2    0   326G  0 part /
└─sda3   8:3    0 372.3G  0 part
sr0     11:0    1  1024M  0 rom
5. sda2 is my arch partition
6.0 ls /mnt -> empty
6. mount /dev/sda2 /mnt
6.1 ls /mnt -> your arch disk as it was after point 1.2 (boot/ dev/ etc/ ….)
7. new install of grub (if not installed before your need of internet access see point 3.1) in /mnt
7.1 arch-chroot /mnt pacman -S grub-bios (if motherboard is working wth BIOS, normally yes:) )
7.2 arch-chroot /mnt pacman -S os-prober (automatic search of operation systems by configuring of bootloader)
8. change root for mounted system in /mnt, because we want to work in this system and not on a live USB-PEN. We use kernel of live USB-PEN, but root folder is of an existing arch installation.
8.1. arch-root /mnt
8.2 bash (change interpritation to bash, more common for us)
9. configure GRUB
9.1 grub-install /dev/sda (not sda2!!!), is HDD from which system will be loaded.
possible Error: Path ‘/boot/grub’ is not readable by GRUB on boot. Installation is impossible. Aborting. -> solution for mee was point 8!
normal output o is: Installation finished. No errors reported. YEAH!
9.2 grub-mkconfig -o /boot/grub/grub.cfg
output: Generating grub.cfg …
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
WARNING: Failed to connect to lvmetad: No such filel or directory. Failing back to internal scanning.
No volume groups found
Found Windows 7 (loader) on /dev/sda3
10. exit arch-root
10.1 exit ->sh-4.2#
10.2 exit -> root@achiso
11. umount /mnt/{boot,home,} (equal to 3 commands “umount /mnt/boot” “umount /mnt/home” “umount /mnt/”)
12. reboot -> plug-out USB-PEN -> GRUB might work!
any questions contact over mail: pjotr [at] pjotr [dot] ru with subject [ARCH]:…………
UPDInstalling arch linux on lenovo E135
1. get fresh release of arch linux here
2. Create bootable USB in windows : rufus
3. in BIOS load from USB-PEN
4. Installation Guide
5. make partition table. I use cfdisk[youtube tutorial youtube tutorial windows+linux(from 2min) ] or fdisk as in russian tutorial of Roman Beylin Partition Types (for WIN7 87-“NTFS volume set”)

6. My Partition Table for arch+win7 on 500GB lenovo E135
7. mkfs.ext2 ext4 ntfs(Initializing device with zeroes..take time)
8. use vi as text editor here a cheat sheet
possible Error2: “which: no efibootmgr in (/usr/local/sbin:/usr/local/bin…) efibootmgr: Not found” -> solution just install efibootmgr “pacman -S efibootmgr”
possible Error3: “EFI distributor id isn’t specified” -> your need
chanceled installation of arch linux:( changed to linux mint, sorry it might work out of box.
i was installing arch linux on lenovo e135 the difficulty was UEFI , efi motherboard. here some feather links to this thema

my partition table lenovo E135

Lenovo IdeaPad Z510 + ArchLinux
[archwiki] Lenovo IdeaPad Z510