Here you need to set the right hooks if the root is on a USB drive, if you use [...]
No need to reinstall everything from scratch. Just boot from the 2 GB stick the ISO that you "dd"-ed to the stick, mount the 8 GB stick and chroot into your install. Then you can easily edit /etc/mkinitcpio.conf and add the fricken usb hook (and then re-generate the initramfs with 'mkinitcpio -p linux').
]]>go to this link.... https://wiki.archlinux.org/index.php/Mkinitcpio#HOOKS and read, that's about the best advice anybody can give you. You are going to have to learn to read the wiki and use it if you are going to enjoy your time with arch at all, it is the only thing that has kept me going at least.
]]>This is what i did:
i got my 2gb usb and i did
sudo dd if=/path_to_arch_.iso of=/dev/sdX
i wrote the iso into the usb
then i boot from that usb and insert the 8gb usb and start installing Arch into the 8gb usb
but now i cant boot from it.
do i have to format the 8gb usb and do everything all over again
or is there a way of doing it booting from the 2gb usb and modifing the 8gb usb?
no,how to do it?
1. Edit your first post and wrap your output in code tags
like so...
2. Read the mkinitcpio wiki page.
]]>Did you include the USB hook in your mkinitcpio.conf?
]]>lsblk
cfdisk
Primary size 500 Begining
bootable
-----------------------------
New Primary size all thats left
*Write*
mkfs.ext4 /dev/sda1
mkfs.ext4 /dev/sda2
mount /dev/sda2 /mnt
mkdir /mnt/boot
mount /dev/sda1 /mnt/boot
locale-gen
nano /etc/pacman.d/mirrorlist
pacman -Sy
pacstrap -i /mnt base base-deve1
-Enter-
-enter-
-Yes-
genfstab -U -p /mnt >> /mnt/etc/fstab
nano /mnt/etc/fstab
arch-chroot /mnt /bin/bash
nano /etc/locale.gen
#en_US.UTF-8 UTF-8
#en_US ISO-8859-1-
locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
nano /etc/vconsole.conf
write in
KEYMAP=us
FONT=Lat2-Terminus16
ln -s /usr/share/zoneinfo/America/Toronto /etc/localtime
hwclock --systohc --utc
echo trevor > /etc/hostname
nano /etc/pacman.conf
pacman -Sy
passwd
-Enter your password-
-again-
useradd -m -g users -G wheel -s /bin/bash test
passwd test
pacman -S grup-bios
Yes and wait untill it finishes
grub-install --target=i386-pc --recheck /dev/sda or
grub-install /dev/sda
cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
grub-mkconfig -o /boot/grub/grub.cfg
exit
exit
umount /mnt/boot
umount /mnt/
reboot
Everything went right untill i rebooted.When i choose to boot from the USB it dosent,it boots windows 7(My pc OS)
Can anyone help pls?
]]>