Grub does not want to boot my Ubuntu

Joel Bryan Juliano joelbryan.juliano at gmail.com
Tue Feb 27 08:13:25 UTC 2007


On 2/26/07, Joel Bryan Juliano <joelbryan.juliano at gmail.com> wrote:
>
> On 2/26/07, N. Spohrer <nicolai_spohrer at gmx.de> wrote:
> > golfer schrieb:
> > > Use your live cd to mount and edit /boot/grub/menu.lst and /etc/fstab.
> > >  You have to change the old partition numbers to the new ones.  If you
> > > still had the lvm type partition designations, then replace them with
> > > /dev/sda<partition#> instead.  For tips on editing fstab, just do "man
> > > fstab".
> > >
> > > Also, be aware that the grub menu you get when you boot can be
> > > changed.  This is helpful if you guessed the wrong numbers when you
> > > edited the /boot/grub/menu.lst file.  Just hit the "e" key on the
> > > selected linux on the grub screen and it will give you a grub
> > > terminal, where you can use "e" to edit, and "b" to boot.  If it
> > > fails, just try <cntl><alt><del> and try a different number at the
> > > next grub boot.
> > >
> > > HTH,
> > >
> > hello.
> > I already changed the UUIDs (ls /dev/disk/by-uuid -la) and I think they
> > are correct. And of course I already tried to edit on boot - I think 10
> > times at least (you can exit back2grub with "ESC"). But all this didnt
> > work! And my "update-grub" doesnt run properly, it detects the wrong
> > partitions (cause in the chroot "mount" thinks sda11 is mounted on / and
> > sda6 three times... I just dont know why.
> >
> > Nicolai
> >
> >
>
> If sda6 is mounted on /, are you sure you are correct with chroot.
>
> try this,
>
> mount /dev/sda9 /target /bin/sh
> grub-install --root-directory=/ --recheck /dev/sda6 #or sda, depends
> on your setup.
> update-grub
>
> if It can't find your devices, try this
>
> cd /dev
> MAKEDEV generic
>
> Hope this helps,
> Joel


I'm sorry, I mixed mount and chroot altogether

it should be
...
mount /dev/sda6 /target
chroot /target /bin/sh
...

Just making sure everyone will get it right.

-- 
Stay away from Piracy, use Open Source.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070227/0eac376d/attachment.html>


More information about the ubuntu-users mailing list