No bootable partition after Ubuntu install
Doctor Who
whodoctor at gmail.com
Sun Apr 6 21:55:18 UTC 2008
On Sun, Apr 6, 2008 at 5:05 PM, Karl Larsen <k5di at zianet.com> wrote:
>
> Doctor Who wrote:
> > On Sat, Apr 5, 2008 at 6:51 PM, Karl Larsen <k5di at zianet.com> wrote:
> >
> >> Doctor Who wrote:
> >> >> To add to that, if I mount /dev/sda1 locally and then look for
> >> >> /boot/grub/stage1, it *is* there. Just not being seen.
> >> >>
> >> >>
> >> >
> >> > I take that back...it's not there. That was a fat-finger mistake and
> >> > I was looking at that from my desktop. So grub is not there.
> >> >
> >> > desktop:/mnt/tmp/boot # ls -al
> >> > total 10576
> >> > drwxr-xr-x 2 root root 4096 2008-03-19 17:44 .
> >> > drwxr-xr-x 21 root root 4096 2008-04-05 11:56 ..
> >> > -rw-r--r-- 1 root root 422387 2008-03-12 21:43 abi-2.6.24-12-generic
> >> > -rw-r--r-- 1 root root 79746 2008-03-12 21:43 config-2.6.24-12-generic
> >> > -rw-r--r-- 1 root root 7353114 2008-03-19 17:29
> >> > initrd.img-2.6.24-12-generic.bak
> >> > -rw-r--r-- 1 root root 103204 2007-09-28 06:06 memtest86+.bin
> >> > -rw-r--r-- 1 root root 903816 2008-03-12 21:43 System.map-2.6.24-12-generic
> >> > -rw-r--r-- 1 root root 1909528 2008-03-12 21:43 vmlinuz-2.6.24-12-generic
> >> >
> >> >
> >> I think he needs to find his /boot/grub/menu.lst and add to that this:
> >>
> >> title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
> >> root (hd0,0)
> >> kernel /boot/vmlinuz-2.6.22-14-generic
> >> root=UUID=a9c1cb61-ddfd-44f6-88b
> >> 0-6dc976daf9ca ro single
> >> initrd /boot/initrd.img-2.6.22-14-generic
> >>
> >> This should let you boot your Ubuntu. Then look at /boot/grub/menu.lst
> >> on it and change the above for what you have.
> >>
> >> Karl
> >>
> >>
> >
> > It doesn't appear that I'm able to 'find' the /boot/grub/menu.lst on
> > the Ubuntu install. As you can see from the output above that file
> > does not exist. Grub doesn't seem to be there at all.
> >
> > So in that case, do I need to great a 'grub' directory in '/boot' and
> > then a menu.lst file containing the content outlined above?
> >
> > Thanks.
> >
> >
> Did you install Ubuntu and tell the loader NOT TO install grub? If
> not you need too much detailed help to ever get this done. Here is
> another try.
>
> On your master Linux that has grub, open a terminal and type this:
>
> sudo mount -t ext3 /dev/sda1 /mnt
>
> If that completes then go to /mnt/boot/grub/ and see it there is a
> menu.lst there. If so do as I suggested. If not show us what you see at
> /mnt/.
>
>
>
>
> Karl
>
Yes, I do have a /boot/grub/menu.lst there now. So I've gotten myself
to a point that I can select Ubuntu from the GAG boot loader, but I'm
then presented with a 'grub>' prompt.
I then do a "root (hd0.0)" followed by a "setup(0,0)" which completes
succesfully. I then try to "boot" from that point and it says the
kernel must first be loaded, so I then enter the info for both kernel
and initrd and *then* type 'boot' which gets me to a point where I see
the system booting up but then it hangs a few minutes down the line
with no discernable progress.
Rebooting from that point and choosing to boot Ubuntu again takes me
straight to a 'grub>' prompt.
Ideas from here?
More information about the ubuntu-users
mailing list