[clug-talk] fixing grub oops typo

Gustin Johnson gustin at echostar.ca
Mon Jun 12 15:20:41 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The grub-install command should look more like this:

grub-install --root-directory=/mnt/hda2 --no-floppy /dev/hda

Gustin Johnson wrote:
> Boot knoppix, mount root partition (or /boot if it is different)
> Run grub-install
> 
> For me it looks like this:
> 
> mount /mnt/hda2
> grub-install --root-directory=/mnt/hda2 --no-floppy
> 
> Mitchell Brown wrote:
>>> Hi all,
>>>
>>> I've just (mistakenly) installed Windows Vista (wow, what a letdown -
>>> but thats another story). Anyways, it kindly decided to overwrite my MBR
>>> with "Windows Boot Loader". Great, except it doesn't detect my Ubuntu
>>> Dapper install.
>>>
>>> Now, I have no idea how to get my Grub back to make Ubuntu bootable
>>> again. As instructed, I tried the following command. To no avail.
>>>
>>>
>>>     rub> find /boot/grub/stage1
>>>      (hd0,5)
>>>
>>>     grub> root (hd0,5)
>>>      Filesystem type is ext2fs, partition type 0x83
>>>
>>>
>>>     grub> setup (hd0,5)
>>>      Checking if "/boot/grub/stage1" exists... yes
>>>      Checking if "/boot/grub/stage2" exists... yes
>>>      Checking if "/boot/grub/e2fs_stage1_5" exists... yes
>>>
>>>      Running "embed /boot/grub/e2fs_stage1_5 (hd0,5)"... failed (this is not fatal)
>>>      Running "embed /boot/grub/e2fs_stage1_5 (hd0,5)"... failed (this is not fatal)
>>>      Running "install /boot/grub/stage1 (hd0,5) /boot/grub/stage2 p /boot/grub/menu
>>>
>>>     .lst "... succeeded
>>>     Done.
>>>
>>>     grub>
>>>
>>>  
>>> Needless to say - that didn't work.
>>> So can anyone provide me with a quickfix, or do I have to reinstall Ubuntu?
>>>
>>> -- 
>>> pub 1024D/9091C422 02/05/2006 Mitchell Brown < mbgb14 at gmail.com
>>> <mailto:mbgb14 at gmail.com>>
>>>     Primary key fingerprint:  812B 94BC EA0D 345A CC1C 2ED9 F7F6 5CCF
>>> 9091 C422
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> clug-talk mailing list
>>> clug-talk at clug.ca
>>> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
>>> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
>>> **Please remove these lines when replying

_______________________________________________
clug-talk mailing list
clug-talk at clug.ca
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEjei5wRXgH3rKGfMRAgoIAJ9JXNmArOFI28tVhZtgUEqCK/4G+QCdHYKZ
zRQs/m/bY6sNuGShiIDB0U4=
=+MzT
-----END PGP SIGNATURE-----



More information about the clug-talk mailing list