/etc/motd
Everything you write in this file is shown as welcome banner when someone enters your into your box via ssh.
So sudo gedit /etc/motd :) enjoy!!!
Mar 18, 2008
Reinstall Ubuntu Grub Bootloader After Windows Wipes it Out
Here's the quick and easy way to re-enable Grub.
1) Boot off the LiveCD
2) Open a Terminal and type in the following commands, noting that the first command will put you into the grub "prompt", and the next 3 commands will be executed there. Also note that hd0,0 implies the first hard drive and the first partition on that drive, which is where you probably installed grub to during installation. If not, then adjust accordingly.
Reboot (removing the livecd), and your boot menu should be back.
1) Boot off the LiveCD
2) Open a Terminal and type in the following commands, noting that the first command will put you into the grub "prompt", and the next 3 commands will be executed there. Also note that hd0,0 implies the first hard drive and the first partition on that drive, which is where you probably installed grub to during installation. If not, then adjust accordingly.
$ sudo grub
> find /boot/grub/stage1
> root <the output of above command>
> setup (hd0)
> quit
Reboot (removing the livecd), and your boot menu should be back.
Labels:
Grub,
Linux-howto
3
comments
Subscribe to:
Posts (Atom)