Re: how to restore root and boot directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



El vie, 23 de sep 2016 a las 2:32 , niya levi via arch-general <arch-general@xxxxxxxxxxxxx> escribió:
Hi everyone
while reinstalling arch on raspberry pi memory stick i had the two
partitions mounted on mount points called root and boot in my home dir
on my laptop,
i intended to delete everything in root and boot in my home directory
but lost my mind and rm -rf /boot/* and /root/* instead,
is there a easy way to restore files to boot and do i just fix the root
user directory with useradd ?
shadrock


Hi! First you have to reinstall filesystem package.

To list the packages that contains files in /boot use. You have to reinstall those packages.

pacman -Ql | grep " /boot/"

and then configure your bootloader.

Fernando Fernandez
Software Peronista






[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux