SOLVED Re: Trusty LTS install does not boot
Tom H
tomh0665 at gmail.com
Thu Aug 14 13:07:27 UTC 2014
On Mon, Aug 11, 2014 at 3:10 PM, Kevin O'Gorman <kogorman at gmail.com> wrote:
> 1, Boot a live Linux disk. The desktop install from any recent *Ubuntu
should do nicely.
> 2. Open a terminal. The rest is all shell commands.
> 2. sudo -i # All the rest needs to be root, and this saves some typing
> 3. mount /dev/sd?? /mnt # where the ?? stands for the partition you want
to boot to by default.
> 4. mount --bind /dev /mnt/dev
"mount --rbind ..." is better in order to have "/dev/pts" in the chroot. I
don't know whether it still matters, but in the past you'd have errors
without it.
> 5. mount --bind /proc /mnt/proc
> 6. mount --bind /sys /mnt/sys
It's probably better to us "mount --rbind ..." because there are now many
subdirectories of "/sys" that are special mounts. I don't know whether
they're needed in a chroot but this is what Gentoo advises for its chroots.
> 7. mount --bind /srv /mnt/srv # You're now ready to chroot
Why "/srv"? You might or might not need it on your system but it's
definitely not needed on a default install.
> 8. chroot /mnt /bin/bash - # or accept the default shell
root's default shell.
> 9. update-grub # verify that it finds the stuff you want to boot
> 10. grub-install /dev/sd? # where the ? names the disk your system boots
from. May not be sda, depending. For me it was /dev/sdb
> 11. /sbin/shutdown -r now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140814/5a2dabca/attachment.html>
More information about the ubuntu-users
mailing list