Re: how to restore root and boot directory

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



> 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


/root really shouldn't have anything of importance, unless you left it
there - in which case, you can't recover it

/boot has the kernel, the initramfs - which can be recreated if you
reinstall the "linux" package

and probably some bootloader files that you can also reinstall
depending on the boot loader:
- grub-install
- extlinux
- bootctl

-- 
damjan



[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