Arch linux cfdisk flags

Hi

I'm trying to install arch linux and are following a video. my problem is with cfdisk. I have made a swap partition and a second partition but don't know how to flag the second as bootable. Under help it shows a list of commands but I'm not sure how to enter them.

Thanks

    man cfdisk wrote:
           b      Toggle the bootable flag of the current partition. 
                  This allows you to select which primary partition is 
                  bootable on the drive.  
                  This command may not be available for all partition label 
                  types.

Any idea what I need to do then?

Use the b option or use the Bootable button and press enter, like this

I have different options to what's in the picture. I only have 6 options

Are you using cfdisk? What options do you have?
Anyway if you're using GPT, it does not require a boot flag.

I noticed at the top it says gpt so thanks for the help.

Report back, if you have any problems or if it all goes well.

I just encountered a problem. The first time I tryed to install grub it gave an error of no bios boot partition or something. I repartitioned the drive to have a 1gb bios boot partition. Redid everything and grub installed fine but when I restarted it just shows "grub grub" in the top left. What do I need to do.

For GPT and BIOS mobo you need a bios boot partition as the first partition on the disk. There's a specific size for it but it can just be 1M. https://wiki.archlinux.org/index.php/GRUB#GUID_Partition_Table_.28GPT.29_specific_instructions

1 Like

Did you install os-prober and generate a grub.cfg?

# pacman -S grub os-prober
# grub-mkconfig -o /boot/grub/grub.cfg

@spidernet and @2bdkid thanks so much for the help.

EDIT: I have connected the Ethernet

To get the network up with a dynamic ip just run dhcpcd from the terminal as root.

For the long term most people just use NetworkManager (you may have to install it)

systemctl enable NetworkManager
systemctl start NetworkManager

I've just had to move to my bed room which doesn't have Ethernet access. The Asus motherboard has WiFi with it which is the broadcom bcm4352. Is there a way to connect it?

Not overly familiar with it, theres some documentation on the arch wiki https://wiki.archlinux.org/index.php/Broadcom_wireless

Follow the link @Eden provided and https://wiki.archlinux.org/index.php/Wireless_network_configuration

I have an ASUS laptop and a bcm-43142 and in order to get the wireless card to work I did the following:

  • Install broadcom-wl from AUR (how to install from AUR)
  • Remove the other modules # rmmod b43 b43legacy bcma
  • check if wl is installed # modinfo wl
  • enable wl # modprobe wl
  • check if the card uses the wl module # lspci -vv or # rfkill list all
  • add the module to modules-load.d in order to load it at startup # nano /etc/modules-load.d/wl.conf and place this inside the file

    # Load wl at boot
    wl
  • Reboot and connect to the wifi using the links at the top of the post

EDIT: note that everytime you update the kernel from like 4.1.x to 4.2.x (or from 4.2.x to 4.3.x), you'll have to redownload broadcom-wl (before the update, or after the update using an ethernet cable), recompile it, reinstall it, and follow the steps above again, otherwise the wifi won't work.

Is there a way to run makepkg as root?

why would you need to do that?

+1 running makepkg as root can be very dangerous.

Are you running into any problems while compiling the package?