|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] reinstalling grub
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 28 July 2008 10:52:39 am Matthew Rosewarne wrote:
> > Please give me your thoughts on the following points:
> >
> > * Is there something I am missing in the above steps?
>
> You should probably be running grub-install in a chroot if you aren't
> already.
>
> How to set up and enter the chroot:
> mkdir /{chroot-dir}
> mount /dev/mapper/{VG-rootLV} /{chroot-dir}
> mount /dev/sda1 /{chroot-dir}/boot
> mount /dev /{chroot-dir}/dev -o bind
> mount /proc /{chroot-dir}/proc -o bind
> mount /sys /{chroot-dir}/sys -o bind
> chroot /{chroot-dir} /bin/sh
I'll try this at night. I was not explicitly using chroot.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQCVAwUBSI3fdELG/oYII0YuAQLSmQP/WPWxZb4lq2k3yonHAw2qOdDqR2UIoSr2
f0YRkOMaF/ARv0gD8imU31Th2/1f2ktEXwtoUEu3ujIzxMt4S6poZQE6H2LX/Pc1
JrAhQ/MKcDzx+jZVPA/G5cO/leVhGSRGsbeWxFy6ZY6QpSgsDWqUuh2KH8SN1fH2
03qimRJeIkU=
=3DUv
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQCVAwUBSI3ftULG/oYII0YuAQLz+wP9H0x1K1q9GkOivWCP3uHcpIAXEUQwMu13
a0bMecBndKWR+K6ghx6TKJZO/HhKhWTXC7hsGZA/Jk4a3aZlU9VcNn7LgI4HDCHn
1Bd6l3/10sBGCc6VnlXbrd7ZjNdlm7h/cl0JEKCPBsT5zIiWn/yD1xFo2KCsTiBy
Mak4NY5kuhU=
=VaQY
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|