Home » Articles » Grub manual booting Linux

Grub manual booting Linux

grub> set pager=1

grub> ls

(…will list (hd0) (hd0,msdos2) (hd0,msdos1) and similar…)

grub> ls (hd0,1) or (hd0,msdos2,1) or whatever-partition

(…until you find the partition which contains /bin, /boot, /dev, etc…)

grub> set root=(hd0,1)

grub> linux /boot/vmlinuz-3.13.0–29-generic root=/dev/sda1

(…substitute your own kernel versions + disk partition, of course…)

grub> initrd /boot/initrd.img-3.13.0–29-generic

grub> boot

Once this routine has (hopefully) successfully booted your system, try a permanent fix via

# update-grub

# grub-install /dev/sda (…substitute your own disk partition…)

Leave a Reply