[Bug 417209] Re: 9.10 Alpha 4 has no grub.cfg after install

David Favor david at davidfavor.com
Sat Aug 22 17:31:13 UTC 2009


Fixed... And what a can of worms.

This is a nightmare for first time Ubuntu users like me. I almost
switched back to Fedora or any other distro.

First point GRUB 1 shows as version 0.97 and GRUB 2 shows as version
1.96 which is extremely confusing.

I've tried a variety of fresh installs and upgrades. No combination
initializes GRUB 2 correctly.

Here's what I did manually to get a bootable system.

1) Boot LiveCD version and choose install to disk.

    This fails to produce a bootable system. Booting produces black
screen with no error messages as grub.cfg is missing.

2) Boot LiveCD version and choose boot without changing system.

3) Accessories -> Terminal

4) sudo bash

5) fdisk -l (to find disk in question, such as /dev/sda1)

6) mount /dev/sda1 /mnt

7) mount --bind /dev /mnt/dev

8) chroot /mnt

9) update-grub

10) grub-install /dev/sda (note: sda rather than sda1 to correctly write
MBR)

11) sync (if you miss this fsck seems run on first boot to recover
unsynced data, although umount should do this for you)

12) umount /mnt/dev

13) umount /mnt

14) sync (try to avoid fsck again)

15) reboot

-- 
9.10 Alpha 4 has no grub.cfg after install
https://bugs.launchpad.net/bugs/417209
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list