Mailinglist Archive: opensuse (3513 mails)

< Previous Next >
Re: [opensuse] Creating a boot CD
  • From: Arun Khan <knura@xxxxxxxxx>
  • Date: Sun, 11 Jan 2009 23:54:59 +0530
  • Message-id: <200901112354.59659.knura@xxxxxxxxx>
On Saturday 10 Jan 2009, Philip Burness wrote:
Many years ago it was possible to create a boot (floppy) disk for
those times when loading windowz after Linux your boot partition was
lost. Is it possible to do this still only create a boot CD disk with
your image on so you can re- load grub?

I guess, the real question is, is it possible to reinstall grub with a
LiveCD and the answer is yes.

Use knoppix or some other LiveCD that has an unmodified "grub-install"
(e.g. ubuntu, CentOS)

1. mount the partition that has /boot (e.g. /dev/sda1 is mounted
on /mnt)
2. As root do "grub-install --root-directory=/mnt /dev/sda"
3. This will re-install GRUB on the MBR of the first disk.

Reboot and you should see your familiar grub menu.

HTH
--
Arun Khan

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References