Thread: Missing initrd no liveusb or comp
hi have had major problem. entire boot folder erased , stuck in initramfs there commands can use make new initrd or can act initrd file somehow. remember have limited commands have basic such mkdir cat mktemp cp pwd set du chroot chmod , few others.
have little access bet use commands open programs. dont know these programs. know boot proccess far kernel , grub not know else initrd says do. please help.
boot live cd, mount root file system , if necessary boot partition in chroot, , re-install kernel.
assuming running live cd, , ubuntu root partition /dev/sda, , not have separate boot partition ...
depending on configuration, may need copy hosts filecode:sudo mount /dev/sda1 /mnt sudo cp /etc/resolv.conf /mnt/etc/
to avoid locale issues , in order import gpg keyscode:sudo cp /etc/hosts /mnt/etc/ sudo mount --bind /dev/ /mnt/dev sudo chroot /mnt mount -t proc none /proc mount -t sysfs none /sys mount -t devpts none /dev/pts
restore grubcode:export home=/root export lc_all=c
reinstall kernelcode:grub-install /dev/sda
should automatically update /boot , grub.code:apt-get install --reinstall linux-gnereic
should able reboot.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Missing initrd no liveusb or comp
Ubuntu
Comments
Post a Comment