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

Re: remove /boot by mistake, /,/usr and /home on partitions with LVM and crypt



On Sat, May 03, 2008 at 05:21:08PM +0800, Yahong Chen wrote:
> I tried to make a new installation of basic Debian/Linux system on
> another hard disk and attached the hard disk which the broken system
> on as a mobile hard disk (use USB line). The  sub-directories and
> files of /boot of the new system were copied to the corresponding
> place of old one and reinstalled GRUB on the hard disk and modified
> device.map and menu.1st.

That won't work, you need to regenerate an initrd that matches the
system you're trying to boot with it. Boot the broken system in
rescue mode, chroot to it and reinstall the kernel, that should
do it.

-- 
Pigeon

Be kind to pigeons
           Pigeon's Nest - http://pigeonsnest.co.uk/
  Lucy Pinder Television - http://www.lucy-pinder.tv/
GPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: signature.asc
Description: Digital signature


Reply to: